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

AWR1642BOOST: dump raw .bin files for MATLAB

$
0
0

Part Number:AWR1642BOOST

My customer has the below question:

Is there is an option to dump raw .bin files that I can load in MATLAB on my own for processing, is there a place that the file structure of that file is listed?


AWR1642BOOST: programming kit for non production

$
0
0

Part Number:AWR1642BOOST

Hello, My customer has the below question:

Once the chip is configured the way we want and the radar system is operational how do we program a stand-alone chip? Is there another dev kit or program kit that allows a chip to the “press fit” for a flash then removed for installation on a substrate? This will not be a production level operation but a simple test of  substrate compatibility and in house design technique experimentation

TPS51200: K2H query

$
0
0

Part Number:TPS51200

1. TPS51200 part can source up to 4.5A max and sink up to 5.5A max (mentioned in datasheet spec). But in TI site it is mentioned as


3A Sink/Source DDR Termination Regulator w/ VTTREF Buffered Reference for DDR2, DDR3, DDR3L and DDR4

 can you please confirm if it can support 4.5A and 5.5A max?

2. our requirement is to power 10*DDR3 ICs. so there are 14 address lines,6command lines and 3 control lines=28 lines in total. 12mA for sourcing and 13mA for sinking.

for one IC, VTT current =28*13= 0.35A 

If same memory controller is connecting channel A to 5*DDR3 SDRAM and Channel B to another 5 DDR3 SDRAM where address, command and control lines are common, how the source and sink current will get affected here? will it be For 10 IC, Current is 3.5A ?

Kindly revert at the earliest.

Thanks and Regards,

Vidhya

CC1310: CMD_PROP_RX_ADV addrConf.addrPos

$
0
0

Part Number:CC1310

We are trying to implement address filtering for an address that is not immediately after the header. Is addrConf.addrPos meant to be used as an offset from the end of the header? The description "Nonzero to extend address with sync word identifier" does not sound like it. If this is not the correct parameter then is there some other way to implement address filtering for an address that is deeper inside the payload?

CCS/MSP432P401R: MSP432P401R ADC14 SAMPLE AND CONVERSION CLARIFICATION WITH DRIVERLIB

$
0
0

Part Number:MSP432P401R

Tool/software: Code Composer Studio

I am looking at an application where i need to implementing an algorithm on samples obtained simultaneously from a pair of inputs. Can the ADC14 module be used with driverlib?

To clarify, when 2 external inputs are used, which of the following occurs:

a) The sample and hold module samples all inputs simultaneously but conversion occurs one after the other with each channel result stored in a separate memory buffer.

b) The sample and hold module will perform a full sample and convert cycle on one input channel, then proceed to perform another sample and convert cycle on the next channel.

Approach a) will be ideal for my algorithm. 

ADS1256: Single ended buffer inputs- to system ground or 2.5V reference?

$
0
0

Part Number:ADS1256

We are using the ADS1256 to digitize 8 channels of single-ended information. Because our system is 5 V full scale on all inputs, we are not using the PGA or inbuilt buffer. I read an earlier discussion that suggests capacitors may need to be connected to the inputs of the ADC to maximize settling time. Are they tied to system ground or to AINCOM, and hence the 2.5V reference?

Thanks:

Ross Stanley

TLV320DAC3203: Audio Distortion in TLV320DAC3203

$
0
0

Part Number:TLV320DAC3203

Hi ,

I am using tlv320dac3203 codec. I getting audio distortion and hiss noise. Please find the register values below,

I2Cx_Write(codec, 0x00 , 0x00 );
I2Cx_Write(codec, 0x01 , 0x01 );


// 48KHz
I2Cx_Write(codec, 0x0b , 0x88 );

I2Cx_Write(codec, 0x0c , 0x81 );

I2Cx_Write(codec, 0x0d , 0x00 );
// 32-bit(2-channel)
I2Cx_Write(codec, 0x0e , 0x20 );

// bit clock divider
I2Cx_Write(codec, 0x1e , 0x81 );

//bclk-wclk = input to codec
I2Cx_Write(codec, 0x1b , 0x00 );
I2Cx_Write(codec, 0x04 , 0x10 );

I2Cx_Wrie(codec, 0x3c , 0x08 );

I2Cx_Write(codec, 0x00 , 0x01 );
I2Cx_Write(codec, 0x01 , 0x08 );
I2Cx_Write(codec, 0x02 , 0x01 );
I2Cx_Write(codec, 0x7b , 0x01 );
I2Cx_Write(codec, 0x14 , 0x25 );
I2Cx_Write(codec, 0x0a , 0x00 );
I2Cx_Write(codec, 0x0c , 0x08 );
I2Cx_Write(codec, 0x0d , 0x08 );
I2Cx_Write(codec, 0x03 , 0x00 );
I2Cx_Write(codec, 0x04 , 0x00 );
I2Cx_Write(codec, 0x10 , 0x00 );
I2Cx_Write(codec, 0x11 , 0x00 );
I2Cx_Write(codec, 0x09 , 0x30 );
//mdelay(1000 * 3);
I2Cx_Write(codec, 0x00 , 0x00 );
I2Cx_Write(codec, 0x3f , 0xd6 );
I2Cx_Write(codec, 0x40 , 0x00 );

Please help me to get the issue fixed.

Thanks in advance.

RTOS/TDA3XEVM: AEC : Center weight

$
0
0

Part Number:TDA3XEVM

Tool/software:TI-RTOS

Hi,

We are running Rear view panorama usecase in VisionSDK3.1. Image sensor is 0V10640 and it is working in linear mode (not HDR).

When a headlight comes in the scene, it looks better/smaller when headlight is in center of the frame. As the headlight move towards edges or corner of the frame more spreading is observed. What can be the reason for this ? More weight/preference is towards the center now.

How can we change this so that headlights falls corners also looks better ? We checked TRM and could not find anything related to this. Please give your suggestions on this.


RTOS/MSP-EXP430FR5994: bigtime_MSP_EXP430FR5994_TI example project fails during Task_construct.

$
0
0

Part Number:MSP-EXP430FR5994

Tool/software:TI-RTOS

Having installed TI v16.9.6.LTS into CCS 7.4.0.00015 running under Windows 10 Home v1709 (64-bit) the bigtime_MSP_EXP430FR5994_TI example project fails during Task_construct.

Source file bigtime.cpp, line 151.

Running program suspends at ti_sysbios_family_msp430_Hwi54() at HwiFuncs.c:598 0x005440     
#if defined(__ICC430__)
#pragma vector = 54 * 2
#else
#pragma vector = 54;
#endif
__interrupt Void ti_sysbios_family_msp430_Hwi54(Void)
{
    while(1){};  // line 598
}
Something wrong with memory?

During debugging as follows:

main() at bigtime.cpp:151 0x01153A    
and step into    Task_construct(&task0Struct, (Task_FuncPtr)clockTask, &taskParams, NULL);

ti_sysbios_knl_Task_construct(struct ti_sysbios_knl_Task_Struct *, void (*)(unsigned long,unsigned long), struct ti_sysbios_knl_Task_Params *, struct xdc_runtime_Error_Block *)() at bigtime_pe430X.c:10 076 0x012D52     
and step into   iStat = ti_sysbios_knl_Task_Instance_init__E((xdc_Ptr)__obj, fxn, &__prms, __eb);  

ti_sysbios_knl_Task_Instance_init__E(struct ti_sysbios_knl_Task_Object *, void (*)(unsigned long,unsigned long), struct ti_sysbios_knl_Task_Params *, struct xdc_runtime_Error_Block *)() at Task.c:682 0x0113EE     
line 682   and step over    tsk->priority = params->priority;

tsk->priority has old value (-1 or 0xFFFF) instead of params->priority equal to 1 as default

Next statement, line 685: if (params->stackHeap == NULL)

stackHeap is a pointer and has value = 0x00000000::     stackHeap    struct xdc_runtime_IHeap___Object *    0x00000000 {__fxns=0x00F0D032 {__base=???,__label=1073692671}    0x00002B6C    
and is compared to NULL
which is defined within std.h:

/* NULL must be 0 for C++ and is set to 0 in C to allow legacy code to
 * compile without warnings.
 *
 * If xdc__strict is defined, NULL is defined to be a pointer to allow
 * maximal type checking in "modern" C sources
 */
#undef NULL
#if defined(__cplusplus) || !defined(xdc__strict)
#define NULL 0
#else
#define NULL ((void *)0)
#endif

Debugger evaluates (params->stackHeap == NULL) as false
and the next statement, line 689:    tsk->stackHeap = params->stackHeap;
step over
and nothing happend:      tsk->stackHeap points to 0xFFFFFFFF instead of to default 0x00000000.

Later on, the local stackSize changes value from 0 to the correct 512.

And finally, line 769:     status = Task_postInit(tsk, eb);

goes with uninitialised  struct ti_sysbios_knl_Task_Objec pointed by tsk

tsk    struct ti_sysbios_knl_Task_Object *    0x00005200 {qElem={next=0xFFFFFFFF {next=???,prev=0xFFFFFFFF {next=???},priority=...    Register R9    
    *(tsk)    struct ti_sysbios_knl_Task_Object    {qElem={next=0xFFFFFFFF {next=???,prev=0xFFFFFFFF {next=???},priority=-1,mask=65535,context=...    0x00005200    
        qElem    struct ti_sysbios_knl_Queue_Elem    {next=0xFFFFFFFF {next=???,prev=0xFFFFFFFF {next=???}    0x00005200    
        priority    int    -1    0x00005208    
        mask    unsigned int    65535    0x0000520A    
        context    void *    0xFFFFFFFF    0x0000520C    
        mode    enum ti_sysbios_knl_Task_Mode    0xFFFF    0x00005210    
        pendElem    struct ti_sysbios_knl_Task_PendElem *    0xFFFFFFFF {qElem={next=???,task=???    0x00005212    
        stackSize    unsigned int    65535    0x00005216    
        stack    unsigned char *    0xFFFFFFFF "2\320\360"    0x00005218    
        stackHeap    struct xdc_runtime_IHeap___Object *    0xFFFFFFFF {__fxns=???    0x0000521C    
        fxn    void (*)(unsigned long,unsigned long)    0xFFFFFFFF    0x00005220    
        arg0    unsigned long    4294967295    0x00005224    
        arg1    unsigned long    4294967295    0x00005228    
        env    void *    0xFFFFFFFF    0x0000522C    
        hookEnv    void * *    0xFFFFFFFF {???}    0x00005230    
        vitalTaskFlag    unsigned short    65535    0x00005234    
        readyQ    void *    0xFFFFFFFF    0x00005236    
        curCoreId    unsigned int    65535    0x0000523A    
        affinity    unsigned int    65535    0x0000523C    

Task_postInit(tsk, eb) initialises stackSize 65536 long and it must fail.

tirtos.mak shows that tirtos_msp43x_2_20_00_06 was generated (I assume) under the following conditions:

ccs6:
$(DEFAULT_INSTALL_DIR)/ccsv6/tools/compiler

older compilers:
ti.targets.msp430.elf.MSP430X ?= $(TI_INSTALL_DIR)/ti-cgt-msp430_15.12.1.LTS
ti.targets.arm.elf.M4F        ?= $(TI_INSTALL_DIR)/ti-cgt-arm_15.12.1.LTS

XDCTOOLS:
XDCTOOLS_INSTALL_DIR        ?= $(DEFAULT_INSTALL_DIR)/xdctools_3_32_00_06_core

I created a bunch of copies of the tirtos_msp43x_2_20_00_06 directory and compiled TI-RTOS
with TI v16.9.6.LTS with debug and release for both xdctools_3_32_00_06_core and xdctools_3_32_02_25_core.

Task_construct() works fine within ampty_min example but still fails when running bigtime.

It is my first post on this forum.

Your help is very appreciated.

Thanks and regards,

Tomasz

UCC2891: Datasheet clarification reference voltage vs. temperature

$
0
0

Part Number:UCC2891

Hi folks - 

The data sheet for UCC2891 , figure 18 includes a graph of voltage vs. die temperature. What are the units on this graph? 

Thanks ,
Jake

TINA/Spice/SN74AUP2G32: need ibis model, or spice one

$
0
0

Part Number:SN74AUP2G32

Tool/software:TINA-TI or Spice Models

Hello guys, can you generate an spice/ibis model for this part, or point me to a similar part with equivalent characteristics

TLV320ADC3101-Q1: I2C rise time and fall time specifications

$
0
0

Part Number:TLV320ADC3101-Q1

Hi Team,

I looked in the datasheet, but was not able to find the I2C rise and fall time specifications listed. Would it be possible to obtain the specifications so that I can make sure the I2C master is producing the appropriate timing waveforms?

Thank you!

Jared

CCS/TMS320F28377S: Exporting Linker -> File Search Path items

$
0
0

Part Number:TMS320F28377S

Tool/software: Code Composer Studio

I have a set of code that I'd like to move to another machine. Items like compiler include paths are transferable if I use Export -> C/C++ Project Settings

Is there a similar export I can do for Linker -> File Search Path? I have had to manually enter these paths on every machine I wanted to build the code on. 

BQ25122: Default voltage value on VSYS pin of BQ25122YFPT charger module

$
0
0

Part Number:BQ25122

Hello guys,

We are using BQ25122 module in our current design to charge and manage the battery. The board is designed, manufactured and assembled. We did some tests today and we measured 1.2V on the VSYS pin. However, in section 9.2.2.1 of a datasheet, it says VSYS default is 1.8V.

1.8V of voltage is enough for our processing system to power up and to establish I2C communication with BQ25122 and set the desired value on VSYS output pin (to 3.3V). 1.2V that we currently have are unfortunately not enough so we are now stucked.

Is there anything we are missing here? What is the default voltage on VSYS output pin ?

Thank you very much for your time and effort.

Sincerely,

Bojan.

CCS/TMS320F28377S: Where to find XDS510USB drivers for CCSv7

$
0
0

Part Number:TMS320F28377S

Tool/software: Code Composer Studio

I read that these are included in the CCSv7 installation, but on one of my machines the XDS510USB is not recognized. Is there somewhere I can find the driver for this part?


F28M36P63C2: M3 I2C Module gets I2C_MASTER_ERR_ARB_LOST errors even though only one master exists

$
0
0

Part Number:F28M36P63C2

We occasionally get I2C_MASTER_ERR_ARB_LOST errors while using using the I2C module in the MWare/driverlib libraries (v207). However, we only have a single master on this bus.

There is an I2C driver between the MCU and the peripheral devices (see below schematic) which we have added because there is a long physical distance separating them, ~1 meter. Would the presence of the I2C driver cause the MCU to think it would lose arbitration when starting an transaction? When I examine the SCL and SDA lines, they are both held high, which means the bus is free. So I am wondering why the MCU cannot gain control of the bus.

MSP432P401R: Using Timer A to count the length of multiple pulses (rising and falling edges)

$
0
0

Part Number:MSP432P401R

Hi all,

I have a device with 3 rotary encoders that output a pulse whose duty cycle changes proportionally to the angular position of the shaft. So, to read the angles, I need to determine the time difference between the rising and falling edge of of each pulse. I know that I need to use the capture function of Timer A, but I'm not sure how to do so.

Another issue is that I'd like to perform ADC conversions and read SPI messages at the same rate frequency to send them to a PC via UART. So basically I'd like to read the pulse lengths, ADC values, and SPI messages once every x seconds (or milliseconds) to send them in a data stream to my PC. So I'd like to do this all within a Timer A interrupt so I can ensure a constant update rate. 

I know people have suggested using interrupts to assign the value in the corresponding capture compare register to a variable, but since this is all within a timer A interrupt, I'd like to avoid doing so. 

I've used other microcontrollers that have a feature where upon detection of a rising or falling edge, the current value of the counter is saved in a register to be accessed later. This would be ideal so I can avoid using any interrupts besides the overall timer A interrupt (I would access the value in the register within the timer A interrupt). I don't know if this is a feature of the MSP432. If so, can you explain how to do so? Otherwise, I'd like to another way of doing so that isn't too interrupt heavy (because UART transmissions and SPI readings need to have the highest priorities).

I've added my code below to show you what I have so far:

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

void init_clocks(void);
void init_timers(void);

I only included the capture mode configuration for one of the encoders, but the others follow the format.

float q[3] = {0.0, 0.0, 0.0;               // Joint Angular Positions
float q_dot[3] = {0.0, 0.0, 0.0};           // Joint Angular Velocities
static float q_prev[3] = {0.0, 0.0, 0.0};   // Variable to hold previous time step angular position

// Timer to control capture, ADC, and SPI reading updates
const Timer_A_UpModeConfig upConfig_1 =
{
        TIMER_A_CLOCKSOURCE_SMCLK,              // SMCLK frequency = 3 MHz
        TIMER_A_CLOCKSOURCE_DIVIDER_10,         // 3 MHz/ 1 = 300 kHz
        6000,                                  // 6000 * 1 / 300 kHz = 0.02 s (50 kHz) period
        TIMER_A_TAIE_INTERRUPT_DISABLE,         // Disable timer interrupt
        TIMER_A_CCIE_CCR0_INTERRUPT_ENABLE ,    // Enable CCR0 interrupt
        TIMER_A_DO_CLEAR                        // Clear value
};

// q4 (encoder 1) capture mode configuration
const Timer_A_CaptureModeConfig captureModeConfig_q4 =
{
        TIMER_A_CAPTURECOMPARE_REGISTER_1,        // CC Register 1
        TIMER_A_CAPTUREMODE_RISING_AND_FALLING_EDGE,          // Rising Edge
        TIMER_A_CAPTURE_INPUTSELECT_CCIxA,        // CCIxA Input Select (try B)
        TIMER_A_CAPTURE_SYNCHRONOUS,              // Synchronized Capture (try Asynchronous)
        TIMER_A_CAPTURECOMPARE_INTERRUPT_DISABLE,  // Disable interrupt
        TIMER_A_OUTPUTMODE_OUTBITVALUE            // Output bit value
};

{
    WDT_A_holdTimer();              // Stop watchdog timer
    MAP_FPU_enableModule();
    MAP_Interrupt_disableMaster();

    // Initialize Peripherals
    init_clocks();
    init_timers();

    // Start Counters/ISRs
    MAP_Timer_A_startCounter(TIMER_A1_BASE, TIMER_A_UP_MODE);

    MAP_Interrupt_enableSleepOnIsrExit();
    MAP_Interrupt_enableMaster();

    while(1){}
}

// ISR to get magnetic encoder values
void TA1_1_IRQHandler(void){

}

void init_clocks(void){
    // ** Make sure clocks are at desired frequencies
    MAP_CS_setDCOFrequency(24.0E+6); // DCO = 24 MHz
    MAP_CS_initClockSignal(CS_SMCLK, CS_DCOCLK_SELECT, CS_CLOCK_DIVIDER_8); // SMCLK = 3 MHz
}

void init_timers(void){
    // Initialize timer that controls UART transmission and capture, ADC, and SPI updates
    MAP_Timer_A_configureUpMode(TIMER_A1_BASE, &upConfig_1);
    MAP_Interrupt_enableInterrupt(INT_TA1_0);
    // Initialize capture modes
    MAP_Timer_A_initCapture(TIMER_A2_BASE, &captureModeConfig_q4);
    MAP_Timer_A_initCapture(TIMER_A2_BASE, &captureModeConfig_q5);
    MAP_Timer_A_initCapture(TIMER_A2_BASE, &captureModeConfig_q6);
}
-----------------------------------------------------------------------------
I've left the timer 1 ISR blank since I haven't figured out my strategy. That is what I'm hoping to fill out with your answer!
I only included the capture mode configuration for one of the encoders, but the others follow the format. Essentially, every Timer 1 interrupt,...
I would subtract the count of the falling edge from the rising edge and convert that to a time (I have the conversion factor).

There are a few things I don't understand about the configuration struct:
- Since I'm using both rising and falling edges, does that mean the value in CCR1 is populated with the rising edge count and subsequently, the falling edge count? If that's the case, how could I get the difference if one count value is lost when the other is found?
- The pulses are coming from an external wire. Should the input select be CCIxA or Vcc? I plan on attaching that wire to the TA1.1 pin on the MSP432.
- Can you explain what OUTPUTMODE_OUTBITVALUE means?

Thanks in advance,

B

CCS/MSP432P401R: See details below. Error: Project-spec import cannot be resolved: ${COM_TI_SIMPLELINK_MSP432_SDK_INSTALL_DIR}/kernel/tirtos/builds/MSP_EXP432P401R/release/ccs/tirtos_builds_MSP_EXP432P401R_release_ccs.projectspec!

$
0
0

Part Number:MSP432P401R

Tool/software: Code Composer Studio

This problem has been driving me crazy for three days. After googling for 10 hours I could not resolve this problem. Whenever I import from my downloaded SDK plugin or from Project Explorer, it doesn't let me do so.
1. CCS v8.0
2. SDK BLE Plugin 1.40.00.42
3. TI RTOS for CC2650
4. TI RTOS for MSP432

Would like to receive help ASAP, because I need to finish my project. 

TINA/Spice/TPS92630-Q1: TPS92630-Q1 Sim ckt

$
0
0

Part Number:TPS92630-Q1

Tool/software:TINA-TI or Spice Models

Customer sent us this asking how he can get the single LED short detection to work (attached, best to open with notepad++). He would like a response by Friday. Is there anything we can do to support this?

Regards,

Kevin

(Please visit the site to view this file)

TINA/Spice/TMS570LS1114: SPNM055 IBIS Model oscillator pin capacitance

$
0
0

Part Number:TMS570LS1114

Tool/software:TINA-TI or Spice Models

Hello Team,


Can you assist on the following inquiry:

Customer states:

Can you tell me something about 570LS1114 oscillator pins' capacitance? IBIS file (in spnm055) show only  BGA package model capacitances for OSCIN and OSCOUT pins, but silicon part description (IOSCHF33FTHY_NI and OOSCHF33FT, respectively) isn't included - neither their capacitance.

Datasheet doesn't help either with missing oscillator pin capacitance value. Acceptable / recommended crystal load capacitance value range is also missing.

Your support would be greatly appreciated.

Viewing all 262198 articles
Browse latest View live


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