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

ADS1298: CLKSEL line floating

$
0
0

Part Number:ADS1298

We recently made a prototype board in which we accidentally swapped the CLK and CLKSEL. The intent was to pull CLKSEL  high and leave CLK floating, but we did it the other way around. See below:

There is no information in the datasheet about whether CLKSEL is pulled up or down, but we cannot talk to the device (no activity on DOUT line when trying to read a register). The previous version of this prototype used the flat pack version and it worked, so we know the code and rest of the circuit are okay. 

Finally, since CLK was accidentally brought out, I piped in a 2.048MHz clock signal, but this still didn't get things working. So is it just an illegal state for CLKSEL to be floating? Does it need to be tied hard high or low in order for the device to work?

-Jamie


CCS/ADS1220: ADS1220 SPI 24bit communication with MCU

$
0
0

Part Number:ADS1220

Tool/software: Code Composer Studio

I am designing project which employed ADS1220 to measure ananlog. Now I meet with a SPI interface issues, that ADS1220 equips with 24bit SPI interface acted as slave, but normally MCU's SPI is 16bit interface acted as master, for example TI's ARM processor TM4C1294 series. It looks that SPI format is incompatible between TM4Cx and ADS1220. I configured MCU's GPIO as alternate functionality SPI mode, it has four wires, which are MOSI, MISO, CLK, and CS. The manual writes that after SPI sent 16 bit CS will become HIGH level automatically, and clock signal ends up. but ADS1220 needs 24 bit clock then CS become HIGH level. I don't know how to solve this issues. Many ADC SPI interface is 24bit in TI ADC catalog. I think this is a common problem. Any solution for me? thanks!

RTOS/TDA3XEVM: Enabling black and white mode for night video

$
0
0

Part Number:TDA3XEVM

Tool/software:TI-RTOS

Hi,

We are working on TDA3x with visionSDK 3.1. And our usecase is Rear view panorama. Now the video is in colored mode for both Day and Night. We need to make night video as black and white. Is there any provision in SDK to make video in black and white mode ?

CCS/EK-TM4C1294XL: Unable to read peripheral registers on launchpads

$
0
0

Part Number:EK-TM4C1294XL

Tool/software: Code Composer Studio

Trying to see any register other than the core registers gives the error "unable to read". With launchpads, I get an error in the console that reads "CORTEX_M4_0: Trouble Reading Memory Block at 0x40013000 on Page 0 of Length 0x4: Debug Port error occurred."

I see this error on 5 PCs running CCS version 7.3 or 8.0

The attached image shows the error.

I also can't read the peripheral registers through a XDS110 debug probe. The target chip is TM4C129XN in this case. The console error is not printed out.

CC debugger driver on windows 10 (64-bit)

$
0
0

Hi,

I have a CC debugger. I installed Smart RF Flash Programmer, but when I plug in the CC debugger it looks like the driver is not correctly installed:

Also, I tried to install "Cebal - CCxxxx Development Tools USB Driver for Windows x86 and x64 (Rev. A)".  It didn't help.

Do you support Windows 10? If yes, please advise where I can find the correct drivers.

Thanks

CCS/CC3200: Hardware interrupt, GPIO

$
0
0

Part Number:CC3200

Tool/software: Code Composer Studio

Hello,

I am new to CC3200 device .  I am trying hardware interrupt with CC3200. I am modifying blinky example of CC3200 SDK .

Below is my ISR

void pushbuttonhandler(void)

{

LEDBlinkyRoutine();

// write your code here.


GPIOIntDisable(GPIOA2_BASE,GPIO_PIN_6);

GPIOIntClear(GPIOA2_BASE,GPIO_PIN_6);

IntDisable(INT_GPIOA2);

}

int
main()
{


BoardInit();

MAP_PRCMPeripheralClkEnable(PRCM_GPIOA1, PRCM_RUN_MODE_CLK);

MAP_PRCMPeripheralClkEnable(PRCM_GPIOA2, PRCM_RUN_MODE_CLK);

// 3 SYSY CLOCK AFTER GPIO CLK ENABLED //

MAP_UtilsDelay(10);

PinTypeGPIO(PIN_64, PIN_MODE_0, false); //

GPIODirModeSet(GPIOA1_BASE, 0x2, GPIO_DIR_MODE_OUT);//GPIO 10
PinTypeGPIO(GPIO_PIN_6, PIN_MODE_0, false);

GPIODirModeSet(GPIOA2_BASE, GPIO_PIN_6, GPIO_DIR_MODE_IN);
GPIOIntTypeSet(GPIOA2_BASE, GPIO_PIN_6, GPIO_FALLING_EDGE); // GPIO 22 sw pin

IntRegister(INT_GPIOA2, &pushbuttonhandler);

IntPrioritySet(INT_GPIOA2, INT_PRIORITY_LVL_1);

GPIOIntClear(GPIOA2_BASE, GPIO_PIN_6);

IntPendClear(INT_GPIOA2);

IntEnable(INT_GPIOA2);

GPIOIntEnable(GPIOA2_BASE, GPIO_PIN_6);
//
// Initialize Board configurations
//


//
// Power on the corresponding GPIO port B for 9,10,11.
// Set up the GPIO lines to mode 0 (GPIO)
//
PinMuxConfig();
GPIO_IF_LedConfigure(LED1|LED2|LED3);

GPIO_IF_LedOff(MCU_ALL_LED_IND);

//
// Start the LEDBlinkyRoutine
//
//LEDBlinkyRoutine();
while(1)
asm(" NOP");
return 0;
}

void LEDBlinkyRoutine()
{
//
// Toggle the lines initially to turn off the LEDs.
// The values driven are as required by the LEDs on the LP.
//
// GPIO_IF_LedOff(MCU_ALL_LED_IND);
while(1)
{
//
// Alternately toggle hi-low each of the GPIOs
// to switch the corresponding LED on/off.
//
MAP_UtilsDelay(8000000);
GPIO_IF_LedOn(MCU_RED_LED_GPIO);
MAP_UtilsDelay(8000000);
GPIO_IF_LedOff(MCU_RED_LED_GPIO);
MAP_UtilsDelay(8000000);
GPIO_IF_LedOn(MCU_ORANGE_LED_GPIO);
MAP_UtilsDelay(8000000);
GPIO_IF_LedOff(MCU_ORANGE_LED_GPIO);
MAP_UtilsDelay(8000000);
GPIO_IF_LedOn(MCU_GREEN_LED_GPIO);
MAP_UtilsDelay(8000000);
GPIO_IF_LedOff(MCU_GREEN_LED_GPIO);
}

}

in above code  : GPIO22   is hardware interrupt

                       GPIO9   , GPIO10, GPIO11 , is ledblink routine

I am observing that without interrupt at GPIO22 Pgramme counter is going to ISR . Why it is happing?

RTOS/CC2640R2F: How to enable uart interrupt and receive Data

$
0
0

Part Number:CC2640R2F

Tool/software:TI-RTOS

Hi,

I need to receive data via uart using interrupt( uart hardware interrupt) Can anyone suggest me how enable interrupt and receive data with an example.

Thanking you,

Vijay Rakesh

WEBENCH® Tools/CC2530: No. of devices can connect to network

$
0
0

Part Number:CC2530

Tool/software: WEBENCH® Design Tools

How many devices can connect to zigbee coordinator.....

I have see NWK_MAX_DEVICE_LIST 20 ??

which means I think 20 device can connnect am I right?????


OMAP-L138: Flash Memory Compatibility Recommendations?

$
0
0

Part Number:OMAP-L138

Hello,

We have a customer who wouldl ike to know if the OMAP-L138 would work with this Cypress flash module: S29GL01GS11DHIE20

Also, is there a list of flash devices that would be recommended for use with the OMAP-L138?

Thank you,

CCS/MSP432P401R: Is there any "UART" example code for MSP432P401R?

$
0
0

Part Number:MSP432P401R

Tool/software: Code Composer Studio

Hi,

I am using the MSP432P401R launchpad. I want to send some data from MSP432P401R through the UART TX. Is there any example code regarding UART so that I can use it for my purpose?

Mohammad Arifur Rahman

RTOS/TDA2: Use Case generation error in VisionSDK while executing ./vsdk_linux.out

$
0
0

Part Number:TDA2

Tool/software:TI-RTOS

Hi,

I am trying to create a use case & referring the document (VisionSDK_UserGuide_UsecaseGen.pdf , present in docs folder of vision_sdk.) While executing the file "vsdk_linux.out".

I followed following steps:

1.Created the simple use case file. chains_capture_display.txt (attached the file) .

2. I tried to Run the executable “vsdk_linux.out” for linux platform using following command.

./vsdk_linux.out /home/varshavanga/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/apps/src/rtos/usecases/chains_capture_display.txt -img -file -path
/home/varshavanga/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/apps/src/rtos/usecases/

  I received the following errors:

 /usr/lib/libstdc++.so.6: version ``GLIBCXX_3.4.20'   not found & /usr/lib/libstdc++.so.6: version ``GLIBCXX_3.4.21'not found

  Executed following commands to overcome those errors: 

  1. $ sudo add-apt-repository ppa:ubuntu-toolchain-r/test

 2. $ sudo apt-get update

 3. $ sudo apt-get install libstdc++6-4.7-dev

After executing above commands encountered following error.

./vsdk_linux.out: relocation error: ./vsdk_linux.out: symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

Do I need to install any other packages or dependencies to eliminate this error?

-Thanks,

Varsha(Please visit the site to view this file)

CC2650: PWM output in BareMetal Application (NoRTOS)

$
0
0

Part Number:CC2650

Hi Experts,

 I have a small question. I need to enable a PWM output in a CC2650. The Problem is, there are no explicit or implicit description how to connect a timer PWM output to the PIN of the CC2650.


I'd like to use a GPT1 and my code is the following (the power and other stuff is already done and works fine)

#define IOC_PORT_MCU_PORT_EVENT1  0x00000018  // MCU PORT EVENT 1

#define BSP_KEY_POLL_CFG        (IOC_CURRENT_2MA  | IOC_STRENGTH_AUTO |       \
                                 IOC_IOPULL_UP    | IOC_SLEW_DISABLE  |       \
                                 IOC_HYST_DISABLE | IOC_NO_EDGE       |       \
                                 IOC_INT_DISABLE  | IOC_IOMODE_NORMAL |       \
                                 IOC_NO_WAKE_UP   | IOC_INPUT_DISABLE)

void initPWMTimer(uint32_t Timer,  uint32_t prescaler, uint32_t period, bool PauseOnDebug, uint32_t PWM_Pin) {
  TimerConfigure(GPT1_BASE, TIMER_CFG_A_PWM);           // set mode to PWM
  TimerLevelControl(GPT1_BASE, Timer, FALSE);         // PWM Active HIGH
  TimerWaitOnTriggerControl(GPT1_BASE, Timer, FALSE); // Time does not need any activation signal
  TimerStallControl(GPT1_BASE,TIMER_BOTH,PauseOnDebug); // Stop counting on debug?
  TimerPrescaleSet(GPT1_BASE, Timer, prescaler);
  TimerLoadSet(GPT1_BASE, TIMER_BOTH, 0xFFFFFFFF);      // Set Max Value
  TimerMatchSet(GPT1_BASE, TIMER_BOTH, 0);              // Set PWM time
  TimerEnable(GPT1_BASE,TIMER_A);                       // Start timer
 
  IOCPortConfigureSet(PWM_Pin, IOC_PORT_MCU_PORT_EVENT1, BSP_KEY_POLL_CFG);
}

You can see, I have already connected the PIN to the MCU event handler, the exact question is how to connect the MCU event handler to the General Purpose Timer_1 PWM output???

Best Regards

D.Krush

CC3220: RMII interface for CC3220

$
0
0

Part Number:CC3220

Hi Support,

are we offering support for customers that need to interface our chip / modules to a MCU-MPU-SoM offering RMII interface only?

Thanks and regards,

Alberto

UA9637A: Using This IC for Differential Encoder

$
0
0

Part Number:UA9637A

Hello,

I have a differential output encoder that I need to convert to single-ended output to use with my data acquisition device. The encoder output is composed of 5V pulses from the encoder.

Will this IC be sufficient for this task? 

Please let me know if I have to provide more information.

Linux/TMDXIDK5718: Boot timing and reporting

$
0
0

Part Number:TMDXIDK5718

Tool/software: Linux

Hi 

I'm using TI SDK with u-boot-2017.01+gitAUTOINC+c68ed086bd-gc68ed086bd.

I enabled Boot timing:

On the console I see the following:

Issue 1): Why is the output partly clobbered?

After linux is started I dumped the "bootstage" part of the devicetree into a file:

find /proc/device-tree/bootstage/ -type f -exec head {} + | less >bootstage.txt

Below the file.

Issue 2)

Can you explain what is the meaning of the node name  (e.g. 45) and the mark attribute (e.g. id=15).

As an example I see "bootstage_mark_name(BOOTSTAGE_ID_MAIN_LOOP, "main_loop"); in the code. but in the tree I see object name 44. BOOTSTAGE_ID_MAIN_LOOP is defined as 171.

Regards, Chris


RTOS/CC1310: cc1310 multi nodes average rate

$
0
0

Part Number:CC1310

Tool/software:TI-RTOS

Dears,

   I have one question, when many sensor nodes connect to the collector at the same time, what average rate is? I didn't find it in our datasheet.

TPS62742: TPS62742 overcurrent behaviour

$
0
0

Part Number:TPS62742

Hello,

i'am looking for a Buck Converter with ultralow quiecent current.

The device i want to power in my application draws approx 150mA average. There are current spikes of 500mA for a few milliseconds (max 20ms / duty less than 1%) during RX activity.

At the moment iam using the LM3671 which can supply up to 600mA but draws 16uA quiecent current :( 

So here are my questions:

What will happen if i draw 500mAmps from the TPS62742 in a very short period of time? The efficency is not relevant in that moment.

Is it possible that the output transistor gets damaged due to the high induction voltage or the current? Usually i suppose there may be a output voltage drop only.

Do you have an alternative ultralow quiecent current IC? Unfortunately a "shutdown" is not an option in my application.

Kind regards

Tino

LMX9830: LMX9830

$
0
0

Part Number:LMX9830

Hello, we're still using the LMX9830 on one of our older products (I realize its now NRD) and lately have been receiving complaints from the field on units not pairing or inconsistent pairing problems. Aaron answered questions I sent concerning the device revisions thinking maybe we had some old devices. Spending a lot of time lately trying to narrow down the problem. What I see now on over 20 units is that they won't pair up if the temperature is on the chilly side (below 50 degrees F). I don't get anything out on the VCO OUTPUT pin (F8) until the 9830 is brought up close to room temperature. Then it pairs up with no problem. Has anyone heard or seen this problem? Could this be a solder problem (cold / weak connections to the balls)?

Any help appreciated.

Dan Ross - AST INC. 

SNJ54LS06FK - Need Lead Finish

$
0
0

Hello,

We have a customer asking for the lead finish for this device. Neither the product folder, nor the datasheet have this listed, it simply says "POST-PLATE".

Could someone please look in to this?

Thanks,

Linux/66AK2G12: eHRPWM Driver question

$
0
0

Part Number:66AK2G12

Tool/software: Linux

Hello,

I am using Linux SDK 04.02.00.09 and am attempting to use the eHRPWM peripheral on the 66AK2G12 processor to control a PWM fan in Linux.  According to the wiki (http://processors.wiki.ti.com/index.php/Linux_Core_PWM_User%27s_Guide) I should be able to find a configuration option for this peripheral under Device Drivers -> Pulse Width Modulation (PWM) in menuconfig.  I am only able to find the eCAP driver under this section.  

Is the eHRPWM driver not supported for 66AK2G12?  Is there a list of drivers not supported by this platform on Linux?  

Thank you,

Jeff

Viewing all 262198 articles
Browse latest View live


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