Quantcast
Channel: Forums - Recent Threads
Viewing all 262198 articles
Browse latest View live

TIDA-00701: Raise reference design output voltage from 24V to 28V

$
0
0

Part Number:TIDA-00701

Hi,

I have been looking at the TIDA-00701 (100W, 24V) power supply reference design, and was wondering if it's possible to change the output from 24V to 28V? If so, which parts would be affected? 

Thank you in advance,

Jeron


TPS40210: Fixed Off time application?

$
0
0

Part Number:TPS40210

I am looking for an upgraded PWM to the UCC2800 with an integrated soft-start and enable circuit and was able to find the TPS40210. The current UCC2800 is used in a fixed off time circuit application as is shown in an older application note. Would you know of any reason that the TPS40210 would not work in a fixed off time application? Also, there are two resistors internal to the TPS40210 that create the comparator equivalent voltage (2.65V on the UCC2800), is it possible to get values for those to calculate the timing if this component would support the fixed off time application?

Thanks!

Russell

CC2640: CC2640

$
0
0

Part Number:CC2640

Newbie question; I want to put my data in the advertising message (broadcast) so I do not need the connection overhead to get on a data channel.  However, I am worried that someone may get closer to my Central, spoof my advertising message and send bogus data to my Central.  Yes, I said 'newie'.  Assuming I can pair and bond at least once, is there a way to encrypt my broadcasted attributes so that my target Peripheral will know it is not the desired Central sending the message, or do I have to connect and jump to data channel to get my encrypted data sent?

TL441: Is the Figure 15 on the datasheet actually reproducible?

$
0
0

Part Number:TL441

Hi there,

I built the same circuit shown on Fig 15 but couldn’t exhibit such a good linearity (except for between 0.01V and 0.5V DC) so i got two questions:

1. Would you give me some examples for variable resistors parameters?

2. Is this datasheet actually reproducible? I doubt such a good linearity of this shown figure because I couldn’t reproduce it.

Is anyone use TL441 like this?
Thanks in advance.

DM385: Debugging M3 core for camera

$
0
0

Part Number:DM385

I am trying to debug my camera driver in the McFW from the latest IPNC_RDK and am following the instructions from a previous thread.  My problem is that the code refers to these cores as VIDEO-M3 and VPSS-M3 which run the images ipnc_rdk_fw_m3video.xem3 and ipnc_rdk_fw_m3vpss.xem3, respectively.  I know my driver is compiled into the latter image and so runs on the VPSS-M3 core.  However, the CCXML file simply refers to these cores as DUCATI_M0/Cortex_M3_RTOS and DUCATI_M1/Cortex_M3_ISS.  Which processor is running which image, and how could I have figured this out?

TPS562219A: Help to choose correct product

$
0
0

Part Number:TPS562219A

We are developing a product, product is medical related, IoT based. Input power to the product is 12 v DC via good quality adapter, At the circut side we need 3.3 v DC fixed output voltage and 1.5 Amp to 2 Amp current (1.5 or 2 Amp) , so 12 v - 3.3 v = 8.7 V , so we have decided instead of LDO  , switching regulator will be better so, according to our requirement which product should we use. * It is a medical product so it will go through the tests of EMI , EMC, FDA , CE etc so according to this please suggest product*

UCC28070: How to build synchronous shifted clock

$
0
0

Part Number:UCC28070

Hi 

want to use three UCC28070 cascaded to form 6-leg interleaved PFC, is there any verified circuit to get 120 degree shifted clock?

Thanks

Compiler/TMS320F28069: O4 optimization - error (O3 compiles fine)

$
0
0

Part Number:TMS320F28069

Tool/software: TI C/C++ Compiler

I am facing an interesting issue with the TI compiler.

My code (a communication hub) compiles fine with O3 but not with O4.  The issue seems to be related to the SPI and Gpio header files provided by TI. 

How should this issue be avoided/solved?

Please see below:

<Linking>
error: symbol "memset" redeclared with incompatible type:
"int [ExplSign]()"
in "../SOURCE/inc/DpDiag.c" at line 132 and:
"void *(void *, int, unsigned long)"
in
"C:/Users/212419857/Desktop/RR_StringMaster/RR_StringMaster/SOURCE/inc/strin
g_master.h" at line 149)
error: symbol "GpioDataRegs" redeclared with incompatible type:
"volatile struct GPIO_DATA_REGS
_GPADAT off: 0 (union GPADAT_REG)
_GPASET off: 32 (union GPADAT_REG)
_GPACLEAR off: 64 (union GPADAT_REG)
_GPATOGGLE off: 96 (union GPADAT_REG)
_GPBDAT off:128 (union GPBDAT_REG)
_GPBSET off:160 (union GPBDAT_REG)
_GPBCLEAR off:192 (union GPBDAT_REG)
_GPBTOGGLE off:224 (union GPBDAT_REG)
_rsvd1 off:256 (Uint16[8])
_AIODAT off:384 (union AIODAT_REG)
_AIOSET off:416 (union AIODAT_REG)
_AIOCLEAR off:448 (union AIODAT_REG)
_AIOTOGGLE off:480 (union AIODAT_REG)"
in
"C:\Users\212419857\Desktop\RR_StringMaster\RR_StringMaster\device\inc\F2806
x_Gpio.h" at line 333 and:
"volatile struct GPIO_DATA_REGS
_GPADAT off: 0 (union GPADAT_REG)
_GPASET off: 32 (union GPADAT_REG)
_GPACLEAR off: 64 (union GPADAT_REG)
_GPATOGGLE off: 96 (union GPADAT_REG)
_GPBDAT off:128 (union GPBDAT_REG)
_GPBSET off:160 (union GPBDAT_REG)
_GPBCLEAR off:192 (union GPBDAT_REG)
_GPBTOGGLE off:224 (union GPBDAT_REG)
_rsvd1 off:256 (Uint16[8])
_AIODAT off:384 (union AIODAT_REG)
_AIOSET off:416 (union AIODAT_REG)
_AIOCLEAR off:448 (union AIODAT_REG)
_AIOTOGGLE off:480 (union AIODAT_REG)"
in
"C:\Users\212419857\Desktop\RR_StringMaster\RR_StringMaster\device\inc\F2806
x_Gpio.h" at line 333)
error: symbol "SpiaRegs" redeclared with incompatible type:
"volatile struct SPI_REGS
_SPICCR off: 0 (union SPICCR_REG)
_SPICTL off: 16 (union SPICTL_REG)
_SPISTS off: 32 (union SPISTS_REG)
_rsvd1 off: 48 (Uint16)
_SPIBRR off: 64 (Uint16)
_rsvd2 off: 80 (Uint16)
_SPIRXEMU off: 96 (Uint16)
_SPIRXBUF off:112 (Uint16)
_SPITXBUF off:128 (Uint16)
_SPIDAT off:144 (Uint16)
_SPIFFTX off:160 (union SPIFFTX_REG)
_SPIFFRX off:176 (union SPIFFRX_REG)
_SPIFFCT off:192 (union SPIFFCT_REG)
_rsvd3 off:208 (Uint16[2])
_SPIPRI off:240 (union SPIPRI_REG)"
in
"C:\Users\212419857\Desktop\RR_StringMaster\RR_StringMaster\device\inc\F2806
x_Spi.h" at line 144 and:
"volatile struct SPI_REGS
_SPICCR off: 0 (union SPICCR_REG)
_SPICTL off: 16 (union SPICTL_REG)
_SPISTS off: 32 (union SPISTS_REG)
_rsvd1 off: 48 (Uint16)
_SPIBRR off: 64 (Uint16)
_rsvd2 off: 80 (Uint16)
_SPIRXEMU off: 96 (Uint16)
_SPIRXBUF off:112 (Uint16)
_SPITXBUF off:128 (Uint16)
_SPIDAT off:144 (Uint16)
_SPIFFTX off:160 (union SPIFFTX_REG)
_SPIFFRX off:176 (union SPIFFRX_REG)
_SPIFFCT off:192 (union SPIFFCT_REG)
_rsvd3 off:208 (Uint16[2])
_SPIPRI off:240 (union SPIPRI_REG)"
in
"C:\Users\212419857\Desktop\RR_StringMaster\RR_StringMaster\device\inc\F2806
x_Spi.h" at line 144)

>> Compilation failure

>> Compilation failure


BQ34Z100-G1: Reset Command

$
0
0

Part Number:BQ34Z100-G1

In reading the data sheet for the fuel gauge part b134z100-G1 it is not clear if the msb or the lsb of the sub command is sent first.

 

Is writing 0x00, 0x41 and 0x00 to the device the correct sequence to write to perform device reset?

 

Or should it be 0x00,0x00, 0x41?

 

Thanks,

Roger

MSP430FR2633: MSP430FR2633

$
0
0

Part Number:MSP430FR2633

Hi,

I am currently trying to use the the captivate MCU development kit to communicate with our another host MSP430F149 controller.

I am using the 8 button of the BSWP demo bard to mimic our touch display.

I know that with the captivate design tool, you can select either UART, BulkI2C or register I2C communication mode.

As per your design guide, if we want to use the captivate microcontroller MSP430FR2633 with the another host processor, the ideal communication mode will be  the Register I2C mode.

Actually my question is, if we do not want to use the register I2C mode and if we want to use the MSP430FR2633 as the Slave to our master MSP430F149 micro, how should initialize the MSP430FR2633 as the slave ?? 

The whole idea is that our host micro MSP430F149 read the captivate MCU MSP430FR2633  at every 33 millisecond, and depending upon the button touched our host micro will do different functions.

To read the data from MSP430FR2633, the MSP430F149 sent the slave address of the MSP430FR2633 with READ byte. Once the captivate MSP430FR2633 recevied the address it will transmit the six bytes of data with information of which button recently touched.   

CCS/LAUNCHXL-CC26X2R1: launchpad debugging fails AND Flash programmer 2 fails to detect the launchpad

$
0
0

Part Number:LAUNCHXL-CC26X2R1

Tool/software: Code Composer Studio

running the SBP_OAD example, on CCS 7.4, I'm able to single-step a few instructions, but letting the debugging continue (F8), the debugging fails with this message:

Cortex_M4_0: GEL Output: Memory Map Initialization Complete.
Cortex_M4_0: GEL Output: Board Reset Complete.
Cortex_M4_0: JTAG Communication Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 7.0.100.0) 
Cortex_M4_0: Failed to remove the debug state from the target before disconnecting.  There may still be breakpoint op-codes embedded in program memory.  It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

I'm also having problem detecting the launchpad on the "flash programmer 2" application. I get this message after activating the APP:




running xdsdfu I get this:

C:\ti\ccsv7\ccs_base\common\uscif\xds110>xdsdfu.exe -e

USB Device Firmware Upgrade Utility
Copyright (c) 2008-2015 Texas Instruments Incorporated.  All rights reserved.

Scanning USB buses for supported XDS110 devices...


<<<< Device 0 >>>>

VID: 0x0451    PID: 0xbef3
Device Name:   XDS110 Embed with CMSIS-DAP
Version:       2.3.0.11
Manufacturer:  Texas Instruments
Serial Num:    L11002N2
Mode:          Runtime

Found 1 device.

C:\ti\ccsv7\ccs_base\common\uscif\xds110>

F28M35H52C: Attempting to connect a UART to RS485 converter

$
0
0

Part Number:F28M35H52C

Hello,

I am working with the TI F28M35H52Cexperimenter kit (including the controlCARD Release 2.0 and the Docking-Stn USB-EMU R3). I want to use the UART output on this chip to send data to a UART to RS485 converter chip. How do I do this? I have been unable to find a pin diagram or schematic that shows how the pins on the docking station evaluation board map to the pins on the FM28M35x itself.

Thanks in advance.

ADS1282: data conversion for ADS1282

$
0
0

Part Number:ADS1282

Hello,

I am using ADS1282 for converting milliVolt signals. It is used in the default config, with REFs as +2.5V and -2.5V and is in the continuous mode, at 1000Sps data rate.

I need help with two issues--

(i) I gave a 20 mV input signal and got a dataset which has EBB34817.. as output and with zeroes in between.

(ii) When I gave 200 mV signal, in addition to the zeroes coming in between, I got two sets of different values at the output. (9636E191, 1B458580 )

I tried giving other signal values also, but one of the above patterns result.

As I am new to this, any help would be greatly appreciated.

The sample data files are attached

Request help

Thanks in advance

Regards

TMS320F280049M: Issue with deadtime collapse between two pulses when operating with variable frequency

$
0
0

Part Number:TMS320F280049M

Hi,

I have setup TMS320F280049 to drive two switches whose pulses are complementary, have 50% duty-cycle, and have 150ns deadtime between them. The frequency of pulses varies from 50kHz to 1MHz. I am changing the frequency by changing voltage at the ADC input by varying a variable resistor which is connected at ADC input. Reading the ADC register and calculation of the frequency of pulses is performed in fixed frequency ISR which is triggered by ADC End of conversion pulse and updating the PWM registers (TBPRD,CMPA,CMPB) is performed in EPWM1 ISR which is a higher priority interrupt triggered when EPWM 1 CTR=0. EPWM1 interrupt is nested in ADC interrupt. The ADC start of conversion is triggered by CPU TIMER 0 which runs at fixed frequency of 50kHz.

EPWM pulses with 50% duty-cycle are generated by writing to CMPA and CMPB registers independently a level equal to TBPRD/2. EPWMB pulse is then inverted in deadband module to generate a complementary pulse. 

There is some other calculation taking place in ADC ISR based on the input voltage, which has nothing to do with the calculation of the frequency, CMPA and CMPB. The total calculation time of ADC ISR is 9.5us and EPWM1 ISR is ~360ns (as only updating of EPWM registers take place in this routine).

The deadtime between the pulses is constant and setup only once during intialization to 150ns.

With this setup, I observed that deadtime between the two pulses was collapsing randomly to <50ns, which means 150ns deadtime was not maintained.

I experimented and observed, that this can only happen if for some reason executed values of CMPA and CMPB are not equal. This should not happen if I am updating both the registers one after the other with a same value =TBPRD/2 in a higher priority interrupt EPWM1 ISR which is nested inside ADC interrupt.

If EPWM1 ISR is higher priority, first all registers should be updated and then the program counter should go back to ADC ISR to calculate the next value of frequency.

I was temporarily able to solve the deadtime collapse issue by setting a flag high when program counter is in ADC ISR and calculating frequency. When flag is high, I do not allow EPWM 1 registers to update in EPWM1 ISR, even though, EPWM1 ISR can still interrupt ADC ISR. Once, calculation is finished, I make flag go low and then EPWM 1 registers can update in EPWM1 ISR. This way deadtime maintained at 150ns.

However,  this is a brute force way of solving the issue. I would like a better solution/ suggestion from TI to solve this problem.

Thanks,

Misha

TCI6638K2K: Make the XGBE interface work with the NDK on DSP

$
0
0

Part Number:TCI6638K2K

Hello,

I am currently working on a Keystone 2 device (TCI6638K2K) to make some 10Gb ethernet tests.
I would like to use it on the C6x DSP + SYS/BIOS side but I did not see the XGE support in the NIMU from the last processor-sdk (4.2).
Did someone already succeed to make it work ?
I already make some modifications to the nimu driver but it still doesn't work, the ethernet switch don't send anything. Here is what I have done so far:
1) I removed the init_pass from EmacInit_Core and replaced the "Init_Cpsw" function from the nimu driver (nimu_eth.c) to:
  • init the serdes (I reused the example code from pdk: ti/diag/serdes_diag/test/k2h/c66/bios/serdes_diag_test_init.c)
  • Configure the PCS-R port 1 (write 0x02 to register PCSR_CTRL: 0x02f00624)
  • Configure the EMAC port 1:
    1. make a soft reset by writing 1 to the SOFT_RESET register: 0x02f0140c
    2. enable Full Duplex/XGE/XGMII/external configuration/short frame by writing (1 | (1 << 8) | (1 << 13) | (1 << 18) | (1 << 23)) to the MAC_CTRL register: 0x02f01404
    3. writing rx max len to the register at 0x02f01410
  • Configure the Switch:
    1. set the mac address to register at 0x02f01070
    2. enable port 0 by writing (1 << 2) to cpsw_ctrl register: 0x02f01004
    3. set the rx max len at register 0x02f0148
    4. enable statistics by writing (1 | (1 << 1) | (1 << 2)) to stat register at 0x02f0100c
  • Configure the ALE:
    1. enable ALE, clear ALE and enable bypass by writing ((1 << 31) | (1 << 30) | (1 << 4)) to the ALE_CONTROL register: 0x02f01708
    2. set port forwarding by writing 0x03 to ALE_PORTCTL0 and ALE_PORTCTL1 register at 0x02f01740 and 0x02f01744
2) I updated the initialization of QMSS to use the 10Gbe queue rather than the PA (in Setup_Tx function from nimu_eth.c):
  • use 8 Tx queue mapped from 8752 to 8759 by using Qmss_queueOpen(Qmss_QueueType_XGE_QUEUE, QMSS_PARAM_NOT_SPECIFIED, &isAllocated)
  • updating the number of Tx queue to 8 instead of 9 and number of Rx channel to 16 instead of 21 everywhere it was used
3) I updated nimu_cppi_qmss_iface.c to use XGE QMSS instead of PA:
  • use Cppi_CpDma_XGE_CPDMA instead of Cppi_CpDma_PASS_CPDMA
  • use 8 Tx queues and 16 Rx channels
4) I removed the call to NIMU_initPass in main task and remove the Add_MACAddress call from EmacStart in nimu_eth.c
5) I removed this line from EmacSend in nimu_eth.c : Cppi_setPSFlags (Cppi_DescType_HOST, (Cppi_Desc *)pCppiDesc, (1<<gTxPort));
I obviously missing something as the 10Gb switch still not working. Can anyone tell me what I need to change ?
Thank you,
Julien

TMS320F28377S: C2000 Digital Power BoosterPack inductor size

$
0
0

Part Number:TMS320F28377S

I created a simple model of this buck converter in Matlab Simulink using the specs given in the datasheet. Using a 200kHz switching frequency and 4.8 uH inductance, I get a large current ripple due to the low inductance value. I was wondering if this was the actual value as stated of 4.8 uH or if there is a discrepancy? Also implementing current control in the model is difficult due the large ripple. When I went through the open loop/closed loop examples in TIDU986–September 2015 documentation, there are no large variations in the output: Gui_IL1. This is why I'm asking if anyone knows if 4.8 uH is the actual value of the inductor in the buck converter. 

CC2531: Sleeping End Device is missing the termination and recreation of the network.

$
0
0

Part Number:CC2531

I am running ZStack-CC2530-2.5.1a with a custom software application, although the issue is tied to stack behavior in general, and not our implementation in particular.

\We are running into the following situation.

An end device is associated to a coordinator.

The end device performs a data request and the coordinator indicates there is no data.

The Coordinator is powered off and back on. It restarts the network before the next data request from the end device. 

The End Device wakes up and sends another data request. The coordinator again informs the end device there is no data for it.

Later the end device sends an application level message to the coordinator, and we expect an application level response. Unfortunately the Coordinator is unable to respond with an application level message because it no longer has a route to the end device (due to the restart.)

We are using short addressing.

I am unable to send an direct message to the device as there is no route. 

Is there a way to manually re-add the device to the routing tables? 

BQ34Z100-G1: Internal Temp Sensor Way Off

$
0
0

Part Number:BQ34Z100-G1

We are set up to use an internal temperature sensor. I have a 10k pulldown on the TS line. When we set the configuration to use the Internal Temp Sensor and calibrate, our read temperature is way off. 

When our set temp is 22C, our read calibrated temp is ~45C

When our set temp is 2C (which is known to be wrong, our room is actually 22C), our read calibrated temp is closer to ~25C

I am curious why there is this massive offset and why we have to lie to the chip in order to get the temperature sensor within an acceptable range? 

The error is not even close to within tolerance given by the datasheet

ADC12DJ3200EVM: ADCxxDJxx00 GUI not connecting to device

$
0
0

Part Number:ADC12DJ3200EVM


I am unable to connect to this device using ADxxDJxx00 GUI. Error FT_DEVICE_NOT_FOUND. I have followed the troubleshooting guide as per SLAU701a and still have this issue. The device had worked previously and shows no sign of HW damage. I am able to see the device using the FT_PROG application, and have the correct FTDI device drivers installed. I am unsure as to what the issue is but can confirm it is not HW related, as I can consistently reproduce it on two ADC12DJ3200EVM platforms. Please advise. -Dan

TAS2505: Looking for any example software involving PIC24 or similiar micros.

$
0
0

Part Number:TAS2505

Adding this part to a PIC24FJ64G702 part, and wondered if anyone else has done this in the past?  Trying to speed up the development process!

Viewing all 262198 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>