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

CCS/TMDSDOCK28035: TMDSDOCK28035

$
0
0

Part Number:TMDSDOCK28035

Tool/software: Code Composer Studio

Hello TI people,
I am working on TMS320F28035 MCU. I am testing its max toggling freq. I have selected its internal oscillator and making it configuration to be 60 MHz system clock.
when i used RAM linker file, the toggle freq was 3.7MHz. when i used F28035 linker file (Flash one), the toggle freq was around 700KHz.
now i have 2 questions:
1- what is the relation between linker file and operating freq and how to overcome its effect?
2- max toggling Freq is 15MHz as stated in reference manual,  so why 3.7 MHz is achieved when using RAM Linker file?

Best regards
Hosam


CC1310: I2C stuck with MSTAT.DATACK_N set

$
0
0

Part Number:CC1310

I have an issue where I am unable to clear a missing data acknowledgment error in the i2c module. The reproduction is quite simple:

1. Start i2c transaction: Write 1 byte (no read) to a device not on the the bus (I use address 0x70)

2. This obviously fails, and inspecting MSTAT I see both DATACK_N and ADRACK_N set (0x0c)

3. Start i2c transaction: Read 2 bytes (no write) to a present device.

4. Observe that the read fails. Inspecting MSTAT I see ADRACK_N has been cleared, but DATACK_N remains (0x08) causing the read to fail.

So,

1. Are my expectations of the error being cleared, and the read in step 3. to be successful, correct?

2. I would expect only a ADRACK_N after step 1, not also DATACK_N - is this assumption correct?

Some notes:

* If step 1 was a read instead of a write it works: Error would be 0x04, which would be cleared when doing the read in step 3. 

* If I simply ignore the error in step 3, I see the read is actually successful - I get 2 bytes correctly transferred.

* If I do a write towards an existing device after step 1, or after step 4, the error will be cleared and everything works again.

* I do not power down the SERIAL domain in between any of the steps (I have not tried, but I am guessing it would clear the errors).

Disclaimer: I am not using the coresdk i2c libraries. I have modified the contiki-ng i2c library to match the coresdk at least to the extent that the I2C module commands are identical (including error handling).

OPA171: vout is not correct for current sensing application

$
0
0

Part Number:OPA171

I am using this device to measure the current of a power supply

The device is configured as an inverting amplifier

Power supply +/-15V

Rfeedback = 100k, Rgain = 1k

also a 1k resistor from non-inverting input to ground for offset compensation

I am measuring current on the low side (sense resistor connected to ground)

Gain is 100

Rsense = 0.003 ohms

Current level about 1 amp

Vout = -100 *0.003*1 = 0.3Volts

Any suggestions will be appreciated

Thank you

Fausto bartra

BOOSTXL-AOA: Why does the AoA demo require three Launchpads?

$
0
0

Part Number:BOOSTXL-AOA

Readme says the system requires 3 devices: master, slave and passive. How does this work? I would think only a TX and RX (with boostxl-AOA) is needed/

Thanks

MSP430FR5994: I2C master receive mode

$
0
0

Part Number:MSP430FR5994

For our hardware, we are using the MSP430FR5994’s Port B2 in I2C master mode to communicate with a HDC2010 humidity sensor on a battery-powered device.  We’ve had some rare occasions on the boards in which the MSP430 locks up and the battery drains.  We’ve finally traced it down to an issue with I2C master receive mode.  In the file I2CEUSCIB.c in the MSP430 TI Drivers (version 2.20.00.08), in the function I2CEUSCIB_hwiIntFxn(), lines 315 through 325 are as follows:

 

                /*

                 * Start the I2C transfer in master receive mode by sending a

                 * START and STOP bit since it's the last byte

                 */

                    EUSCI_B_I2C_masterReceiveStart(hwAttrs->baseAddr);

                    while ( EUSCI_B_I2C_masterIsStartSent(hwAttrs->baseAddr) ) ;

                    EUSCI_B_I2C_masterReceiveMultiByteStop(hwAttrs->baseAddr);

 

                    Log_print1(Diags_USER2, "I2C:(%p) I2CEUSCIB_WRITE_MODE: -> I2CEUSCIB_READ_MODE; "

                                    "Reading w/ RESTART and STOP",

                                     hwAttrs->baseAddr);

 

The MSP430 will occasionally get stuck indefinitely on the while loop in the code above.  It initiates the I2C start, but it never sees an acknowledgement that the start is sent.  On a few boards, this occurs more regularly than others; it also appears that in certain high/low environmental temperature situations it occurs more frequently with certain boards.  I believe a proper solution would be to have a count limit on the while loop and then to abort the transfer upon failure.  However, we’re unsure of a reasonable loop limit count for this location.  I’m assuming there is a reasonable limit based upon the I2C clock speed, but I’m not sure what that is.  Do you have a suggested limit based upon the I2C bus settings, or another approach that may be suitable?

 

I also see a similar loop in I2CEUSCIB_primeTransfer().  Whatever solution makes sense in the ISR should also be applied in I2CEUSCIB_primeTransfer.

TPS40210: current sense help

$
0
0

Part Number:TPS40210

Hello, I am having issues with current sense for the TPS40210. I continuously trip the current limit threshold and enter the restart (discharge through the SS capacitor) mode of the controller. I am looking for solutions to resolve this issue. I have ~5000uF of output capacitance

IWR1443BOOST: IWR1443BOOST

$
0
0

Part Number:IWR1443BOOST

Hello,

My group and I are working on the implementation of mm wave sensor. The idea that we have is to use a robot kit (TI RSLK) and add mm sensor(IWR1443BOOST) to it. The functions that we would aspire to implement to the robot are generating point cloud information of an area, for autonomous navigation and mapping, and detecting object behind a glass wall. Do you think we need the DATA-CAPTURE bundle or the MMWAVE-BNDL or simply just the IWR1443BOOST?

SN74LV8153: Works only with pullup even with Output = H

$
0
0

Part Number:SN74LV8153

Have the same Issue with OUTSEL set to H

VCC1 and VCC2 are 5V 

OUTSEL set to H = +5V 

INV RESET set to H = +5V

Inv OE set to L = 0V

Have serveral SN74LV8153 in an Isolation Application to set Multiplexer Adress Lines. This did not work.

Figured out that Outputs are  only high  connecting  a  Pull-Up Resistor to VCC.

The Devices are not in OC-Mode, checked Logic Levels: They are not inverted.

Got all chips  2 weeks ago from digi-key.


LMG1020: Datasheet Truth Table?

$
0
0

Part Number:LMG1020

I am thoroughly confused about the truth table and how it relates to the output pins. How are OUTH and TOUL independently controlled by IN+ and IN-? The block diagram shows output from the logic gate triggers both output pins, and their purpose is to be tied to resistors that control rise and fall time.

The datasheet goes on to illustrate how to create short pulses with IN+ and a delayed signal to IN- which I take to mean that there would be two states in the truth table in which there would be output on OUTH, yet it only shows one.

RM46L852: OVERVOLTAGE SUPPLIED TO BOARD (CURLIM LIGHTS UP)

$
0
0

Part Number:RM46L852

Hello!

My software colleague attempted to connect a robotic setup based on LAUNCHXL2-RM46 (L852PGET), however, he mistakenly supplied the input of the regulator (pins J11_1 and J10_1) with +15V instead of +5V.

Board is now dysfunctional and when it’s supplied with voltage from the USB input - the LED9 (CURRLIM) lights up with its U9 IC (TPS2553) overheating. Regulator U5 (LM26420XMHX/NOPB) itself heats up as well, tho at a significantly lower rate.

I have attempted to troubleshoot measuring voltage between ground and +1V2 / +1V2_EMU. I get a reading of around 48 mV instead of 1V2 which indicates something is shorted. Could you please give an explanation on how to troubleshoot further or directly point out to which component may be damaged in order to repair it?

Thank you in advance!

LM25116: Temperature rise on the high and low transistors and the inductor at max load

$
0
0

Part Number:LM25116

Hello team,

Customer application is a supply designed to provide 100 watts at 5 volts with a 24VDC input.

Based on simulations is the expected temperature rise on the high and low transistors and the inductor at max load: 45 degrees above ambient?

Also, customer did find one discrepancy between the datasheet and the Webench generated schematic: page 4 of the datasheet says “If VCCX is unused, it must be connected to ground.” Whereas the Webench schematic shows VCCX floating:

OPA2277: Set point noise at the ends of the Pot.

$
0
0

Part Number:OPA2277

I am using OPA2277s to produce a precision setpoint with an external adjustment. The output noise is okay until either end of the potentiometer is reached and then the noise level jumps up almost .25 volts. Any ideas why?

We can mitigate the noise by placing a resistor between the wiper of the potentiometer and the second opa2277

CCS/MSP432P401R: Cannot build BSL code--3 warnings after build

$
0
0

Part Number:MSP432P401R

Tool/software: Code Composer Studio

I've successfully used MSPBSL_scripter to load a txt file to an MSP with factory installed BSL code.  

Now I need to modify the BSL slightly.  I've been following the instructions listed in SLAU622H. 

I'm using the project linked here:

When I download either the debug or the release configuration, the bootloader stops responding to BSL_scripter.  All details of my setup are exactly the same between when I had the working (factory installed BSL) and the BSL built from the project.   

Another detail: Initially, I tried to modify the project to toggle an LED while the BSL was running.  The LED worked, but the boot loading process did not.  Now I've started a fresh project with completely unmodified source code.  At this point I'm just trying to get the original project to build and work. 

I'm wondering if the problem is related to these 3 build warnings:

#10247-D null: creating output section ".TI.noinit" without a SECTIONS specification
#48-D incompatible redefinition of macro "UCRXIE" (declared at line 78 of "C:\MSP_reprogram\bsl 432 files\source\BSL432\BSL432_Peripheral_Interface.h")
#48-D incompatible redefinition of macro "UCTXIE" (declared at line 77 of "C:\MSP_reprogram\bsl 432 files\source\BSL432\BSL432_Peripheral_Interface.h")

I'm wondering why I'm getting these warnings with the unmodified BSL project. 

Thanks for taking a look at my question

LMH6401: VOCM and VICM relationship

$
0
0

Part Number:LMH6401

To whom it may concern,

I would like to use LMH6401 to buffer the signal from a PMOS current steering DAC (TI DAC39J84). 

I must use DC coupling in my application. 

Now here is the problem: let's assume DAC's output common mode should naturally be biased at common-mode of 0.5V. I want to directly feed this 0.5V common-mode signal into LMH6401

This will hurt linearity a bit for sure, but let's ignore that.

I want to use +-2.5V supply on LMH6401 and bias output common mode of LMH6401 at 0V. 

This means that I just need to leave VOCM pin open. 

However, in TINA-TI simulator, I found this result after DC simulation:

Could you kindly explain why?

Also, I want to ask about the input impedance of the amplifier. 

Is the input impedance 50-ohm to gnd each side, or floating 100ohm differentially?

I look forward to your help!

Thank you.

Weiyu

CCS/TMS570LS0914: Cannot enable MIBSPI1 chip select #3 in HALCoGen

$
0
0

Part Number:TMS570LS0914

Tool/software: Code Composer Studio

Hi, I'm having difficulty enabling the chip select #3 for the MIBSPI1 module of the TMS570LS0914 (PZ, 100 pins) in HALCoGen. In HALCoGen, I've enabled MIBSPI1 driver, then went to MIBSPI1->MIBSPI1 Port. I can't select SPI mode for the SCS[3] pin mode. The checkbox is grayed out and only the GIO is selected. Then, if I sent to a group using this chip select, the CS doesn't get pulled-down when I probe using a logic analyzer. Any idea how to fix this? Thanks.


INA180: Low-side negative voltage

$
0
0

Part Number:INA180

Hello,
Hi, I have an application (brushed motor) that will have an average current of 20A, and peaks of 100A, I need to measure the low side of the current, as in the figure below. The problem that resistor, circuit they have inductance, and I imagine when I off the mosfet will have negative voltage, and depending on the inductance and circuit current will probably exceed the -0.3v Common-mode. I was thinking of using 10ohm resistor and schottky diode to limit voltage, would a proper approach be?
Would you have a more suitable solution?
The inductance in the circuit is for simulation only.

Thanks in advance.

CC2640R2F: Lib_Search.exe IAR 32bit compatibility issue on sdk_2_40_00_32 blestack 4.2

$
0
0

Part Number:CC2640R2F

Hi Champions,

I'm facing a lib_search 32bit compatibility issue :

simplelink_cc2640r2_sdk_2_40_00_32

Project:  C:\ti\simplelink_cc2640r2_sdk_2_40_00_32\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral

IDE: IAR 

Can you suggest a work around ?

Paolo

AM5726: Best way to program eMMC Flash

$
0
0

Part Number:AM5726

Hi,

We just got our custom board in which is using a AM5726 processor and the SDcard interface to the processor is not correct.  The processor has external flash through an eMMC interface.

What is the best way to program eMMC flash with our embedded Linux image, so that we can boot it and continue board bring up.  We are looking into the USB peripheral boot method.

It doesn't look like programming eMMC flash using JTAG is supported.  Is that correct?

Thank you,

Christine

DS90UB954-Q1: 954 ALP: Link frequency meaning

$
0
0

Part Number:DS90UB954-Q1

hello, could you tell me what the meaning of the frequency of 39MHz in below picture? is this back channel frequency?

when 953-954 EVM are connected, it shows up 100MHz at default configuration.

Linux/LAUNCHXL-CC1310: TI 15.4-Stack 2.08.00.04

$
0
0

Part Number:LAUNCHXL-CC1310

Tool/software: Linux

Hi,

I tried to follow the wiki for adding a new sensor but the wiki is outdated (is for a different release).

  • I´m having problems in the file appsrv.c, The latest version of the stack is diferent.
  • Follow all the steps except when the files are different I can run successfull the script buil_all.sh. Then I ran the script run_collector.sh and run_gateway.sh and it opens the browser but I dont have any information from the collector.

Is there a new version of that wiki or was anyone able to add a new sensor to the last release of TI 15.4 stack?

Thank you,

Hélio Pereira

Viewing all 262198 articles
Browse latest View live


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