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

LDC1612: No change in the LDC 1612 Output Data Codes, independent of any movement (large or small) in front of the sensor

$
0
0

Part Number:LDC1612

I'm using the LDC1612, attached to the TMS320F28069M C2000 MC, and I have the LDC module connected to the M coil from the LDC reference coils.

I'm communicating with the module through an I2C communication, and I am able to read and write data no problem, except that when I move my metal target either away from or towards the sensor, there is no corresponding change on the output code for that channel. I'm reading the data approximately every 1.5 seconds, with the quickest read-time being ~.75 seconds. Yet, I see large distances (during which there was constant movement of the target) where the LDC data register does not change at all.

The target is an aluminum plate roughly 5 times larger than the sensor, and at it's farthest position it is ~3.05mm away, and closest at 1.95mm. As per the Configuration design spreadsheet provided by TI, I configured the module with the following settings:

RegisterAddressSetting
RCOUNT_CH00x080x131E
RCOUNT_CH10x090x131E
OFFSET_CH00x0C0x0000
OFFSET_CH10x0D0x0000
SETTLECOUNT_CH00x100x0021
SETTLECOUNT_CH10x110x0021
CLOCK_DIVIDERS_CH00x140x1001
CLOCK_DIVIDERS_CH10x150x1001
CONFIG0x1A0x5401
MUX_CONFIG0x1B0x020C
RESET_DEV0x1C0x0000
DRIVE_CURRENT_CH00x1E0x9000
DRIVE_CURRENT_CH10x1F0x9000

With the Error Config register set to 0xF800, as well. These settings should permit me a ~.25 micron resolution, according to the spreadsheet. Yet, here is my recorded plot of the distance (relative to 2mm center point):

As very clear, there are entire ranges of axial movement where no change in the data code is recorded at all. If it's relevant, in the DATA_MSB_CH1 register, the Errors bits are all zero, except for CH1_ERR_AE which is high each time I read it (yet the Status Register does not say there is a problem, for some reason). 

Thanks in advanced!


CCS: Importing deleted project into CCS

$
0
0

Tool/software: Code Composer Studio

Hi,

I recently deleted a project from my work space in CCS and now when I try to import the project back into CCS it is not allowing me to do so. Is there something that I am missing?

Thanks!

Aaron

AM3359: RTOS PRU compilation warning

$
0
0

Part Number:AM3359

Hi,

The "[W0004] Open block(s) at EOF" warning still occurs in the icss_emac firmware build process in Processor SDK 4.3, any option in the latest PRU compiler release or update to the attached firmware open (Please visit the site to view this file)source code to fix the warning? The full log is as followings:

C:\ti\pdk_am335x_1_0_10\packages\ti\drv\icss_emac>gmake >icss_emac_warning.txt

"/ti/pdk_am335x_1_0_10/packages/ti/drv/icss_emac/firmware/icss_dualemac/src/micr

o_scheduler.asm", WARNING! at EOF: [W0004] Open block(s) at EOF

"/ti/pdk_am335x_1_0_10/packages/ti/drv/icss_emac/firmware/icss_dualemac/src/emac

_MII_Rcv.asm", WARNING! at EOF: [W0004] Open block(s) at EOF

"/ti/pdk_am335x_1_0_10/packages/ti/drv/icss_emac/firmware/icss_dualemac/src/emac

_MII_Xmt.asm", WARNING! at EOF: [W0004] Open block(s) at EOF

"/ti/pdk_am335x_1_0_10/packages/ti/drv/icss_emac/firmware/icss_dualemac/src/emac

_statistics.asm", WARNING! at EOF: [W0004] Open block(s) at EOF

Thanks,

Garrett

OPA354: Where to add gain for a SAR driver?

$
0
0

Part Number:OPA354

Hello,

We have a circuit with these functional block:
1. Differential analog front end -  basically a high input impedance diff amp with high decimation and CMRR
2. Anti-alias filter
3. ADC input driver

To achieve the desired common-mode performance, the differential front-end significantly decimates the measured signal(/1000). As a result I need to include gain(*25) somewhere in downstream circuits to scale the signal for full-scale input to the adc.

In the past we’ve used a unity gain amplifier of sufficient BW with a charge-bucket to drive the input of the SAR ADC per TI recommendations in app notes.

What is the best amplifier block in this configuration to include the gain of 25 needed for this design? Should we add to the anti-alias filter (two stage 3rd order Bessel filter), so each stage is set to a gain of 5. Or would it be better to design the anti-alias filter with unity gain and have the 25x gain into the non-inverting stage being used to drive the SAR.

I can share a schematic offline.

Thank you very much, Keith

MSP432E401Y: ADC/I2C Threshold Interrupt

$
0
0

Part Number:MSP432E401Y

Hi,

I'd like to set interrupts for 2 devices I have attached to my microcontroller, one on the I2C and one on ADC, and I would like that interrupt to trigger whenever the values cross a certain threshold I define. Is the optimal way to do this? I currently just poll the devices to see if they have moved above/below the threshold. Any examples/documentation that you could provide would be greatly appreciated, thank you.

DS280DF810: PRBS operation

$
0
0

Part Number:DS280DF810

I have the same scenario as described in this locked thread. I want to use the PRBS generator output and cannot provide an RX input on the channel. I note that there many registers are reserved. Can someone provide register settings / sequence to force the CDR block to actually lock at its free-running frequency and actually generate PRBS output at its free-running frequency (with no RX reference input)? 

DP83849ID: ESD Protection Recommendation for POE Application

$
0
0

Part Number:DP83849ID

My customer is using DP83849IDVS in a POE application and they are experiencing ESD failure with the device. The design already includes TVS diodes (12KV/15KV) on the TPTDP_A, TPTDM_A, TPRDP_A, TPRDM_A, TPTDP_B, TPTDM_B, TPRDP_B, and TPRDM_B pins. What other protection recommendations do you have for this application?

CC2564: Basic driver modules for the bluetooth devices.

$
0
0

Part Number:CC2564

Are there ant basic drivers for the CC2564 and Bluetooth devices? The required function in the Demo programs are difficult to understand and follow. 
I have an application that only needed limited capabilities and not the full Bluetooth functions.


CCS/TMDSIDK437X: XDS GDB agent with XDS200 external debug probe

$
0
0

Part Number:TMDSIDK437X

Tool/software: Code Composer Studio

I have a AM437x IDK Evaluation board interfaced via an external XDS200 probe connected to a Linux system via USB.  I can download to the board using CCS7 and everything is fine.

I am trying to use GDB as a debugger and have fired up the XDS GDB console agent as described in http://processors.wiki.ti.com/index.php/XDS_GDB_Agent  I can connect but I have discovered that it is using the built-in XDS200 on the development board.  That device downloads very slowly (1Kbyte/sec) and is unusable.  I proved that by disconnecting the USB cable plugged directly to the IDK board (leaving the external probe connected) and verified the CCS7 works fine but XDS GDB does not connect.

I followed the instructions for finding the "testBoard.dat" file to configure the XDS GDB agent.  Does anyone how to change the configuration so that the XDS GDB agent will use the external probe?

Thanks,

Cliff

ADC07D1520RB: FMC connection

$
0
0

Part Number:ADC07D1520RB

Hi,

    I'm using your ADC07D1520 evaluation board now. I know there is an FMC connector. What's the FMC type? LPC or HPC?

Best,

Feiran

WEBENCH® Tools/LM5001: Simulation in Sepic Mode

$
0
0

Part Number:LM5001

Tool/software: WEBENCH® Design Tools

Hello E2E,

I am seeing an odd response to a design.  See 

Does that 2nd error mean that there is no calculator available for using the LM5001 in Sepic mode?  Or at least in this configuration?  The weird thing is that it works at a load of 200ma.  Is there a part limitation?

Russell

CCS/RM48L952: Is it possible to have more than one project configuration with different build properties in same project?

$
0
0

Part Number:RM48L952

Tool/software: Code Composer Studio

Hi,

  We are using CCS version 6.0.1.00040. We want to have one project where I can have different driver builds from HalCoGen, and then be able to selectively build for the target or variations on the target. Can I have more than one build configuration with different compiler and linker options and paths without having to exclude directories/files? Or do I need to upgrade to a newer Code Composer? Thank you.

Linux/BEAGLEBK: Using VirtualBox for USB RNDIS boot

$
0
0

Part Number:BEAGLEBK

Tool/software: Linux

This isn't an actual question, I just wanted to post a follow up to my original question which is now locked:

Not being able to use a Virtual Machine is a real problem for me as I run Ubuntu and don't want to mess up my machine configuration with the RNDIS / DHCP configuration.

Although VirtualBox does not currently support RNDIS devices (at least I couldn't find a solution), I found a work around by bridging network devices into the virtual machine.

1.  On the Linux Host, setup UDEV to run a script when the Sitara RNDIS device is inserted:

/etc/udev/rules.d/40-setup_rndis.rules:
ACTION=="add", SUBSYSTEM=="net", KERNEL=="usb*", RUN+="/usr/local/bin/setup_rndis.sh start '%E{INTERFACE}' %k %n"
ACTION=="remove", SUBSYSTEM=="net", KERNEL=="usb*", RUN+="/usr/local/bin/setup_rndis.sh stop"

2.  On the Linux Host, edit /usr/local/bin/setup_rndis.sh

IF=${INTERFACE}

cat <<EOF > /etc/NetworkManager/conf.d/$IF.conf
[keyfile]
unmanaged-devices=mac:$(ifconfig $IF | head -n 1 | awk '{print $5}')
EOF

service network-manager force-reload

ifconfig ${IF} 0.0.0.0 up
ifconfig br0 up || brctl addbr br0
brctl addif br0 ${IF}


3.  In VirtualBox, make your network interface "Bridged" to br0

Yes, you are bridging your VBox interface to a bridge.  :)   The USB interface frequently goes up and down, so adding it to a bridge stabilizes the connection between the Host and VM.

Now, whenever the RNDIS device is inserted, the USB Interface will be added to the br0 bridge.  The virtual machine is bridged to that interface, so it will get all network traffic from the Sitara.  The VirtualMachine can run the DHCP server and TFTP and serve u-boot, zImage, etc to the Sitara.

BQ28Z610: 2S battery with no balance connector config

$
0
0

Part Number:BQ28Z610

It would seem as though this configuration can only handle up to 5V with VC1 tied to VC2.  The datasheet in section 7.3 Shows VIN (VC1) = VSS to VSS+5V.

I am trying to do this very setup with a 2S1P 4.2V/cell.  It is an external battery which does not have the cell balancing terminal.

The Bat Pin voltage and Pack Pin voltage are reading correctly, however, The voltage measurement (register 0x08/0x09) goes to zero when the pack voltage reaches > 6V.

Thoughts?

BQ28Z610: 2S1P system (not pack) application

$
0
0

Part Number:BQ28Z610

Hello,

I am using the BQ28z610 in a system (not pack) application.  The battery is external to the main PCB which has the gauge on it.  The pack already has charge/discharge protection therefore I'm not using any of the pack protection elements so the schematic is simplified.  Schematic attached.  The pack is 2S1P configuration 8.4V (4.2V/cell) 600mAh.  The battery will be embedded in the device and is not user replaceable.  

The Battery voltage gauge in BqStudio always shows 0V and Cell 1 voltage and Cell 2 voltage are always 0, but Bat pin voltage and Pack pin voltage are correct.

I have disabled any protections in the protections registers, since I don't need them.  I have also raised the limits on the over-voltage and under-voltage protection.  I have cleared the CC0 bit to enable "single cell" mode.  I have also disabled balancing.  

If I use an external power supply to drive a little voltage to the pins instead of using the battery, I get a good voltage reading when less than 6V.  When the supply is set to > 6V, then BQstudio shows 0V as the voltage in registers 0x08/0x09.

Picture of the schematic is attached.  Is this device just not capable of such a configuration or is it just a matter of getting the register configuration correct?

I have followed the recommendation in this thread: 


TMP275: Measurement Error Due to Aging

$
0
0

Part Number:TMP275

The datasheet specifies +/-0.0625°C change over 500 hours.  How do I extend this out in time?  I believe drift over time will generally decrease logarithmically.  If that's the case, by what factor does the drift decrease every 500 hours or every year?

Thanks,

Mike

DRV2700EVM: DRV2700EVM Software Crashes and does not connect

$
0
0

Part Number:DRV2700EVM

Just got brand new board. When I connect it to my PC, no new devices are detected.

When I try to run PiezoControlConsole, it starts and disappears (crashes).

When I start EVMFirmwareUpdater, it does not see device (No BSL device found).

TXB0304: How to deal with TXBN0304RSV unused pin

MSP432P401M: 5V ADC Input

$
0
0

Part Number:MSP432P401M

Hi team,

We are interested in using the precision ADC on the MSP432P401M to interface to a 5V sensor. Do we have any reference designs or schematics showing our device connected a 5V sensor through a level shifter or voltage translator?

We require 16 bits of resolution. Is there another MCU in our portfolio capable of handling 5V and also has a 16-bit ADC?

Regards,

Akash

EV2400: EV2400 LabVIEW Compatible?

$
0
0

Part Number:EV2400

Hi Team,

Do we have any collateral that would allow a customer to implement the EV2400 SMBUS interface into LabVIEW Teststand?

Thanks,
Alex

Viewing all 262198 articles
Browse latest View live


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