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

ads131e08 datasheet

$
0
0

Datasheet SBAS561A page 51 says "Before device power-up, all digital and analog inputs must be low. At power-up, these signals should remain low until the power supplies have stabilized". We can't fulfill this (and maybe no one can) but I suspect that what you are talking about is risk for latch-up, and if so, I hope you can give further details on the requirement.

Regarding digital input signals, we have 10kohm pull-ups on Chip select, clock select, power down, data ready and start pin, and I can't see how we can avoid that.

Regarding analog input signals, we have differential signals, 5 variants:
a) - input is 0V (within 10mV), + input is up to +/-60mV, 1kohm series resistor (on each pin). Note: + input can be up to +/-12V for a short while, before start-up of ADC.
b) 304mv differential (+152mV on + input, -152mV on - input) via 3,1kohms (on each pin)
c) - input is 0V, + input is +94mV via 1,9kohms (in total)
d) - input is 0V, + input is +170mV via 1kohms (in total)
e) - input is 0v, + input is +175mV via 7kohms (in total)


Is this acceptable? Otherwise we have a problem.


AM3703 USB Testmode

$
0
0

Hello,

We have a USB issue on the AM3703 at cold temperature and we would like to generate an eye diagram from the onboard USB host controller.  I have a bare-metal memory test app that can be executed by u-boot.  I have tried without success to program the controller in the USB test mode to generate the test_packet required for the USB eye diagram.  I have the manual for the AM3703, and I can see the register set does support the test_mode, but I have not succeeded in getting it into test_mode.

As I understand it, the official USB compliance app from the USB-IF only runs on Windows, which doesn't help us with our embedded product.  I have also looked at the linux testusb code but it does not do what we want.  I don't believe our USB driver has support for this either, which would probably not be desired in a production driver anyway.

We are using kernel version is 2.6.39 armv7l

I was thinking even some pseudo code might help get me there .   I'm guessing my problem is with the L3 or L4 interconnect, as what I have seen so far is that when I try to read or write to the USB Host register set, I get data aborts.  My code has a data abort handler and that's where I end up.

For instance, I can access the General Purpose Timer 0 registers ok, and I can access the serial port ok, but for the USB host controller, I feel like I am not setting up some pre-requisite peripheral muxes or interconnects.    I have also tried to access the registers with different widths,:bytes, hword, word, etc but always get data abort.

Thanks for your help.

JC

No Matching Section *(c_mark)

$
0
0

I am upgrading legacy code from CCS v1.2 to CCS v5.2. I know that its a big leap, but everything compiles. However, I get a linking error:

<Linking>
"../TisU.cmd", line 26: warning #10068-D: no matching section
                  *(.c_mark)

It's complaining a line in the BOOT.ASM file, in the const_init function that copies the .const section from program to data memory.

.sect "c_mark"

The old map file shows this entry:

const     0    00004bb2    00000230     RUN ADDR = 00002000
                  00004bb2    00000000     BOOT.obj (.c_mark)


With the new version, BOOT.obj is not created, and the new map file does not contain an entry under the const section for BOOT.obj.

BlueZ with CC2540

$
0
0

I am trying out bluez on linux with CC2540 - I tried out hciattach since after I plugged in the device, it enumerated a serial device & got - 

$ sudo hciattach /dev/ttyACM0 texas 57600
Found a Texas Instruments' chip!
Firmware file : /lib/firmware/TIInit_0.2.16.bts
Loaded BTS script version 1
TI init command failed.
Can't initialize device: Input/output error

Is this the right way to enable BlueZ on CC2540 dongle ? Where can I find - TIInit_0.2.16.bts ?

TM4C129 Ethernet bootloader

$
0
0

I need for my project Ethernet bootloader. PreviouslyIwas usingEthernet Bootloader for Stellaris (RDK-S2E). I have found in TivaWare bl_emac.c file but I can't finde example project. The code looks very similar to Ethernet Bootloader for Stellaris (TFTP, BOOTP etc.). Does anyone usethisbootlader code?

TUSB3410 Port not enumerated in Windows 7

$
0
0

Our customers are sometimes having a problem when installing the drivers on new Windows 7 systems. The drivers appear to install correctly, and the COM port shows up under device manager, but when our software runs it cannot find the COM port.  When we present a list of COM ports to the user (by enumerating the list from Windows Registry) the port does not show up.

We are using driver version 6.5.9018.1 for Windows 7 installations.

Sometimes the ports work just fine in Windows 7, and sometimes they do not.  I am not sure if the problem only happens on 64 bit versions of Windows 7, but it is possible.

Our customers running Windows 8 are installing version 6.7.1.0 and are not reporting this issue, so it appears to be either a Windows 7 problem, or a problem related to version 6.5.9018.1, or both together.

Does anyone know of this issue?  Is there a solution? 

Thanks for any and all help.

Joseph Muscarella

InfoSight Corporation

Does SysCtlDelay have counter wrapping issues?

$
0
0

I have found useful posts on how to use SysCtlDelay to implement a usec delay function.  (all my controllers run at > 1MHz).  So I ended up with a function that reads like:

inline void TMR_DelayUS(UINT8 usec) {
    // See user TivaWare user guide or
    // http://e2e.ti.com/support/microcontrollers/stellaris_arm/f/471/t/143842.aspx
    // or search for SysCtlDelay
    SysCtlDelay(usec*SysCtlClockGet()/1000000/3);
}

If I were to write this function my self using a timer, I would have to consider timer overflow.  I assume SysCtlDelay is using the sys clock timer, but does the code consider when the timer overflows?
Warning:  I have still not written a GPIO toggle function and put the above code to a test with an oscilliscope. 

P.S.  see below for better code.

ble 1.3.2 peripheral stack remains in connected state after central dies

$
0
0

I'm debugging an issue where a BLE peripheral device remains in the GAPROLE_CONNECTED state after I kill the central device.  It remains in this state for a very long time perhaps forever.  Shouldn't there be some sort of timeout so that we can revert to advertising state?

To test: 

use cc2540 dongle  as central device with btool

connect cc2540 DUT as peripheral to the cc2540 dongle central

unplug cc2540 dongle without disconnnect

notice the cc2540 DUT remains in GAPROLE_CONNECTED state for a very long time.


Memory Browser not working in CCS v5.3

$
0
0

Hi,

I installed CCS v5.3 on Ubuntu Linux and installed the plugins into my existing Eclipse v3.8.2 installation.  The problem is that when I try to bring up the memory browser and enter a memory address, it just shows a blank memory tab.  I also tried upgrading to CCS v5.5, but the memory browser still does not seem to work.  The problem is not restricted to a particular processor either, I get the same behavior on MSP430F2619 and TMS320F28034.

With CCS v5.2 the memory browser works just fine.  The memory browser works just fine while debugging IA32 Linux applications.  Also, CCS v5.3 on Windows without installing plugins into an existing eclipse installation does not seem to have this problem.

Any ideas what could be wrong?

Expressions Window / Variable Watch fails for flash variables

$
0
0

If you declare a variable in flash memory, like so:

#pragma PERSISTENT;

#pragma LOCATION(0x1800);

volatile MissionTimeType missionTime = 0;

When you try to view the variable by hovering, or in the expression window, you will get the wrong value.

It appears the IDE has the wrong address for the variable, as doing something like &missionTime, in this case, shows the wrong address (0x3000 in my case)

Using the latest and greatest version of CCS.

Large 3D array

$
0
0

I am using MSP430f6638 and code composer studio 5.5.0

I created an array

char graphic_data[2][8][64];
in a program.

When i compile this program, it compiles successfully , but when i go into debug mode, the debug toolbar doesn't become active.

but when i reduce the size of the array

char graphic_data[2][8][8];

it works fine.

also in the top figure the msp430 is always running, it is never suspended.
and in the other figure the msp30 is suspended.

is there any problem with memory allocation done by compiler?
how may i fix it?

TCA6408 ADDR pin configuration

$
0
0

Hi,

Our customer has a question about ADDR pin configuration.

I consider the following figure.

Is it correct?

Best Regards,

Kato / Japan disty

Installing TUSB3410 driver files on customer PCs

$
0
0

We currently have a product that uses the TUSB3410 to provide USB connectivity. We have modified the INF file to have our VID, PID, and description. This works, at least on XP, but it requires more user interaction that we would like.

When installing our software we copy the driver files to C:\Program Files\(OurFolder)\Drivers. When the user connects the device, they have to browse to (OurFolder)\Drivers and the correct sub-folder underneath that. This causes no end of confusion.

The first thing I did is to get the latest driver, 6.7.2 (we had been using 6.5.9017).
This file contains an exe, when when run installs a bunch of files to
C:\Program Files (x86)/Texas Instruments Inc/TI_WDF_USBUART_SINGLE_DRIVER_V6.7.2_WHQL/
Inside that folder is another setup.exe file, which when run copies files to C:\Windows\tiinst. Neither of these places is searched by windows when looking for a driver.

1) Am I supposed to run one or both of those exe files on the customer machine? Or should my installer copy some or all of the extracted files to the customer machine? If so, which files and where should they be placed? (I realize that I have to replace the INF file with my edited version that has the correct VID and PID numbers.) What can I do so that windows will automatically find the appropriate driver files when the device is plugged in.

Why are these files distributed as installers rather than a zipped folder? Does either one of the installers do something else that I must do in my own installer? Or that requires me to run your installer on the customer machine?

2) Will this driver work for Win 8 and 8.1? There is a November forum post that points to a 6.7.1 driver specifically made for Win8 -- is that post obsolete?

3) The current drivers won't install on some Win7 machines -- windows doesn't want to install the unsigned driver. From browsing the net, it appears that this is related to either Secure boot or Win7-64 or both. How can we get the drivers installed on these machines?

Thanks for your help,

ADS1672 will not do free running

$
0
0

Hi

In one of our new designs, we are using the ADS1672 ADC.

When we toogle the start pin, we can get one fine ADC value, but when we hold the start pin high to make it free running, the output looks wrong.

We use an external sclk and SCLK_SEL = 1

Other setup parameters:

LL_config = 0

FPATH = 1

CS = 0

Here is an picture of a single adc measurement (start toggle) where the Dout is OK:

And here is a picture of the free running mode (start held high), where Dout is not ok:

 

Any ideas of why we can make good measurements when toggling the start pin, but not in free running mode?

Problem connecting to Piccolo controlCARD F28035 using CCS4.2.4

$
0
0

Hi everyone!

I'm trying to test the High Voltage Solar Inverter DC-AC Kit, using the Piccolo F28035 controlCARD (my kit came with 2 controlCARDs).

So, I followed the User Guide and used the program example that came in ControlSuite. I loaded properly the program and configured the Target Configuration file. And I used the Rebuild All. No errors or warnings appeared.
But, when I use the Debug Active Project, the CSS freezes in the step: " Connecting to target 'Texas Instruments XDS100v2 USB Emulator_0/C28xx' ".
The operation keeps running indefinitely and even if I press the Cancel Button the operation doesn't finish. So I have to unplug the USB cable to stop the operation by the error -1135 (connecting error).

I have no idea what to do. I checked the USB ports, the USB cable. I went to device manager and it is ok, it is appearing the 2 devices, "TI XDS100 Channel A" and B.

Please, someone help me.


Wrong structure size / sizeof() returns too big value

$
0
0

Hi,

one of my structures comes with a too big size although I'm already packed the alignment to 1:

#pragma PACK(1)

struct posframe
{
   unsigned short x,y,z;
};

struct freqframe
{
   unsigned int period;  // divider value for EHRPWMPWMOpFreqSet(pwmFreq); calulated based on frequency of 10MHz
   unsigned short pulse; // counter value for turning pulse off for EHRPWMLoadCMPA(CMPAVal); maximum size is period-2
};

struct mframe // mark frame, sent to device
{
   unsigned char mtype;
   union
   {
      struct posframe  pos;
      struct freqframe freq;
      unsigned int     value;
   } d;
};

When I do a sizeof(struct posframe) the returned size is 6 (which is correct).

When I do a sizeof(struct freqframe) the returned size is 6 (which is correct too).

But when I do a sizeof(struct mframe) the returned value is 9 instead of 7.

Any idea why mframe is too big?

Uniflash and MSP430F5438 Experimenter Board Programming

$
0
0

Hi,

I recently spoke to a TI support rep on the phone regarding programming the MSP430F5438 Experimenter Board. The rep told me it would be possible to program the board through CC using its built in USB port and the Uniflash tool. Is this configuration possible and if so what are the correct settings to use with Uniflash?


Thank you,

Peter

About VOH/VOL difference of SN65LVDS101 & SN65LVP20

$
0
0

Is anything reasonable although the spec. of VOH/VOL differs between SN65LVDS101 and SN65LVP20?

Moreover, can it use combining SN65LVDS101 and SN65LVP20?

Thank you for your consideration.

BQ24297 Sample Codes

$
0
0

Hello,

Are there any sample codes for the BQ24297 charger? 

I have a customer looking for code examples to be incorportated into his embedded code.  I've provided the EVM User guide and the bq24295, 96, 97 V0003 Setup
Software
 to help them get started but was not able to find any sample codes.  Please let me know.

Best Regards,

Chuchen

BQ27421-G1 Sample Codes

$
0
0

Hello,

Are there any sample codes for the BQ27421-G1 fuel gauge?

I have a customer looking for code examples to be incorportated into his embedded code.  I've provided the EVM User guide, quickstart guide, and TI Guage Studio Tool to help them get started but was not able to find any sample codes.  Please let me know.

Thank you,

Chuchen

Viewing all 262198 articles
Browse latest View live


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