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

Starterware/AM3356: GPIO edge detection for both edges

$
0
0

Part Number:AM3356

Tool/software: Starterware

Hi.

The next is related to am355x soc and built-in gpio controller.

I want to invoke callback1 on RISING EDGE and callback2 on FALLING EDGE from gpio interrupt handler.

From the datasheet i understood, that for enabling both edges interrupts on pin N

i should write this pin number to GPIO_RISINGDETECT and GPIO_FALLINGDETECT registers.

But how do I know if irq was caused by rising or by falling edge?

Thank you.


AM5728: PCIe PHY ref clock as output

$
0
0

Part Number:AM5728

Hi,

I just wanted to confirm that there are no issues for the AM5728 to set the PCIe PHY clock as an output and let the SOC internally generate this clock.

BTW, I did see comments on e2e that this is ok, and did not see anything in the errata, so think it is ok.

Thanks,

--Gunter

CC2650STK: Sensortag wakeup from sleeping by accelerometer ISR (MPU9250)

$
0
0

Part Number:CC2650STK

Hi, 

For my design based on the sensor, I do not need to have the Bluetooth connection permanently. I need to login on demand only. 
On the other hand to save the battery, I would like to place the MPU in Low Power mode, and it wakes only when it detects an acceleration. I thought using the sensorMpuSleep function (void) in order to be awakened by the interruption of activity. If I understand everything, I must use the bool SensorMpu9250_enableWom (uint8_t threshold) function to implement the activity detection. In what order should I proceed?
bool SensorMpu9250_enableWom (uint8_t threshold)
sensorMpuSleep function (void)

But how configured interrupt to wake up RTOS?

Any idea, advise, sample code or example?

Best regards

RTOS/TM4C129ENCPDT: TI RTOS crashes on dynamic initialization of I2C and UART peripherals

$
0
0

Part Number:TM4C129ENCPDT

Tool/software:TI-RTOS

Hi, 

I am working on Multi threaded RTOS Enviroment, I am creating static thread for  UART module which worked fine , But when I create dynamic thread for the same module I get a error saying 

Error:E_noIsr.

Same thing happened when I tried with I2C module, It works in POC which is a individual task, But when I integrate it with our Multi threaded  Environment it crashes, 

I believe ISR table is getting corrupted or its not initialized properly, What can we do to make sure ISR is set properly? 

WEBENCH® Tools/MSP430F2274: Adding Time Delay to MSP430 for EZ430-RF2500T

$
0
0

Part Number:MSP430F2274

Tool/software: WEBENCH® Design Tools

Hi,

I have recently bought the eZ430-RF2500T wireless sensing device. After a lot of effort setting this device up (just as an aside I ran into issues with USB 3 on Windows 8 so had to opt for an older laptop with USB 2 ports running Windows 7 just in case others are stuck trying to get the development board working), I got the device working. Now I am trying to increase the time between sense operation, the default value based on the preloaded code is 1 second between temperature readings (the sample code can be found in a folder called slac139g). 

I have seen people use the function "__delay_cycles();" however I have read that this doesn't put the MSP into sleep mode. I have done some research and found that the correct method is to use timers, such as TimerA. This is where I run into trouble as I am unable to find the correct value I need to change to increase the timer value. I have found a parameter "TACCR0" which I have changed, however I get a warning message from the IAR Workbench saying "Warning[Pe069]: integer conversion resulted in truncation". I entered the value '180000' which based on a comment within the code would equate to a 15 second timer (comment says ~1 second = 12,000). This would indicate that the MSP can't have a TimerA with a value as large as 15 seconds, or is this warning message just a Workbench issue? Also is TimerA the correct timer to be using to create the required delay between  temperature readings? I have attached the code featured within the 'main.c' as a text file. Any help with this matter would be greatly appreciated. 

(Please visit the site to view this file)

Thanks,

Dave. 

BQ34Z100-G1: Sudden Jump in Remaining Capacity

$
0
0

Part Number:BQ34Z100-G1

We just went into production with a fuel gauge board that uses the bq34z100-G1 chip.  The battery we are pairing the fuel gauge with is a 7.5 Ah 4S LiFePO4 pack.

The first batch that we built was 9 batteries.  Our procedure is to program, calibrate, and test the fuel gauge boards, then pair them with the battery packs.  The packs get fully cycled twice and then we retest the fuel gauge boards in a fully discharged state.  All batteries passed and they were sealed up into their final housings (no longer can read ant info from the fuel gauge IC).  The batteries are then charged to just under 30% before they move from production to stock/shipping.  The batteries sat for several days but the next time they were checked the SOC had jumped to above 50%.  This happened on 8 of the 9 batteries.  Unfortunately theses packs with their gauges are fully sealed and i can not read any detailed information from the bq34z100-G1.

I have since brought through a larger batch of 20 fuel gauge boards.  Some boards have demonstrated the same jump, from 27-30% to 50-60%.  I have not been able to construct the circumstances under which this jump will always occur and have not been able to collect logged data on a battery capturing the jump or transition.  I have confirmed that it is the remaining capacity that jumps while the FCC stays virtually the same.

Under what circumstances can Remaining Capacity jump while the pack is relaxing?  I should note that sometimes the jump happens almost immediately after coming off of the 30% charge and sometimes it has taken 1-2 days.  The inconsistency of the problem has made it especially difficult to narrow down or capture.

What information would help in diagnosing the underlying problem.

Thanks,

Matt

CCS/TDA3XEVM: .CMD Format

$
0
0

Part Number:TDA3XEVM

Tool/software: Code Composer Studio

Dear colleagues,

Now we are estimating migrationg our video system to Jacinto TDA35XXABFQ1 chip (DM505M) and want to test performance.
We use Spectrum Digital Starter Kit 15x15 TDA3x ES1.0 GP (EVMTDA3G-01-40-00 01NOV16 703754-1101 REV A).
Software we work at: CCS7, PROCESSOR_SDK_VISION_03_00_00_00, starterware_01_06_00_16.
At first I would like to make system part of software, based upon 2 Cortex-M4 IPUs.

At this moment I want to study .cmd file format for memory section definitions for multiprocessor configuration: 2 Cortex + 2 DSPs + EVE + .... something else.Can anybody point out most relevant document about .cmd file creation?

Complete list of TI .cmd keywords.

It would be nice to see comments how this file syntax change during the time.

Best Regards
Alex Norokh

TPS737: Unexpected oscillation happen in the application

$
0
0

Part Number:TPS737

Hi,

I am using TPS73701 as 3.3V LDO in the application.

Cin on Vin is 1uF and Cout on Vout is 10uF and 1nF is applied.

When Vin is supplied from power supply(Vout=3.6V, Imax set to 2A, Iout = 200mA) , LDO is oscillating which make multi tone to single tone RF signal.

Have you seen the issue on it?

By putting big capacitor in the output of Power supply, it can be disappeared. But it looks unusual.

I attached the application and measurement.


INA333-HT: Recommended PCB Footprint

$
0
0

Part Number:INA333-HT

I am specifying a INA333SHKJ component for a new high-temperature down-hole design.  The datasheet shows two versions of the ceramic part (one with long leads) and the other gull-winged.  The part I plan to use is the one with the long straight leads. I am assuming (maybe incorrectly) that the leads can be trimmed down close to the body of the part and used that way.  Or was this intended to be lead-formed by the end-user into a gull-wing package?  In any case, I would appreciate some guidance as to recommended PCB footprints for this device.

RTOS/AM4376: AM437x SK - eth1 does not respond to pings and does not send ARPs

$
0
0

Part Number:AM4376

Tool/software:TI-RTOS

I ran NIMU_BasicExample_skAM437x_armExampleproject example on a AM437x SK board. Eth0 responds to pings normally.

I´ve then modified the example to deal with 2 Ethernet ports, based on the NIMU_DualMacExample_idkAM572x_armExampleproject example. I´ve added a entry in the NIMUDeviceTable (NIMUDeviceTable[nimu_device_index++].init = &CpswEmacInit;), added Ip.ifIdx = 2 on the cfg file, added a network stack hook function for configuring a second static IP address (Global.stackInitHook = "&stackInitHook";) and the added the respective function on the main file.

1) eth1 does not respond to pings and does not send ARPs.

2) If I set the IP addresses to eth0=192.168.1.4 and eth1=192.168.1.5, at the inicialization the console shows:
[CortexA9] Network Added: If-1:192.168.1.4
00000.000 BindNew: Duplicate bindings ignored

But if  I set the the IP addresses to eth0=192.168.1.4 and eth1=192.168.2.5, at the inicialization the console shows:
[CortexA9] Network Added: If-1:192.168.1.4
Network Added: If-2:192.168.2.5

Installed itens:
CCS 7.2
GCC ARM Compiler 4.9.3
processor_sdk_rtos_am437x  4.00.00.04
am437x PDK v1.0.7
bios 6.46.05.55
xdctools 3.32.02.25_core

Thanks,
Marcio.

BQ27532-G1: Flags() command doesn't show BAT_DET correctly

$
0
0

Part Number:BQ27532-G1

Hi,

I am using BQ27532-G1 and bq24250 together on our board, and trying to do the BATTERY DETECTION and charging/ discharging check.

But every time i checked the Flags() command's return value for BAT_DET, it was alway set, even i only connect the board with USB(no battery). And the DSG bit of flag() is always 0 no matter the battery is charged or discharged. And in the test, the "OpConfig B" was configured to be 0x4A. 

But if i set the "BIT bit of OpConfig B" to be 0 and use BAT_INSERT and BAT_REMOVE command, then i could see the corresponding change of BAT_DET bit.

I thought it might because some variable in module's flash are not configured well. But the manual also says the BAT_DET and DSG bits are quite independent to these configuration. So, Can someone help me with this? 

Thanks,

Shiping

TMDSEVM6678: Problem installing Processor SDK RTOS on Linux

$
0
0

Part Number:TMDSEVM6678

I am trying to install C6678 Processor SDK RTOS for Linux, but am having trouble.

I successfully downloaded the file "ti-processor-sdk-rtos-c667x-evm-04.01.00.06-Linux-x86-Install.bin" to my Ubuntu 16.04.03 Downloads folder.

Having NOT found any documentation on the TI site for how to install this, I started a Terminal, cd to the Downloads folder, verified that the file was set as executable, and then ran the following command from the Terminal:

sudo ./ti-processor-sdk-rtos-c667x-evm-04.01.00.06-Linux-x86-Install.bin

It asked for my password, and then started running the installation GUI.  I selected everything for installation, and took the default /opt/ti installation folder.  Eventually I got the following error:

Warning:  Problem running post-install step.  Installation may not complete correctly.  Error running /opt/ti/cgt6x_x86_installer --prefix /opt/ti --mode unattended: child process exited abnormally.

Any ideas?  This is on a PC with fresh Ubuntu 16.04.03 installation.

CCS/TM4C129ENCPDT: I2C for the MPU6050

$
0
0

Part Number:TM4C129ENCPDT

Tool/software: Code Composer Studio

Hello; i am new using the IC2 protocol, I have use the arduino before but now I am planning to use the TM4C129, and the I2C examples do not show a way to write on registers from other slave devices like the MPU6050. I have one specific question..

How you select an specific register direcction from the slave and the how you modify it?

It is important for me to not use the MPU6050 or the MPU9150 available libraries or example codes, I would like to understand it just using write and read commands from the driverLib.

Thanks

ADC16V130: Help With Date Code Identification

$
0
0

Part Number:ADC16V130

Hello,

We have a customer who ordered the ADC16V130CISQE/NOPB from the TI Store.

The customer is asking for the date code.

I know this request sounds rudimentary, but the numbers seem ambiguous and out of place for this device (unless it's very old stock):

1st line: VM17ABE3

2nd line: ADC16V130

 

We have referred to this TI document:

 http://www.ti.com/lit/an/snoa039c/snoa039c.pdf

We have discussed this internally, and no one is clear on this.

My read is October, 2011.

Could someone please have a look at this and provide some feedback?

 

Thank you,

Gabe Garza

TI Customer Support

CC2650: Using Proxy binding in RemoTI 2.00.01.15

$
0
0

Part Number:CC2650

Hi all, thank you for your time to read this posting.

I am working on my project that based on the RNP project, which contain 1 recipient, and 2 originators. An external MCU is communicating/controlling the RNP using UART interface (NPI frames). The MAC addresses of the nodes can be shared out-of-band.

The following is what I did/sent from the MCU using UART to the RNP:

At the Recipient side,

0xFE 0x04 0x00 0x2A 0x21 0x00 0x00 0xE8 0x01 0xE6  (Reading the GDP BINDING CAP, which return 0x01, i.e. push button + validation)

0xFE 0x05 0x00 0x2A 0x22 0x00 0x00 0xE8 0x01 0x00 0xE4 (Writing the GDP BINDING CAP, with 0x00, to do just push button, in hope to skip validation or just reduce the complexity)

0xFE 0x0E 0x00 0x2A 0x22 0x00 0x00 0xE4 0x0A <8 bytes MAC> <2 bytes PAN> 0xD0 (Writing of the Proxy Binding info, which return 0xFE 0x01 0x00 0x6A 0x22 0x00 0x49, status 0x00, that is success)

0xFE 0x00 0x00 0x4A 0x31 0x7B (Send Allow Binding)

At the Originator side,

0xFE 0x0E 0x00 0x2A 0x22 0x00 0x00 0xE4 0x0A <8 bytes MAC> <2 bytes PAN> 0xD0 (Writing of the Proxy Binding info, which return 0xFE 0x01 0x00 0x6A 0x22 0x00 0x49, status 0x00, that is success)

0xFE 0x01 0x00 0x4A 0x30 0x01 0x7A (Sent start binding)

then in the sniffer, I can see the Pair Request message from the originator, then a Pair response from the recipient. However, the pair is not formed

Recipient return: 0xFE 0x02 0x00 0x4A 0x32 0xB4 0xFF 0x31 (I think the status returned is 0xB4, that is RTI_ERROR_NOT_PERMITTED)

Originator return: 0xFE 0x02 0x00 0x4A 0x30 0x54 0xFF 0xD3 (The status returned is 0x54, that is RTI_ERROR_BINDING_TIMEOUT)

What did I miss? Any suggestion and advice are welcome. Thank you again for your time reading this post.


MSP430F5359: IQMath library function _FtoIQ

$
0
0

Part Number:MSP430F5359

I am trying to use IQmathLib for MSP430 and MSP432 version 01.10.00.05.   A call to the function _FtoIQ(0.5) results in an error Error[e46]: Undefined external "_FtoIQ" referred in ...

I did not find any reference to this function in the provided header file IQmathlib.h.

The documentation Page 24 lists this function as available.  The documentation also recommends that the function  _FtoIQ() be used instead of the function _IQ() which also can convert floating point numbers into fixed point format. (due to performance overhead) The function _IQ() compiles and works as expected.

I was wondering if the  _FtoIQ() function has been removed from the library and the documentation has not been updated?.

RTOS/CC2640R2F: How to enable code protection on CC2640?

$
0
0

Part Number:CC2640R2F

Tool/software:TI-RTOS

Hello,

We want to enable code protection on CC2640R2. I'm looking for it on SWCU117, but there are some questions.

I need to disable JTAG for prevent code reading?

Are there any way to prevent only the code read?

Any example to explain how I'm configure for this?


TINA/Spice/THS4503: Cannot Simulate

ADC12DL040: ADC Amplifier Exhibiting Incorrect Behavior

$
0
0

Part Number:ADC12DL040

I am designing a system that incorporates the ADC12DL040 ADC. Page 27 of the datasheet gives the following example schematic for converting a single-ended signal into a 1V +/- 0.5V differential signal as required by the inputs to the ADC: 

With the following table for the values of the unspecified resistors: 

My signal input ranges from 0-0.5V, so I used the resistor values in the second row. I am trying to simulate the amp in LTspice with the following schematic: 

However, simulating a 0-0.5V linear DC sweep produces the following output, rather than two 1V +/- 0.5V signals: 

Any idea where the circuit is going wrong? Thanks!

TINA/Spice/UCC28070: TINA SPICE SIM

$
0
0

Part Number:UCC28070

Tool/software:TINA-TI or Spice Models

Hi

I want to ask you is there any chance i can simulate that controller with my power circuit. I dont want to use those BOOT_AVG block. I have not tryied yet , so can you tell if its possible or its gonna be loss of time. The only problem i can see is IRIPA and IRIPB is there a chance to lie somehow the chip.

Regards
Ilia

Viewing all 262198 articles
Browse latest View live


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