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

OPT3101: Power-on and off Sequence

$
0
0

Part Number:OPT3101

Hi,

Could you please tell me the recommended power-on and off sequence(3.3-V, 1.8-V and /RST_MS) ?

Best regards,
Kato


RTOS/LAUNCHXL-CC1352R1: LAUNCHXL-CC1352R1

$
0
0

Part Number:LAUNCHXL-CC1352R1

Tool/software: TI-RTOS

HI,

I want to use the internal flash memory for my  sensor example of the stack 15.4.Internally already functions developed to access the memory.

my question is in this example he used the ID's(system id,item id,sub id). like wise how many id's i can create and what is the maximum allowable data size for each id.

and is all the items stored sequentially

CCS/CC3200: CC3200 capture mode

$
0
0

Part Number:CC3200

Tool/software: Code Composer Studio

I want count the external event up to the buffer overflow afterwards Create the Interrupt 

CCS/DRA75: Examples showing error on uart console

$
0
0

Part Number:DRA75

Tool/software: Code Composer Studio

Hi,

I am using DRA7XX EVM board with DRA75 SOC. So I followed to rebuild the PDK examples for M4 core and using CCS v7 i generated the .out file. And now i am using dfu-util command to transfer this .out file to evm's m4 core by following but on executing, it gives erroneous result:

U-Boot SPL 2016.05-dirty (Oct 26 2018 - 15:12:28)
DRA752-GP ES2.0
Trying to boot from USB DFU
Using default environment

UNKNOWN IRQ type 1634759791
########################################DOWNLOAD ... OK
Ctrl+C to exit ...
find_resource_table: failed to get resource section header
find_resource_table: failed to get resource section header
load_elf_image_phdr_rproc : failed to find resource table
load_elf_image_phdr returned error for core IPU2
Error loading remotecore IPU2!,Continuing with boot ...
## No elf image at address 0xa1fff000
Error loading remotecore DSP1!,Continuing with boot ...
## No elf image at address 0xa27ff000
Error loading remotecore DSP2!,Continuing with boot ...
## No elf image at address 0xa0fff000
Error loading remotecore IPU1!,Continuing with boot ...

Am I missing something or am i going the wrong way??

SN74AVCH8T245: I need IBIS model for the QFN (RHL surfix) package

$
0
0

Part Number:SN74AVCH8T245

Hello,

IBIS model in TI.com provide IBIS for TSSOP and TVSOP packages.

I need model for QFN.

How can I get it?

thank you,

Ofer.

2W Audio Amplifier Recommendation

$
0
0

Could you please recommend a device?

The audio amplifier is used in the infotainment system.

The requirement is shown as follows:

  • Output Power: 2W to driver a 4ohm loudspeaker

  • Input: single analog input

  • The supply voltage: 5V or 12V

  • Speaker Channels: Mono

  • Control Interface: GPIO or Hardware

  • Others: the device with mute pin is preferred to prevent the cracking voice

 

Thank you.

RTOS/CC1310: Long range mode for CC1310

$
0
0

Part Number:CC1310

Tool/software: TI-RTOS

Hi,

This is regarding SmartRF Setting for Long Range communication using CC1310 Launchpad. I tested out with the 625bps legacy and the 2.5 simple link mode. Both gave similar range performance. In a dense non-LOS urban setting I was able to reach up to 300m and with up to 800m in clearer environment. I have the following question regarding the range improvement.

1. What is the difference between the two settings and which one is recommended?

2. I understand that lower data rate can provide longer communication range. What is the lowest supported data rate for CC1310?

3. How can I modify the 625bps or the 2.5kbps setting from the SmartRF setting to support even lower data rates. Something like 100bps of Sigfox, etc for increased range.

4. Is there some recommended SmartRF setting file that I can use for observing the longest possible range that the community here has tried?

Thanks for providing such an active forum.

BR,

MM

TMS570LS0432: Lifetime of TMS570LS3137

$
0
0

Part Number:TMS570LS0432

I am very interested in the road-map of TI Hercules parts.

We are planning on using the TMS570LS0432 in a product and I would like to know the products longevity and how it fits in to TIs future plans.

Many thanks,

Luke


CCS/CC1310: CC1310_LAUNCHXL_shutDownExtFlash() change PIN

$
0
0

Part Number:CC1310

Tool/software: Code Composer Studio

Hello Support Team,

i have a Problem with the CC1310_LAUNCHXL_shutDownExtFlash().

I want to shut down the external Flash in my application with this function.
My problem now is, that my colleague have made a mistake at our own designed Layout. 
The GPIO 20 is used, to power up the coil of our relai.

So when i activate the function  CC1310_LAUNCHXL_shutDownExtFlash(), the coil is powered up all the time, because the DIO20 is set High in the function.

PIN_setOutputValue(pinHandle, CC1310_LAUNCHXL_SPI_FLASH_CS, 0);
uint8_t i;
for(i = 0; i < 8; i++){
PIN_setOutputValue(pinHandle, CC1310_LAUNCHXL_SPI0_CLK, 0);
PIN_setOutputValue(pinHandle, CC1310_LAUNCHXL_SPI0_MOSI, (byte >> (7 - i)) & 0x01);
PIN_setOutputValue(pinHandle, CC1310_LAUNCHXL_SPI0_CLK, 1);
}
PIN_setOutputValue(pinHandle, CC1310_LAUNCHXL_SPI_FLASH_CS, 1);

 


I have to shut down the external flash, because the current consumption is otherwise to high in sleep mode with out it.

Is there a solution, to turn off the external flash, with out using the DIO20?

Thank you very much!


Bester regards
Sini

CCS/LAUNCHXL-F28379D: HRPWM - MEP scale factor in the example hrpwm_slider

$
0
0

Part Number:LAUNCHXL-F28379D

Tool/software: Code Composer Studio

Hello,

my problem is, if I change the value in "EPwm1Regs.CMPA.bit.CMPAHR", the output "PWM1A" on the board but does not change.

That's why I want to ask:

Does not in the example "hrpwm_slider" need to define the MEP scale factor in the register HRMSTEP?

If so, where can I find this assignment?

TMUX136: ON and OFF Capacitance

$
0
0

Part Number:TMUX136

The TMUX136 datasheet ON and OFF capacitance is series capacitance correct? Should we account for any shunt capacitance to GND/VDD?  Please advise.

Thanks,
Mark

 

RTOS/CC3200-LAUNCHXL: Specific memory address allocation to variable/macro cc3200

$
0
0

Part Number:CC3200-LAUNCHXL

Tool/software: TI-RTOS

Hi All,

I am working on CC3200-LaunchXL board with mqtt_client example as a reference to develop my final application.

Here in my application, i want to update the username, password along with other parameters of MQTT broker on user demand.

So to execute the above task, i am planning to use memory address to write and read address and use in my application.

I want to assign specific memory address to user macros or variable and which i can also update the data via serial communication. 

If any one can suggest me, how to assign and read data it would be very helpful for me?

Thanks and Regards

Rohit  

CCS/CC430F6137: Fixed _LT_FIFO code, transmit and receive 15 bytes of data is possible or not

$
0
0

Part Number:CC430F6137

Tool/software: Code Composer Studio

Sir,

I am using cc430f6137 Fixed _LT_FIFO example code. If button  press led toggle code is work done. It's working good. then,  I try to send 15 bytes of data is not working but 5 bytes of data is send well. If 15 bytes of data is send via RF communication is possible or not. If possible means how to do. here attached my code. please send soon.


#include "RF_Toggle_LED_Demo.h"

#define PACKET_LEN (0x05) // PACKET_LEN <= 61
//#define PACKET_LEN (0xFF) // PACKET_LEN <= 61
#define RSSI_IDX (PACKET_LEN) // Index of appended RSSI
#define CRC_LQI_IDX (PACKET_LEN+1) // Index of appended LQI, checksum
#define CRC_OK (BIT7) // CRC_OK bit
//#define PATABLE_VAL (0x51) // 0 dBm output
#define PATABLE_VAL (0xC0) // Max dBm output
extern RF_SETTINGS rfSettings;

unsigned char packetReceived;
unsigned char packetTransmit;

unsigned char RxBuffer[PACKET_LEN+2];
unsigned char RxBufferLength = 0;
//const unsigned char TxBuffer[PACKET_LEN]= {0xAA, 0xBB, 0xCC, 0xDD, 0xEE};
const unsigned char TxBuffer[PACKET_LEN]= {"Texas Instruments"};
unsigned char buttonPressed = 1;
unsigned int i = 0;

unsigned char transmitting = 0;
unsigned char receiving = 0;

void main( void )
{
// Stop watchdog timer to prevent time out reset
WDTCTL = WDTPW + WDTHOLD;

// Increase PMMCOREV level to 2 for proper radio operation
SetVCore(2);

ResetRadioCore();
InitRadio();
InitButtonLeds();

ReceiveOn();
receiving = 1;

while (1)
{
__bis_SR_register( LPM3_bits + GIE );
// __bis_SR_register( GIE );
__no_operation();

if (buttonPressed) // Process a button press->transmit
{
P3OUT |= BIT6; // Pulse LED during Transmit
buttonPressed = 0;
P1IFG = 0;

ReceiveOff();
receiving = 0;
Transmit( (unsigned char*)TxBuffer, sizeof TxBuffer);
transmitting = 1;

P1IE |= BIT7; // Re-enable button press
}
else if(!transmitting)
{
ReceiveOn();
receiving = 1;
}
}
}

void InitButtonLeds(void)
{
// Set up the button as interruptible
P1DIR &= ~BIT7;
P1REN |= BIT7;
P1IES &= BIT7;
P1IFG = 0;
P1OUT |= BIT7;
P1IE |= BIT7;

// Initialize Port J
PJOUT = 0x00;
PJDIR = 0xFF;

// Set up LEDs
P1OUT &= ~BIT0;
P1DIR |= BIT0;
P3OUT &= ~BIT6;
P3DIR |= BIT6;
}

void InitRadio(void)
{
// Set the High-Power Mode Request Enable bit so LPM3 can be entered
// with active radio enabled
PMMCTL0_H = 0xA5;
PMMCTL0_L |= PMMHPMRE_L;
PMMCTL0_H = 0x00;

WriteRfSettings(&rfSettings);

WriteSinglePATable(PATABLE_VAL);
}

#pragma vector=PORT1_VECTOR
__interrupt void PORT1_ISR(void)
{
switch(__even_in_range(P1IV, 16))
{
case 0: break;
case 2: break; // P1.0 IFG
case 4: break; // P1.1 IFG
case 6: break; // P1.2 IFG
case 8: break; // P1.3 IFG
case 10: break; // P1.4 IFG
case 12: break; // P1.5 IFG
case 14: break; // P1.6 IFG
case 16: // P1.7 IFG
P1IE = 0; // Debounce by disabling buttons
buttonPressed = 1;
__bic_SR_register_on_exit(LPM3_bits); // Exit active
break;
}
}

void Transmit(unsigned char *buffer, unsigned char length)
{
RF1AIES |= BIT9;
RF1AIFG &= ~BIT9; // Clear pending interrupts
RF1AIE |= BIT9; // Enable TX end-of-packet interrupt

WriteBurstReg(RF_TXFIFOWR, buffer, length);

Strobe( RF_STX ); // Strobe STX
}

void ReceiveOn(void)
{
RF1AIES |= BIT9; // Falling edge of RFIFG9
RF1AIFG &= ~BIT9; // Clear a pending interrupt
RF1AIE |= BIT9; // Enable the interrupt

// Radio is in IDLE following a TX, so strobe SRX to enter Receive Mode
Strobe( RF_SRX );
}

void ReceiveOff(void)
{
RF1AIE &= ~BIT9; // Disable RX interrupts
RF1AIFG &= ~BIT9; // Clear pending IFG

// It is possible that ReceiveOff is called while radio is receiving a packet.
// Therefore, it is necessary to flush the RX FIFO after issuing IDLE strobe
// such that the RXFIFO is empty prior to receiving a packet.
Strobe( RF_SIDLE );
Strobe( RF_SFRX );
}

#pragma vector=CC1101_VECTOR
__interrupt void CC1101_ISR(void)
{
switch(__even_in_range(RF1AIV,32)) // Prioritizing Radio Core Interrupt
{
case 0: break; // No RF core interrupt pending
case 2: break; // RFIFG0
case 4: break; // RFIFG1
case 6: break; // RFIFG2
case 8: break; // RFIFG3
case 10: break; // RFIFG4
case 12: break; // RFIFG5
case 14: break; // RFIFG6
case 16: break; // RFIFG7
case 18: break; // RFIFG8
case 20: // RFIFG9
if(receiving) // RX end of packet
{
// Read the length byte from the FIFO
RxBufferLength = ReadSingleReg( RXBYTES );
ReadBurstReg(RF_RXFIFORD, RxBuffer, RxBufferLength);

// Stop here to see contents of RxBuffer
__no_operation();

// Check the CRC results
if(RxBuffer[CRC_LQI_IDX] & CRC_OK)
P1OUT ^= BIT0; // Toggle LED1
}
else if(transmitting) // TX end of packet
{
RF1AIE &= ~BIT9; // Disable TX end-of-packet interrupt
P3OUT &= ~BIT6; // Turn off LED after Transmit
transmitting = 0;
}
else while(1); // trap
break;
case 22: break; // RFIFG10
case 24: break; // RFIFG11
case 26: break; // RFIFG12
case 28: break; // RFIFG13
case 30: break; // RFIFG14
case 32: break; // RFIFG15
}
__bic_SR_register_on_exit(LPM3_bits);
}

AWR1642: CFAR Threshold scale

$
0
0

Part Number:AWR1642

Why does the algorithm for the Short Range Radar (AWR1642) involve taking a log2 of the values after calculating the absolute values of the Doppler FFTs? Is this only to save space or does this have any other advantage?

BQ24072: Battery over discharge shutdown.

$
0
0

Part Number:BQ24072

Hi,

I wanted a battery charge managing IC for a typical 4.2V Lithium-ion cell. I was looking at the datasheet of this particular IC BQ24072, and found that it has over charge automatic shutdown, but couldn't find anything on over discharge protective shut down or any similar feature which will disable the battery from discharging below a voltage threshold.

Does this IC has any such feature or can be implemented using any reference design which is available?

Thanks

Brosnan


Compiler/AES-128: AES-128

$
0
0

Part Number:AES-128

Tool/software: TI C/C++ Compiler


Hello! I applied the library Ti_aes_128. However, I encountered such a problem. If you use a function aes_enc_dec(*state, *key, dir) once, everything works fine. But in the second use, encryption occurs differently (if you look at the control known array from the example). Next and decrypts incorrectly. What could be the problem? 

thank you.

TMS320F28377D: IDDK_PM_Servo_F2837x project (III)

$
0
0

Part Number:TMS320F28377D

Hello,

We purchased the DesignDRIVE Development Kit IDDK v2.2.1 and I have a question on the  IDDK_PM_Servo_F2837x project.

I am presently evaluating on the build level of LEVEL3 with the associated Estun PMSM motor.

I have connected the U,V,W phase wires of the motor to the main board and not connected any position sensor to the main board.

When I choose QEP_POS_ENCODER as POSITION_ENCODER and run the build level of  LEVEL2 or LEVEL3, the project works fine.

Meanwhile, when I choose RESOLVER_POS_ENCODER as POSITION_ENCODER and run the build level of LEVEL2, the project works fine.

However when I run the build level of LEVEL3, something goes wrong with the project. The motor rotates around one turn and then stops rotating.

I can not figure out why the build level of LEVEL3 does not work fine when I choose RESOLVER_POS_ENCODER as POSITION_ENCODER.

How can I resolve this issue?

Thank you for your guidance.

G. Kim

CCS/MSP430FR2311: Capacitive touch

$
0
0

Part Number:MSP430FR2311

Tool/software: Code Composer Studio

Hello,

I am using Captivate-FR2633 Evaluation board.

I would like to disable the online tuning UART in order to setup my own UART about the position of a wheel sensor.

How could i disable the online tuning UART?

Best Regards!

CC3200: I want to reset my SensorTag SimpleLink

$
0
0

Part Number:CC3200

I have tried pressing both buttons for six seconds, I have tried everything on forums. I cannot find any way how to reset SimpleLink. Furthermore UniFlash will not connect to CC3200 SimpleLink so I can erase flash memory from it. How to reset my SensorTag?

CCS/CC2640R2F: XGCONF can't find import file

$
0
0

Part Number:CC2640R2F

Tool/software: Code Composer Studio

Hi all.

When I open file - app_ble.cfg with XGCONF, Code Composer Studio show me an error message:
```
Can't find import file: 'common/cc26xx/kernel/cc2640/config/cc2640_r2_csdk.cfg' (not found along '${WORK_SPACE}\simple_peripheral_cc2640r2lp_oad_offchip_app\TOOLS;C:/ti/xdctools_3_50_07_20_core/include;C:/ti/xdctools_3_50_07_20_core/packages')
```
I don't know how to fix it.

Here is my setting
----------------------------------------------------------------
Environment one:
IDE: CCSv8.20
SDK: simplelink_cc2640r2_sdk_2_20_00_49

Environment two:
IDE: CCSv7.40
SDK: simplelink_cc2640r2_sdk_1_40_00_45

Reproduce procedure:
1 open ccs with new workspace

2 import app/stack split project from SDK example list
for example, import project from
C:\ti\simplelink_cc2640r2_sdk_2_20_00_49\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_oad_offchip
this will import three projects, bim, app and stack

3 open the window - project explorer,
and find the file app_ble.cfg in folder imple_peripheral_cc2640r2lp_oad_offchip_app/TOOLS/

4 now, right click on the file - app_ble.cfg, and choose "Open with XGCONF"
and you will see error message in window - problem
It shows :
---
Can't find import file: 'common/cc26xx/kernel/cc2640/config/cc2640_r2_csdk.cfg' (not found along '${WORK_SPACE}\simple_peripheral_cc2640r2lp_oad_offchip_app\TOOLS;C:/ti/xdctools_3_50_07_20_core/include;C:/ti/xdctools_3_50_07_20_core/packages')
---

Although, cc2640_r2_csdk.cfg is not found by XGCONF, this project still works well.
It is OK to build it, flash it, and run it on develop kit.

But this make me confuse while tracing XDC configuration.
Is there any way to fix it?

B/R

Viewing all 262198 articles
Browse latest View live


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