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

MSP430F5529: microSD card attached to msp430f5529 getting corrupted

$
0
0

Part Number:MSP430F5529

Dear,

In our design, we include a 4 GByte Sandisk microSD card formatted as FAT32 attached to a msp430f5529 microSD via 4-wire SPI interface.

However, lately some of the cards come back in such a state that you cannot write to them anymore. They may contain, for example, up to 2 MBytes in files with logged sensor measurements, not much, but you cannot write in them anymore.

They are not write-protected, as we can see in the output of some linux commands like "lsblk". Also, you cannot format them or even "fdisk" them and delete the whole partition table. You can apply these commands, but after ejecting the card and plugging it again, the same files and partitions show up.

So, my question is twofold:

  1. Did anybody experience such drastic behavior?
  2. How would you diagnose or reproduce the cause of this issue?

Let's see what your opinions are.

Have a nice day.


Linux/PROCESSOR-SDK-AM437X: added driver using menu config, builds but doesn't install?

$
0
0

Part Number:PROCESSOR-SDK-AM437X

Tool/software: Linux

ti-processor-sdk-linux-am437x-evm-04.03.00.05   using top level Makefile.  

for example hdc100x.c:

. conf (after build)  I know this gets overwritten.

#
# Humidity sensors
#
# CONFIG_AM2315 is not set
# CONFIG_DHT11 is not set
CONFIG_HDC100X=y
# CONFIG_HTU21 is not set
# CONFIG_SI7005 is not set
# CONFIG_SI7020 is not set

i see the output of make all 

LD net/ipv4/built-in.o
LD drivers/iio/health/built-in.o
CC drivers/iio/humidity/hdc100x.o
LD drivers/iio/imu/bmi160/built-in.o
LD drivers/iio/imu/inv_mpu6050/built-in.o

but I don't see the driver in make install or on target in /lib/modules/4.9.69-g9ce43c71ae/kernel/drivers/iio

it is in my .conf file and auto.conf.

ISO1211: I tried to add a high voltage protector to ISO1211

$
0
0

Part Number:ISO1211

I added a high voltage protector (http://ww1.microchip.com/downloads/en/AppNotes/AN-D66.pdf to the input of ISO1211, hoping to limit the input current to less than 10mA to prevent accidental high voltage applied to the inputs, but it doesn't work as I expected

When bypassing the protection circuit, ISO1211 works fine when I apply 30V to it (it outputs 1), but with the protection circuit, ISO1211 outputs 0 when I apply 30V to the input.

Anything I missed here?

Thanks for any pointer!

TPS63060: Buck mode current sinking capabilities

$
0
0

Part Number:TPS63060

Hello,

I am trying to build a TEC driver similar to this Application Report: www.ti.com/lit/an/slva677/slva677.pdf

My input voltage is in the range of 8V to 12V, so I can not use the same converter as in the report. Instead I built it with the TPS63060 as I thought they would behave alike.

In boost mode everything works fine, current output up to 200mA -- more is not necessary and not tested.

Buck mode on the other hand does not work. TEC current has a maximum of around 30mA, feedback voltage diverges from the 0.5V reference. Setting the output voltage without load works. After double checking everything I do now think that the problem might originate in TPS63060 current limiting or something similar that prevents operating as current sink in buck mode.

Is my assumption, that the TPS63060 is not capable of sinking current in buck mode, correct? If so, what other part can you recommend for the job?

Thank you!

TDA2: SD-Card booting: Jumping to MPU CPU0 Application

$
0
0

Part Number:TDA2

Hello,

I included into Vision SDK a new Link and Usecase. With the Debugger the Code works fine.

I tried to boot from an SD card. The TDA2 only works until "Jumping to MPU CPU0 Application..." appears in the Terminal.

The whole Terminal output is shown below. The SD card works, I tried a functional Appimage and everything was fine. I am not sure in what could be wrong. Is there anything I have to add in the Imagegenerator when I include a new Usecase? 

 

Vayu SBL Boot

AVS class-0 has been completed already

DPLL configuration completed

PRCM clock domain force wake-up completed

PRCM module enable completed

TI tda2xx evm pad configuration completed

DDR3 configuration completed

AppImage download begins

WARNING: Device Id Doesnot match

MPU CPU0 image load completed

IPU1 CPU0 image load completed

IPU1 CPU1 image load completed

DSP1 image load completed

DSP2 image load completed

EVE1 image load completed

EVE2 image load completed

EVE3 image load completed

EVE4 image load completed

SBL boot completed succesfully

**************SBL Boot-up clock cycles*******************

PMCCNTR counts once every 64 clock cycles. To get actual CPU cycle multiple by 64

VM init clock cycles - 416436

soc prcm init clock cycles - 184688

ddr3 init clock cycles - 35867

appImage load clock cycles - 35223999

slavecore bring-up clock cycles - 14292

sbl total boot-up clock cycles - 35946449

*****************************************************************
Flush DCache...

Putting CPU1 in OFF...

Jumping to MPU CPU0 Application...

CCS/CC2640R2F: SPPBLEClient/Server Sample Application for cc2640r2SDK2.3

$
0
0

Part Number:CC2640R2F

Tool/software: Code Composer Studio

Hello Expert,

I'm working on cc2640R2 Launchpad and would like to build a simple serial port wireless link. I tried the simple serial socket server sample application and also found that there is a SPPBLE server sample application for old version:

Is there an similar example for cc2640r2 SDK 2.3?

Thanks a lot!

LM5146-Q1-EVM12V: Are the Altium Design files available for this demo board?

$
0
0

Part Number:LM5146-Q1-EVM12V

Hello, are the Altium design files (Schematic, PCB layout, gerbers, etc) available for this demo board?

thanks

DRV5032: Web-Tool output values Vs. Observed - what assumptions / values is the tool using

$
0
0

Part Number:DRV5032

Hello Hall sensor gurus!

I have this question (and observations) from my customer:

Using DVR5032FB

Using NdFeB Grade 42 Cylinder  6.35mm x 6.35mm (0.25” x 0.25”)

Here is what the design tool says I will get in performance.

Converting this to inches, that’s 0.72” for Bop and 1.59” for Brp

OK, I have a prototype working, and here is what I am getting empirically:

Bop = 0.85”

Brp = 1.05”

Question: The tool tells me I will have hysteresis in the range of 1.22” but I am only seeing hysteresis of 0.2”

That is a huge difference. Can you explain to me why I need to make sure Brp is so far away?

In my design, if I have to go 1.22” away from trigger point to make sure the IC shuts off, it doesn’t work for me.

I need help with this. Please advise.

-------------------------------------------

I did a quick calculation using equation 2, page 16 from the datasheet, and it looks like the customer values line up very nicely with the Typical BOP and BRP values. So, it looks like the measurement was done properly... 

Please comment on the Web tool values more and address the customer concerns about the maximum hysteresis value they can expect.

Thanks!


TPS92692-Q1: IMON state consult

$
0
0

Part Number:TPS92692-Q1

Hi team,  my customer want to know the voltage of IMON pin if our device in fail state (not switching)?I believe this will be zero, right? Also if we connect SS or PWM to GND, how about the voltage of IMON? Thanks.

BOOSTXL-AOA: Trying to Measure Sensitivity

$
0
0

Part Number:BOOSTXL-AOA

Team,

I have a customer working on AoA using CC2640R2. What is the procedure to measure receiver sensitivity with smart RF studio and CBT?  Using packet RX, it looks like smart studio measures packets without even connecting to CBT OTA. 

 

LM5112: Fast mos driver (LM5112) + fast mos (suggestion?) for a pulsed led driver

$
0
0

Part Number:LM5112

Dear All,

i need to pulsed an uv-led with a frequency from 100kHz ( 5 us on, 5 us off) to 1 MHz ( 500ns on 500ns off) with few ns of rise/fall time. I'm thinking to use a fast mos driver like the lm5112 (or if you know something better) plus a fast switching mosfet. The led had a working point between the 6-7V and the current will be between 5 and 30 mA.

Did you have any suggestion about the mosfet to use and if there is something betther than the lm5112 for my purpose? (Maybe the lmg1020, but i never used GaN mos).

Actually i'm simulating my circuit with Tina.

Thanks in advance.

RTOS/CC1310: Clarification on the capacitor of the XOSC (CC1310 or CC26x0)

$
0
0

Part Number:CC1310

Tool/software: TI-RTOS

I would like to get clarification about the "cap-array" for the 24MHz external crystal of cc1310 (or cc2650), as seen in the MODE_CONF register. How do you calculate the 8-bit value of the array? I haven't found any documentation on this setting? Does it mean that you can avoid installing the two capacitors around the external crystal (8pF in my case)? Is there any performance impact?

BQ24133: BQ24133: How to increase battery charging current

$
0
0

Part Number:BQ24133

We have made battery sharing circuit /PCB using BQ24133. it  primary functionality looks ok. The Li-on battery is getting charged . But it takes 8-9 hours for full charge. it is consuming  only 300mA.. Can anyone help me how to increase the battery charging current ( our expected charging time for full charge is 3-4 hrs). 

the measured values are

voltage at ACSET pin is 0.807V

ISET voltage is 0.404V

As per design,

Input ACSET voltage is 2A

I charge  is 1 A

Thanks in advance for your reply.

CCS/TM4C1294NCPDT: USCIF Driver Emulation Error

$
0
0

Part Number:TM4C1294NCPDT

Tool/software: Code Composer Studio

I am using CCS version 7.2 along with the Spectrum Digital Debugger XDS200 and I'm having a problem with the JTAG connection.  I have been using this setup for a few weeks and haven't had any problems until now. 

When I try to connect to a known good target board, I receive the following Error Message.

"Error connecting to the target: (Error -180 @ 0x0)

The controller has detected a target power loss.

The user must turn-on or connect the power supply for the target.

(Emulation package 6.0.628.3)"

I noticed that the Green LED on the Emulator goes off when I click on the Debug button in CCS. The only way I can get it to turn back on is to reconnect the Emulator. 

When I open up the Target Configuration file and run the "TEST CONNECTION" operation, I receive the following error message.  During the Test Connection operation, the Green LED on the Emulator turns off similar to the Debug Operation.

[Start: Texas Instruments XDS2xx USB Debug Probe_0]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity

[Result]


-----[Print the board config pathname(s)]------------------------------------

C:\Users\celyj\AppData\Local\TEXASI~1\CCS\
    ti\0\0\BrdDat\testBoard.dat

-----[Print the reset-command software log-file]-----------------------------

This utility has selected a 560/2xx-class product.
This utility will load the program 'xds2xxu.out'.
The library build date was 'May 23 2017'.
The library build time was '19:03:48'.
The library package version is '6.0.628.3'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.

An error occurred while hard opening the controller.

-----[An error has occurred and this utility has aborted]--------------------

This error is generated by TI's USCIF driver or utilities.

The value is '-180' (0xffffff4c).
The title is 'SC_ERR_CTL_NO_TRG_POWER'.

The explanation is:
The controller has detected a target power loss.
The user must turn-on or connect the power supply for the target.

[End: Texas Instruments XDS2xx USB Debug Probe_0]

Thanks for the help,

Joe

CC1120: CC1120 infinite packet : transmit packets with length byte greater than 255 and less than/or equal to 276 bytes for exemple

$
0
0

Part Number:CC1120

Hi all,

I need help to achieve a infinite packet transmission.

Just to be sure, is this way correct :

- Enable infinite packet feature : L1LAN_SPIWrite(CC1120_PKT_CFG0, 0x40);

- configure interrupt for thresholed : L1LAN_SPIWrite(CC1120_IOCFG3, 0x02);

- configure thresholed : L1LAN_SPIWrite(CC1120_FIFO_CFG, 0x76); // TXFIFO_THR

- Set the PKT_LEN to "paquet size" % 256: L1LAN_SPIWrite(CC1120_PKT_LEN, frameLength%256 );

- Write 128 byte to TX FIFO in first step :

- Start Tx:  L1LAN_SPIStrobe(CC1120_STX);

I've achieved to write in TX Fifo the first 128 bytes and I start Tx (SPIStrobe(STX)) but  the CC1120 doesn't set an interrupt at the thresholed, so I can't  write the second packet (128 - threshold ).
I read FIFO_NUM_TXBYTES (the free bytes in Tx FIFO ) it is all the time equal 15 and when I read NUM_TXBYTES (the number of bytes in tx fifo is 0) I don't understand what's the problem.
Why the CC1120 doesn't set an interrupt at the thresholed TXFIFO_THR? why FIFO_NUM_TXBYTES don't decrease to until reaching threshold and the CC1120  set an interrupt?

Best regards
Siham


RTOS/CC2640R2F: Pin interrupt not working as expected.

$
0
0

Part Number:CC2640R2F

Tool/software: TI-RTOS

Hello,

I am working on a custom designed board, and i used the pin interrupt example to create a interrupt on a button press, the button i use is of the type OFF-(ON)-OFF. The problem is, I m trying to blink led on the button press for a while and switching it off, but the LED goes off as soon as I release the button. Here is small Code snippet from my file: 

 

static const PIN_Config button_pin_table[] = {
BOARD_BUTTON_PIN | PIN_INPUT_EN | PIN_NOPULL | PIN_IRQ_POSEDGE,
PIN_TERMINATE
};


static void LedBlink( UArg a0, UArg a1 ) { uint32_t sleep_us = 50000; int blink_count = 150; for ( int i = 0; i < blink_count; i++ ) { Task_sleep( sleep_us / Clock_tickPeriod ); PIN_setOutputValue( &led_pin_state, BOARD_LED_PIN, 0 ); Task_sleep( sleep_us / Clock_tickPeriod ); PIN_setOutputValue( &led_pin_state, BOARD_LED_PIN, 1 ); } } void ledBlink_createTask(void){ /* create a task that blinks LED! */ Task_Params task_params; Task_Params_init( &task_params ); task_params.stack = LedBlink_stack; task_params.priority = 5; Task_construct( &LedBlink_Struct, LedBlink, &task_params, NULL ); } void ledcallbackfxn ( PIN_Handle handle, PIN_Id pindId ){ ledBlink_createTask(); }

The stack size is 512. 

What is wrong in here, how can i modify this to implement my idea?

TPS25942A: Temperature Questions

$
0
0

Part Number:TPS25942A

Hello,

I’m hoping you can help provide some additional specifications (or clarification) for the TPS25942 over temperature.

Here’s some things I’m hoping to clarify (there may be more later):

  1. The I(FASTRIP) specification:  States 1.5 x I(LIM) + 0.375.  This has notes (1) and (2).  Note (2) indicates that thermal effects must be taken into account separately.  What does this mean?  What is the tolerance of I(FASTRIP) over temperature?
  1. I looked at the tolerance of I(LIM) and realized that it was basically +/-8% for the current limit resistors given in the datasheet.  Can I assume these same tolerances on the fast-trip limit since the fast-trip equation refers to I(LIM), or is the tolerance wider for the fast-trip?
  • The Ron range is listed as 26mohm to 64mohm from -40C to 125C.  Is this positive temperature coefficient (higher temp, results in higher resistance)?

Regards,

David

TRF3722: getting the VCO to lock

$
0
0

Part Number:TRF3722

Hello Team,

We are having some issue with getting the VCO to lock, could you please see the code below for programming the TRF3722. Could you check to make sure that the registers are correct?

#i=8  <- this is the register address

#i=401b300  <- this is the data

0x10 0x06 0x6c 0x01  <-These are the bits that are sent thru the SPI in order of MSB to LSB  -> reverse of the address bit and data.

 

#i=c

#i=10

0x30 0x40 0x00 0x00

 

#i=a

#i=5578511

0x54 0x45 0x0f 0x55

 

#i=e

#i=88eac

0x71 0xab 0x88 0x80

 

#i=9

#i=1400816

0x93 0x40 0x80 0x14


#i=d

#i=33d5188

0xb0 0x8c 0x55 0xe6

 

#i=b

#i=0

0xd0 0x00 0x00 0x00

TS3USB31E: Is TS3USB31E able to keep closed when OE pin tie to GND and Vcc is not present?

$
0
0

Part Number:TS3USB31E

Hi team,

If customer wants to save GPIO pin to control OE pin of TS3USB31E, can they directly tie it to ground? In this case, the device will still shut down the switch when Vcc<2.25V and directly open when Vcc>2.25A?

Thanks.

Max

ADC12DJ3200: Power supply desig for 3 ADCs

$
0
0

Part Number:ADC12DJ3200

Hi TI Team,

We are planning to use ADC12DJ3200 and DAC38RF80 in our design of data acquisition. We will be using three Nos. of ADC12DJ3200 and DAC38RF80.

There will be separate PCBs for ADC and DAC.

Right now, first I want to discuss about ADC12DJ3200 power supply design for three ADCs.

As ADC12DJ3200 is a giga sample ADCs, power supply should be noise free.

The maximum power consumption for one ADC12DJ3200 in datasheet is :

POWER MODE/JMODE

Symbol

Voltage(V)

Typical Current Consumption 1 ADC(mA)

Power Consumption for 1 ADC(W)

POWER MODE 4/JMODE3:Dual Channel 16 lanes DDC bypassed

IVA19

1.9

1260

2.394

IVA11

1.1

594

0.6534

IVD11

1.1

636

0.6996

 

 

 

Total Power consumption

~ 3.8

I have checked the ADC12DJ3200 EVM for recommended voltage regulators and following regulators are used in EVAL:

Symbol

Voltage(V)

Voltage Regulator DC-DC

Voltage Regulator LDO

IVA19

1.9

TPS62085(3A)

TPS7A7200(2A)

IVA11

1.1

TPS62085(3A)

TPS74401MRGWREP(3A)

IVD11

1.1

 

Now the power consumption for three ADCs is as follows:

POWER MODE/JMODE

Symbol

Voltage(V)

Typical Current Consumption three ADCs(mA)

Power Consumption for 3 ADC(W)

POWER MODE 4/JMODE3:Dual Channel 16 lanes DDC bypassed

IVA19

1.9

3780

7.182

IVA11

1.1

1782

1.9602

IVD11

1.1

1908

2.0988

 

 

 

Total Power consumption

11.241

 

As we can see the current consumption of three ADCs exceeds the current consumption of a single DC-DC regulator used in EVAL board.

We are planning to use single DC-DC regulator for all three ADCs(separate for 1.1v and 1.9v; as done in val ) and individual LDOs for three ADCs.

Please suggest some low noise regulators which we can use with ADC12DJ3200 without compromising performance of ADC.

Also, it will be very helpful if you guys suggest some power supply design scheme; like should we go for single regulator for three ADCs or all three ADCs should be powered form separate regulators.

 

Thanks,

Lalit

Viewing all 262198 articles
Browse latest View live


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