Part Number:CC2541
hi Team
Which I/O can be configured to output low when the CC2542 powered on?
Thanks
Part Number:CC2541
hi Team
Which I/O can be configured to output low when the CC2542 powered on?
Thanks
Part Number:RM57L843
Hi,
I've posted on this topic a year ago, I though it was solved, but its back.
The symptom is defined such that: I can write a buffer stored in RAM to FLASH Bank 7 using the Fapi. After the write is complete, if I manually verify the FLASH contents by simple word-wise comparison, or use Fapi_doVerify, I get an verification failure and I also notice that the memory browser is not updated to reflect the values that should be written to FLASH. However when I reset the target, Bank 7 shows that it was written correctly and can be verified as successful.
Here is the approximate pseudo-code:
1. Reset target
2. Init the FLASH, etc.
3. Read 4096 bytes from flash at 0xF020000 into RAM at 0x08007800 (yes its aligned)
4. In this example the value at 0xF0200000 is 0xAABB1235.
5. The RAM buffer at 0x08007800 also shows 0xAABB1235 in the memory browser.
6. Modify 0x08007800 from 0xAABB1235 to 0xAABB1234
7.Reprogram the entire buffer, 8 bytes at a time using Fapi_issueProgrammingCommand
8.After each 8 bytes wait for Fapi_checkFsmForReady and ensure the return code from the command is Fapi_Status_Success
9. After all 4096 bytes have been programmed, call Fapi_doVerify, which returns a Fapi_Error_Fail. I also call Fapi_flushPipeline before any reads. Please note that the status from Fapi_doVerify shows a failure at exactly the address with exactly the data in the above steps. It is clear from this that even Fapi is reading stale data.
10. Check in Memory browser, FLASH is not updated.
11. Reset target (Just a simple CPU Reset from CCS)
12. Check memory browser and 0xF0200000 shows 0xAABB1234, this indicates that the FLASH was written correctly!.
13. Fapi_doVerify returns success now, (without another programming attempt).
I need to know what I'm doing wrong. This seriously looks like some sort of cache coherency problem, where the FLASH read by the RM57 appear to be stale cached values prior to FLASH write.
We use this same FLASH driver, with some small #define differences on RM48, and have so for about 5 years now, without any recorded faults in testing.
Can anyone please suggest anything I need to look at?
Thanks
Stomp!
Part Number:TPS763-Q1
Hi,
Currently I got a question from customer that TPS763-Q1 datasheet mentioned 0.3-10 ESR is needed for a 4.7uF Output capacitor. I checked our part with Rohm's BU33SD2MG(currently on customer's board) and our device need much more ESR than Rohm's. This being said customer should series a resistor at the output(ceramic capacitor's ESR not enough) in order to make sure the stability in all conditions. See below screenshot I take from Rohm's datasheet(First pic) and our datasheet(second pic).
I also checked other LDOs and found that no one specifically pointed out the ESR in application circuit like our TPS763-Q1 did(See below picture). Why TPS763-Q1 requires more ESR compare to others especially Rohm's BU33SD2MG? Can you help this in detail? Thanks
Part Number:CC2642R
Tool/software: TI-RTOS
Hello,
Im using CC26x2 MCU with SDK 2.10.0.44.
In my project I should connect sensor of gas rate and the data output given by pulse. IO want to count that pulse.
I want to connect the output line of the sensor to DIO and connect the DIO as timer input. By that I will get the tick every 1 sec.
Can anyone guide me how to configure timer, set the timer clock (input) as DIO ? and how to get the ticks ?
How can i set GPTM ??
Thanks!
Part Number:BQ35100
Hello,
I want to use the BQ35100 with primary cells from ELECTROCHEM. Specifically the "CSC93 SERIES: 3B0024" (see attached datasheet). The battery is not listed in the "Battery Chemistry List". What will be closet battery chemistry i can select from the available list ?
Note : I already have downloaded the latest "Battery Chemistry" list (635) (Please visit the site to view this file)
Part Number:OPT8241
Dear/Madam,
I am following the instruction in TI Designs TIDUBL5A People Counting for Demand Controlled ventilation Using 3D Time-of-Flight (ToF) reference design. But I am not able to get through the section 6.10 install PCL successfully. Trying to run the following sudo dpkg -i PCL-1.7.2-Linux.deb and got the error below:
Even if i manually compile the script using ./install_pcl.sh, it give me ton of error.
I would like to check if you can share the completed uSDcard image so that i can directly burn the image to get the demo work?
Best regards,
kpk
Part Number:CC2531
We have a number of devices that employ clients supporting the ON_OFF cluster and I'm trying to work out how to get these to generate a command when the respective button is pressed. I had expected that I could configure a unicast binding from the remote device to the gateway, and when the button was pressed, the On or Off command would be sent, but that doesn't appear to work (I've tried this on a few devices).
Can anyone comment on how this is meant to work.
Part Number:MSP430G2744
Hello!
We have sensor that controlled by MSP430G2744. It connected to our microcontroller Nordic nRF52832 via UART via next 2 IOs: P3.5/UCA0RXD/UCA0SOMI & P3.4/UCA0TXD/UCA0SIMO.
We see that P3.4/UCA0TXD/UCA0SIMO is constantly damaged during time. If we doing constantly on/off to power of the board this port can get damaged very fast. We asked the question at nordic forum -and they
think that maybe a Nordic get phantom powered by MSP430G2744 via IO that connected to it.
We tried to isolate the IOs between nRF and MSP - with buffers and/or series resistors/LPFs, diodes but they only made longer the period that device worked. If before the device worked one day, after different fixes it could hold up with constant power on/off switches about 2 weeks. But at the end it get damaged.
Can you help us to protect the MSP IOs so it will no damaged?
Thank you
Part Number:TMS320F28069
Hello,
I'm trying to debug run the C2000Ware CLA sample project "acos".
Could you please advise how to debug-run the CLA code many times?
It seemed to fail handshaking between the C28 CPU and CLA.
(CCS740, C2000Ware_1_00_04_00, TMDX28069USB).
Import [C:\ti\c2000\C2000Ware_1_00_04_00\device_support\f2806x\examples\cla\acos].
Build, push the bug button.
Connect CLA, Load the CLA code symbols.
Hit F6 many times. Finally the expression y[] is filled by zeros. -- NG. From the response I'm afraid of a handshake issue.
As long as I try, This occurs when the program counter points the MSTOP instruction. If I re-initialize the debug procedure and press F8=run before the MSTOP line, the PC restarted from the __mdebugstop().
Part Number:TMS320F28377D
Hi,
In spruhm8g.pdf ,page 1726, One-Shot (OSHT) section,
It mentions that " Additionally, when a one-shot trip event occurs, the one-shot trip event flag (TZFLG[OST]) is set and a
EPWMx_TZINT interrupt is generated if it is enabled in the TZEINT register and PIE peripheral. A corresponding flag for the event that caused the OST event is also set in register TZOSTFLG".
TZFLG[OST] and TZOSTFLG ,Which flag occurs earlier?
thanks,
best regards,
Simen
Part Number:LM5175
I need to use external Sync of 250KHz and move to 255KHz. what would be the expected settling time to the new switching frequency?
Dror
Part Number:TPA3131D2
Hello all,
Regarding the value of the bulk capacitors required for PVCC:
In the product's PDF it is mentioned that (page 22)
"Select the bulk capacitors at the PVCC inputs for proper voltage margin and adequate capacitance to support the power requirements. In practice, with a well-designed power supply, two 100-μF, 50-V capacitors should be sufficient"
There is two versions of output power - 2X4W and 2X25W (TPA3131D2 or TPA3132D2)
The bulk capacitor value recommendation doesn't say for which power it refers to...
If I use only 2X4W, and components size is an issue in my design - Is there any way to calculate the actual required capacitance?
Thanks
Nir
Part Number:TPS62170
Hi Chris,
Alas, neither moving to TPS62160DSG nor changing the capacitance aided with preventing the failure at (minus) -50c degrees.
Do you have any suggestions regading what could cause the chip to fail specificly at low temperature?
Could you pls. guide me to a solution preventing the phenomena?
BR,
Itay
Part Number:DLP4500
Hi everyone,
I am a little confused about the pixel array of DLP 4500 now. Why does it adopt a diamond pixel array? What is the advantage of the diamond pixel array compared with the orthogonal pixel array?
Thanks.
Mei
Part Number:TMS320F28377D
Hi ,
I use eCAP1,eCAP2,eCAP3 to detect the zero-crossing of 3-phase power supply system.
Normally, the cap1, cap2, cap3, and cap4 values in the cap register are between 0x00180000 & 0x001B0000.
However, when the slope of the input signal is gentle, there is a chance that ecap will malfunction.
When the malfunction occurs, no noise is observed from the oscilloscope.
From the CCS debug, it will capture noise such as CAP1=0 and CAP2=1.
Any idea about why the capture register equal zero noise occurs when the signal slope is flat?
-------------------------------------------------------------------------------------
Red: error detect trigger Yellow: eCAP input signal
When an eCAP error occurs, store the CAP1, CAP2, CAP3, and CAP4 values in the cap register into the Errcap buffer to see if it captures noise.
In Errcap, some CAP value is zero.
CAP1 Polarity is rising edge,
CAP2 Polarity is Falling edge,
CAP3 Polarity is rising edge,
CAP4 Polarity is Falling edge,
------------------------------------------------------
best regards,
Simen
Part Number:DRV8323
Hi There,
I had the same problem as a previously solved in an older post but in the solved post there was no description of what was done to solve the issue.
Essentially I am writing to the DRV registers to set them up and then reading the information back but i only read 0x0000 when the enable pin is low and 0xFFFF when its high. All registeres seem to respond with 0x0000. I do not know if its because my control words are setup incorrectly, if its an SPI library quirk, if its hardware related or if its pure stupidity.
I am using the Mbed SPI libraries. with the SPI set to 1Mhz clock, 16 bit words, clock polarity : clock active low, clock in phase with data. I also wait 1 -2 us between each control word (raising and lowering nCSC)
1) Is the ENABLE pin set to a logic high?
Yes
2) How fast are you running the SPI?
1 Mhz
3) What is the pullup value on SDO?I
t was 100k then changed to 10k, not difference noticed.
4) Can you capture SDO with a scope instead of a logic analyzer?
Not yet will try tho. Currently using a Nucleo F746ZG and Analyzer2Go to analyze the bit on the SPI pins.
I can post a snap shot of the Analyzer data if you would like to see that. and I have attached my code at the below for your interest.
(Please visit the site to view this file)
#include "mbed.h"
#include "DRV8323.h"
#include "stdbool.h"
#include "stdint.h"
//#include "stm32f4xx_hal.h"
DigitalOut myLED1(LED1);
DigitalOut myLED2(LED2);
DigitalOut myLED3(LED3);
Serial pc(USBTX, USBRX); // setup USB interface to host terminal
//SPI device(SPI_MOSI, SPI_MISO, SPI_SCK);
DigitalOut SSEL1(PE_4);//SSEL1 or CS1
//DigitalOut SSEL2(PE_7);//SSEL2 or CS2
SPI DRV8323_SPI(PE_6, PE_5, PE_2);
//default values for the DRV8323 registers
uint16_t DRV8323regDrvCtrl =
0 << 9 | //DIS_CPUV
1 << 8 | //DIS_GDF
0 << 7 | //OTW_REP
0 << 5 | //PWM_MODE
0 << 4 | //1PWM_COM
0 << 3 | //1PWM_DIR
0 << 2 | //COAST
0 << 1 | //BRAKE
0; //CLR_FLT
uint16_t DRV8323regGateDrvHS =
3 << 8 | //LOCK
11 << 4 | //IDRIVEP_HS
15; //IDRIVEN_HS
uint16_t DRV8323regGateDrvLS =
1 << 10 | //CBC
2 << 8 | //TDRIVE
15 << 4 | //IDRIVEP_LS
15; //IDRIVEN_LS
uint16_t DRV8323regOcpCtrl =
0 << 10 | //TRETRY
1 << 8 | //DEAD_TIME
1 << 6 | //OCP_MODE
2 << 4 | //OCP_DEG
0; //VDS_LVL
uint16_t DRV8323regCsaCtrl =
1 << 10 | //CSA_FET
1 << 9 | //VREF_DIV
0 << 8 | //LS_REF
2 << 6 | //CSA_GAIN
0 << 5 | //DIS_SEN
0 << 4 | //CSA_CAL_A
0 << 3 | //CCSA_CAL_B
0 << 2 | //CCSA_CAL_C
3; //CSEN_LVL
void DRV8323_initiate_SPI(void);
uint16_t DRV8323_readSpi(uint8_t regAdr);
void DRV8323_writeSpi(uint8_t regAdr, uint16_t regVal);
void DRV8323_setupSpi(void);
DigitalIn mybutton(USER_BUTTON);
int main()
{
volatile uint16_t temp;
myLED1= 1;
myLED2= 0;
myLED3= 1;
DRV8323_initiate_SPI();
wait_us(10);
while(1) {
if (mybutton == 1) { // Button is pressed
myLED3= !myLED3;
DRV8323_setupSpi();
//wait(0.2); // 200 ms
}
//DRV8323_writeSpi(ADR_DRV_CTRL, DRV8323regDrvCtrl);
wait_us(1);
temp = DRV8323_readSpi(ADR_FAULT_STAT);
pc.printf("WHOAMI register = 0x%X\n", temp);
myLED1 = !myLED1;
myLED2 = !myLED2;
wait_us(50);
}
}
void DRV8323_initiate_SPI()
{
SSEL1 = 1;
// Setup the spi for bit data, high steady state clock,
// second edge capture, with a 1MHz clock rate
DRV8323_SPI.format(16,3);
DRV8323_SPI.frequency(1000000);
}
uint16_t DRV8323_readSpi(uint8_t regAdr)
{
uint16_t controlword = 0x8000 | ((regAdr & 0x7) << 11); //MSbit =1 for read, address is 3 bits (MSbit is always 0), data is 11 bits
// Select the DRV device by setting chip SSEL1 = 0 low
SSEL1 = 1;
wait_us(1);
SSEL1 = 0;
uint16_t whoami = DRV8323_SPI.write(controlword);
wait_us(2);
SSEL1 = 1;
DRV8323_SPI.clear_transfer_buffer();
return(whoami);
}
void DRV8323_writeSpi(uint8_t regAdr, uint16_t regVal)
{
uint16_t controlword = (regAdr & 0x7) << 11 | (regVal & 0x7ff); //MSbit =0 for write, address is 3 bits (MSbit is always 0), data is 11 bits
SSEL1 = 1;
SSEL1 = 0;
DRV8323_SPI.write(controlword);
wait_us(1);// wait atleast 400 ns between words before pulling SSEL high
SSEL1 = 1;
//HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13, GPIO_PIN_RESET);
// HAL_SPI_Transmit(&hspi3, (uint8_t*)(&controlword), 1, 1000);
// HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13, GPIO_PIN_SET);
DRV8323_SPI.clear_transfer_buffer();
return;
}
void DRV8323_setupSpi()
{
volatile uint16_t setupbuffer[7];
// HAL_GPIO_WritePin(GPIOB, GPIO_PIN_12, GPIO_PIN_SET); //PB12 is enable to motor controller
//In TI sample firmware www.ti.com/.../tida-00774, DRV8323regGateDrvHS is written first, and it is written twice
//In www.ti.com/.../boostxl-drv8323rs, the 5 control register are just written once in order.
DRV8323_writeSpi(ADR_DRV_CTRL, DRV8323regDrvCtrl);
wait_us(1);
DRV8323_writeSpi(ADR_GATE_DRV_HS, DRV8323regGateDrvHS);
wait_us(1);
DRV8323_writeSpi(ADR_GATE_DRV_LS, DRV8323regGateDrvLS);
wait_us(1);
DRV8323_writeSpi(ADR_OCP_CTRL, DRV8323regOcpCtrl);
wait_us(1);
DRV8323_writeSpi(ADR_CSA_CTRL, DRV8323regCsaCtrl);
wait_us(1);
setupbuffer[0] = DRV8323_readSpi(ADR_FAULT_STAT);
wait_us(1);
setupbuffer[1] = DRV8323_readSpi(ADR_VGS_STAT);
wait_us(1);
setupbuffer[2] = DRV8323_readSpi(ADR_DRV_CTRL);
wait_us(1);
setupbuffer[3] = DRV8323_readSpi(ADR_GATE_DRV_HS);
wait_us(1);
setupbuffer[4] = DRV8323_readSpi(ADR_GATE_DRV_LS);
wait_us(1);
setupbuffer[5] = DRV8323_readSpi(ADR_OCP_CTRL);
wait_us(1);
setupbuffer[6] = DRV8323_readSpi(ADR_CSA_CTRL);
wait_us(1);
pc.printf("ADR_FAULT_STAT = %x\n", setupbuffer[0] );
pc.printf("ADR_VGS_STAT = %x\n", setupbuffer[1] );
pc.printf("ADR_DRV_CTRL = %x\n", setupbuffer[2] );
pc.printf("ADR_GATE_DRV_HS = %x\n", setupbuffer[3] );
pc.printf("ADR_GATE_DRV_LS = %x\n", setupbuffer[4] );
pc.printf("ADR_OCP_CTRL = %x\n", setupbuffer[5] );
pc.printf("ADR_CSA_CTRL = %x\n", setupbuffer[6] );
return;
}
Part Number:FDC2214EVM
Hello,
I'd love to use four to five FDC2214EVM together to measure 16 channels at the same time. Is it possible to connect/synchronize several EVMs to a computer or a data logger? Is it better to use GUI via micro-usb or data logger via outputs (J3)?
Thank you in advance,
Hongliang
Part Number:MSP-EXP430FR6989
Tool/software: Code Composer Studio
I have a unique situation where the EnergyTrace switching regulator is actually causing noise on sensitive sensor lines of my project. I need to disable the switching power supply on the EnergyTrace section of the development board. Is there a way to do this?
If I'm understanding the schematic correctly, I believe the development board has the ability to switch between the EnergyTrace switcher (T101) power and the linear regulator (IC101) via a solid-state switch (IC103). Is this true? If so, how do I switch between the two power sources? Will switching to the linear regulator keep the switching regulator from switching?
I'm using the MSP-EXP430FR6989, but I'm guessing my questions are somewhat universal for all of the EnergyTrace enabled debuggers.
Part Number:DRV8711EVM
I'm trying to get my DRV8711EVM working. The D3 LED flashes, D2 never comes on. When I hit the Nsleep button, it turns green (not sure if that means anything), but D3 continues to flash. While I followed the instructions very carefully, I have no way to tell if I'm communicating with the device or not. How do I know if I'm even getting register access to the MSP430? Needless to say, I can't get the motor to turn. Any help would be appreciated. Thanks.
Tool/software: Linux
HI
I use the board GP evm AM5728 , I want to run linux on cortex-A15 that enable dsp c66x and load a .out file to run it .
Thanks,