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

CC2533DK-RF4CE-BA: The sample code / document for CC2533 in a design coupled with a MSP430 as a target node

$
0
0

Part Number:CC2533DK-RF4CE-BA

Hi,

We are using the CC2533 in a design coupled with a MSP430 as a target node.
And the MSP430 connect to CC2533 via UART.

Is there any sample code or document of target node for reference?


AM5748: How to set up software for TUSB322I

$
0
0

Part Number:AM5748

Hi,

Customized card: AM5748

SDK: processor-sdk-linux-am57x_04_03_00_05

The following figure is about the typec and typeA signal selection.by  hd3ss3212:

  

The TUSB322I device implements Type-C Configuration Channel (CC) logic on the USB Type-C port.
Use the CC pin to determine port connection status and cable orientation, role detection, and Type-C current mode control.
I want to know if there is a driver and device tree file for the TUSB322I in the SDK?
 
 

RTOS/TM4C1294NCPDT: TM4C1294NCPDT TI-RTOS gives exception when using global(NDK stack)

$
0
0

Part Number:TM4C1294NCPDT

Tool/software: TI-RTOS

Respected sir,

                     Please reply as soon as possible. Its urgent.

                      I am trying to integrate  tcpecho example into my code. But as soon as i add Globals in rtos for NDK, it starts giving exception at following line.

 SSIDataPut(SSI2_BASE, adcTxBuffer[0]);
 while(SSIDataGetNonBlocking(SSI2_BASE, &adcresult))
 {
 }

                   Without NDK my code works perfectly fine. As soon as i try to add NDK it start creating problem. I have attache snaps of problem.

(Please visit the site to view this file)

Also i have attached some important files.

(Please visit the site to view this file)

(Please visit the site to view this file)

(Please visit the site to view this file)

(Please visit the site to view this file)

(Please visit the site to view this file)

Also initialization of SPI is as follows

Void spiFxn (UArg arg0, UArg arg1)
{
// SPI_Handle masterSpi;
// SPI_Transaction masterTransaction;

//************************************SPI FOR DAC*************************************
/* Initialize SPI handle as default master */
SPI_Params spiParamsdac;
SPI_Params_init(&spiParamsdac);
spiParamsdac.transferMode = SPI_MODE_BLOCKING;
spiParamsdac.transferTimeout = SPI_WAIT_FOREVER;
spiParamsdac.transferCallbackFxn = NULL;
spiParamsdac.mode = SPI_MASTER;
spiParamsdac.bitRate = 1000000;
spiParamsdac.dataSize =8;
spiParamsdac.frameFormat =SPI_POL1_PHA1;
spiParamsdac.custom =(uintptr_t) NULL;
masterSpi = SPI_open(Board_SPI1, &spiParamsdac); // change the cs pin to GPIO
if (masterSpi == NULL) {
System_abort("Error initializing DAC_SPI\n");
}
else {
// System_printf("DAC_SPI initialized\n");
// System_flush();
}

/* Initialize master SPI transaction structure */
masterTransaction.count = SPI_MSG_LENGTH;
masterTransaction.txBuf = (Ptr)masterTxBuffer;
masterTransaction.rxBuf = (Ptr)masterRxBuffer;
GPIO_write(Board_LDAC, 0); // LDAC PIN OF DAC ALWAYS KEEP LOW
////***************************SPI FOR ADC*************************************************

SPI_Params spiParams;
SPI_Params_init(&spiParams);
spiParams.transferMode = SPI_MODE_BLOCKING;
spiParams.transferTimeout = SPI_WAIT_FOREVER;
spiParams.transferCallbackFxn = NULL;
spiParams.mode = SPI_MASTER;
spiParams.bitRate = 1000000;
spiParams.dataSize =16;
spiParams.frameFormat =SPI_POL1_PHA0;
spiParams.custom =(uintptr_t) NULL;
adcSpi = SPI_open(Board_SPI0, &spiParams);
if (adcSpi == NULL) {
System_abort("Error initializing ADC_SPI\n");
}
else {
// System_printf("ADC_SPI initialized\n");
// System_flush();
}

/* Initialize master SPI transaction structure */
adcTransaction.count = ADC_SPI_MSG_LENGTH;
adcTransaction.txBuf = (Ptr)adcTxBuffer;
adcTransaction.rxBuf = (Ptr)adcRxBuffer;


// User specific code, enable interrupts:
Xint1Count = 0; // Count XINT1 interrupts
TimerCount = 0; // Count Timer0 interrupts
LoopCount = 0; // Count times through idle loop
Flag = 0;
Reg_Word = 0;

// Initialize Buffer Tables
for (n=0; n<BUF_SIZE; n++)
{
ADS833x_Buf[n] = n;
}

for (n=0; n<SIZE; n++)
{
ADS833x_Result[n] = n;
}


ADS833x_init();

// Step 6. IDLE loop:
// Select input Channel if Manual Channel Selection is enabled in CFR register
ADS833x_Buf[2] = ADS833x_CFR_Reg & 0x0800;
if (ADS833x_Buf[2] == 0)
{
System_printf("\n manual channel select\n");
System_flush();
Channel_Number = 0; // Should be 0~7,Channel number for Manual channel select
ADS833x_Channel_Select(Channel_Number); // Select ADC input channel // CHANGE THE CHANNEL IN TIMER INTERRUPT ALSO
}

////**************************************************END ADC******************************************************
////**************************************************ABSOLUTE ENCODER*************************************
////**************************************************Channel 0*************************************
SPI_Params spiParamsabsa;
SPI_Params_init(&spiParamsabsa);
spiParamsabsa.transferMode = SPI_MODE_BLOCKING;
spiParamsabsa.transferTimeout = SPI_WAIT_FOREVER;
spiParamsabsa.transferCallbackFxn = NULL;
spiParamsabsa.mode = SPI_MASTER;
spiParamsabsa.bitRate = 295000; //295K
spiParamsabsa.dataSize =16;
spiParamsabsa.frameFormat = SPI_POL1_PHA1;
spiParamsabsa.custom =(uintptr_t) NULL;
absaSpi = SPI_open(Board_SPI2, &spiParamsabsa);
if (absaSpi == NULL) {
System_abort("Error initializing ABSA_SPI\n");
}
else {
System_printf("ABSA_SPI initialized\n");
System_flush();
}

/* Initialize master SPI transaction structure */
absaTransaction.count = ABSA_SPI_MSG_LENGTH;
absaTransaction.txBuf = (Ptr)absaTxBuffer;
absaTransaction.rxBuf = (Ptr)absaRxBuffer;

//**************************************************Channel 1*************************************

SPI_Params chanbParams;
SPI_Params_init(&chanbParams);
chanbParams.transferMode = SPI_MODE_BLOCKING;
chanbParams.transferTimeout = SPI_WAIT_FOREVER;
chanbParams.transferCallbackFxn = NULL;
chanbParams.mode = SPI_MASTER;
chanbParams.bitRate = 295000;
chanbParams.dataSize =16;
chanbParams.frameFormat =SPI_POL1_PHA1;
// chanbParams.custom =(uintptr_t) NULL;
absbSpi = SPI_open(Board_SPI3, &chanbParams);
if (absbSpi == NULL) {
System_abort("Error initializing ABSB_SPI\n");
}
else {
System_printf("ABSB_SPI initialized\n");
System_flush();
}

/* Initialize master SPI transaction structure */
bTransaction.count = ABSB_SPI_MSG_LENGTH;
bTransaction.txBuf = (Ptr)bTxBuffer;
bTransaction.rxBuf = (Ptr)bRxBuffer;

timerFlag = 1;
//**************************************************END ABSOLUTE ENCODER*************************************

}

I am not using SPI_transfer(). Instead i am using library functions as given above.

Again please reply as soon as possible, its really urgent.

Regards,

Digvijay

DRV10975: Speed pin connection

$
0
0

Part Number:DRV10975

Hi TI,

I would like to know internal connection between speed pin and VCC.

Because speed pin is measured 7.7V when only VCC pin is connected and GND pin is removed.

Speed pin is connected 8.2k pull-down resistor from control board.

Please refer to the below test connecting the DRV10975EVM.

DS90UB947-Q1: Using dual serializer for separate displays

$
0
0

Part Number:DS90UB947-Q1

Hi!

Is it possible to use the DS90UB947-Q1 to serialize a 2 Open LDI outputs from a Graphics processor in to two separate FPD Link III signals? For example 2 Open LDI interfaces as inputs and get 2 separate FPD-Link III outputs that can be sent to individual displays with different deserializers, perhaps one DS90UB926-Q1 and one DS90UB928Q-Q1. Or do I need two different serializers such as DS90UB925Q-Q1 and DS90UB927Q-Q1 to use two separate displays?

Regards,

Sebastian

TLV320AIC3109-Q1: whether any audio codec product (automotive) could support slimbus interface

$
0
0

Part Number:TLV320AIC3109-Q1

Hi team,

     My customer would like to use audio codec chip for automotive. They want to know is there any TI audio codec product could support slimbus interface. Could you please help to check? Thanks a lot!

Best Regards

Zhengquan Lu

TMS320F28335: Error connecting to the target: (Error -1015 @ 0x0) in F28335

$
0
0

Part Number:TMS320F28335

Hello,

        I was using the TMS320F28335 control card with USB EMU R3 Docking station. It worked fine .Suddenly, now I am getting connection error. While trying to debug a program using CCS, the following error message is coming up :

Error connecting to the target: (Error -1015 @ 0x0) Device is not responding to the request. Device may be locked, or the debug probe connection may be unreliable. Unlock the device if possible (e.g. use wait in reset mode, and power-cycle the board). If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.0.27.9)

     I tried checking the XRS pin, but couldn't find the pinout on the Docking Station. Is there any documentation available for this? Is there any other hardware or software test to debug the problem?

Also, if the device is permanently locked,then which part of the card is getting locked? And is there any way to repair or replace the card in that case? 

Thanks

RTOS/LAUNCHXL-CC1352R1: Simplelink DMM example getting started

$
0
0

Part Number:LAUNCHXL-CC1352R1

Tool/software: TI-RTOS

Hi,

I am trying to run the example: dmm_154sensor_remote_display_app.

I imported the project from the Recource explorer in CCS.

Building and uploading the project is successful, but the launchpad doesn't send any data over UART and I can't find the device using the LightBlue application on android.

When debugging, the program is stuck in the file: project_foler/Release/./../../../driverlib/chipinfo.c line 204 (0x00010BC6)

CCS version: 8.3.0.00009 

Simplelink CC13x2 SDK: 3.10.00.11

Thanks,

Nicolas


CC3200: CC3200 Audio-video Streaming Applications

$
0
0

Part Number:CC3200

Hi Team ,

Need Help for the following

There is solution “Integrated Solution for CC3220 to Provide a System Solution for Audio-video Streaming Applications”  on  CC3220  

http://www.ti.com/tool/CC3220-VIDEO-CAMERA-SOFTWARE?keyMatch=cc3220&tisearch=Search-EN-Products#Technical Documents

 Just want to check information w.r.t  the above application code 

1. If the code base can be modified to implement it for only Audio streaming over Wi-Fi .

2. Code can be integrated with the "CC3200 Wi-Fi Audio Application" , for the audio capture because we want to use the TLV320AIC3254 audio codec for audio capture.

3. Can code can be run on the CC32000-LAUNCHXL (SimpleLink Wi-Fi CC3200 Launchpad )& CC3200AUDBOOST(BoosterPack board) hardware for Audio streaming purpose only

4. What is the current code binary size of the existing application  e.g  less than 500KB  tor 500KB to 750KB ( it has been implemented on demo board with 1Mb of Serial Flash )

 

Regards

TMDSHVMTRPFCKIT: eCAP speed measurement,

$
0
0

Part Number:TMDSHVMTRPFCKIT

Dear TI Hello,

I am trying to calculate the timeout between two rising edges using the eCAP module,

I want to measure speed using the eCAP,

I am using the f2803xcap.h,

/* ==================================================================================
File name:        F2803XCAP.H                     
Target	 : 		  F2803x family              
=====================================================================================*/

#ifndef __F280X_CAP_H__
#define __F280X_CAP_H__

#include "f2803xbmsk.h"
#include "f2803xdrvlib.h"

/*-----------------------------------------------------------------------------
    Initialization states for ECAP Control Registers 1 and 2 for ECAP1
------------------------------------------------------------------------------*/
#define ECCTL1_INIT_STATE   ( CAP1POL_RISING_EDGE +  \
                              CAPLDEN_ENABLE + \
							  CTRRST1_DIFFERENCE_TS + \
                              EVTFLTPS_X_1 + \
                              EMULATION_FREE  )

#define ECCTL2_INIT_STATE   ( CONTINUOUS_MODE + \
                              TSCNTSTP_FREE + \
                              SYNCI_DISABLE + \
                              SYNCO_DISABLE + \
                              CAPTURE_MODE )

/*-----------------------------------------------------------------------------
Define the structure of the Capture Driver Object 
------------------------------------------------------------------------------*/
typedef struct { int32 EventPeriod;    // Output: Timer value difference between two edges detected (Q0) 
               	 Uint16 CapReturn;
               } CAPTURE;

/*------------------------------------------------------------------------------
Default Initializer for the F280X CAPTURE Object
------------------------------------------------------------------------------*/
#define F280XCAP1       {1,0 \
                        }

/*------------------------------------------------------------------------------
Target Independent Default Initializer CAPTURE Object
------------------------------------------------------------------------------*/
#define CAPTURE_DEFAULTS  F280XCAP1

/*------------------------------------------------------------------------------
	CAP_INIT & CAP Macro Definitions
------------------------------------------------------------------------------*/                                             

#define CAP_INIT_MACRO(n)										\
    /* Init ECAP Control Registers 1 and 2 for ECAP1*/				\
    (*eCAP[n]).ECCTL1.all = ECCTL1_INIT_STATE;						\
    (*eCAP[n]).ECCTL2.all = ECCTL2_INIT_STATE;						\


//Make sure that the GPIO configuration is properly done in ...-DevInit_F2803x.c file as shown below\																	\
    EALLOW;                       /* Enable EALLOW */				\
    /* Set up the ECAP1 pin to primary function*/					\
    GpioCtrlRegs.GPAMUX2.bit.GPIO24 = 1;  /* GPIO24 is ECAP1 */		\
    EDIS;                         /* Disable EALLOW	*/				

	
	
#define CAP_MACRO(n,v)																				\
    if((*eCAP[n]).ECFLG.bit.CEVT1 != 0)/* Check status of one entry of first event of ECAP1 pin */		\
    {																									\
    v.EventPeriod = (*eCAP[n]).CAP1;  /* Stamp the timer counter difference between two edges detected*/\
    v.CapReturn=0;                   /* Then, return zero*/												\
    } 																									\
    else																								\
    {																									\
    v.CapReturn=1;                   /* Else, return one */												\
    }


#endif //  __F280X_CAP_H__

In this line of code:

    v.EventPeriod = (*eCAP[n]).CAP1;  /* Stamp the timer counter difference between two edges detected*/\

eCAP should return the period, which means the timeout between two rising edges,

Could someone please help me to configure the eCAP so it could take two rising edges?

Best Regards,

S.Tarik,

5V/3A, 3.3V/8A POL

$
0
0

Hello

        Below is customer requirement. Do we have suitable and duty cycle is 100% POL solution? Thank you.  

Input voltage range = 5~24V

Output voltage/current = 5V/3A and 3.3V/8A

BR

Patrick

UCC28780EVM-002: UCC28780 EVM Switching waveform stairs to occur Question.

$
0
0

Part Number:UCC28780EVM-002

Dear support member,

I used UCC28780.
I have a question about switching waveform.

(Specification condition)
Vin:250Vac
Vout:12Vdc
Iout:2A

(Situation)
The switching waveform was measured by UCC28780 EVM-002.
The switching waveform is stepped.

(Question)
What causes the stairs to occur?
Could you teach reason?

I attached the waveform.
Could you check it?

(Please visit the site to view this file)


Best regard.
Bob Lee.

CC2650EM-7ID-RD: Direct Advertising - How to use it

$
0
0

Part Number:CC2650EM-7ID-RD

Hello,

I'm trying to get the direct advertising to work on my two SmartTF06 dev boards with the CC2650EM shield. But I cannot get it to  work, maybe you can help me with a few questions.

  1. Do I have to change the mode of discovery for the central device or should the directed advertising packets be found just like the undirected? At the moment I do not receive anything from the peripheral when directed advertising is enabled.
  2. Should the directed advertising packet even be found by the central if there was no prior bonding? I other words, can I just use hard coded adresses on the peripheral side to address the central?
  3. I found some threads in the forum noting that the address given for GAPROLE_ADV_DIRECT_ADDR should be reversed, is this true?

The SDK version is "ble_sdk_2_02_02_25".

I've started with the simple_peripheral and simple central and changed the following:

Peripheral:

SimpleBLEPeripheral_init(){

...  after all the GAPRole_SetParameter calls I added:

    uint8_t resolvedAddr[B_ADDR_LEN] = {0x00, 0x2f, 0xdc, 0x43, 0xb4, 0xb0};
    uint8_t idx = GAPBondMgr_ResolveAddr( advDirectAddrType, resolvedAddr, NULL);

    if ( idx < GAP_BONDINGS_MAX ){

        uint8_t advDirectType = GAP_ADTYPE_ADV_LDC_DIRECT_IND;

        bool bIsEnabled = false;
        GAPRole_SetParameter(GAPROLE_ADVERT_ENABLED, sizeof(uint8_t), &bIsEnabled);
        GAPRole_SetParameter(GAPROLE_ADV_DIRECT_ADDR, B_ADDR_LEN, resolvedAddr);
        GAPRole_SetParameter(GAPROLE_ADV_EVENT_TYPE, sizeof(uint8), &advDirectType);

        //GAPRole_SetParameter(GAPROLE_ADV_DIRECT_TYPE, sizeof(uint8_t), &advDirectAddrType);

        bIsEnabled = true;
        GAPRole_SetParameter(GAPROLE_ADVERT_ENABLED, sizeof(uint8_t), &bIsEnabled);

Display_print0(dispHandle, 5, 1, "bonded!");
Display_print0(dispHandle, 6, 1, Util_convertBdAddr2Str(resolvedAddr));
Display_print0(dispHandle, 7, 1, "Directed");
}

Central:

#define DEFAULT_DEV_DISC_BY_SVC_UUID          FALSE

 

For the Central the evaluation allows to list all the found MAC-Adresses but the address of the periperal device does not show up. Do you have any hints or can somebody provide a working example?

Best regards

Fabian

ADS7947: Confirmation of ADS7947' error in datasheet

$
0
0

Part Number:ADS7947

Hi Team,

We are penetrating ADS7947 at my customer side and find below error from our datasheet's reference sch as below:

Pin 7 is AIN1N which should be connected to GND but not connected to input, while Pin 8, AIN1P should be connected to Input but not GND. Pls help confirm this error and correct asap, thanks a lot!

Otherwise, this may confuse some customer and make error during their design.

Best regards,

Sulyn

DP83822I: DP83822 BIST register

$
0
0

Part Number:DP83822I

Hello,

I've got a DP83822 on my board - if I read register 0x16 (BISCR) after a reset it's always returning 0x0300 (Packet generate active).

I can reset via BMCR = 0x8000 or PHYRCR = 0x8000 or 0x4000 and it returns 0x0300 - the datasheet says the default should be 0 for bit(9) - why would this RO bit be set?

Dave


EV2300: Programming .srec without BQstudio

$
0
0

Part Number:EV2300

Dear E2E-Community, 

I'm trying to develop an  automated goldenfile transfer via LabView and an EV2300

I'm using BQ80xRW and I am able to read and write SMBUS and I2C Commands, but due to the poor description in the Help file attached to the EV2300 customer kit  

 (https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/196/2318.EV2300-Customer-Kit.zip) I'm not able to implement the golden File programming. 

There is a command called ProgramFromSrec and the only input parameter ist the filename/path... When I try this, the return code from the funktion is 221 and i don't know how to interpret this. 

For the other commands (ProgramSrecWithCfg and ProgramSrec) I dont know how to setup the input parameters. nProtocol, nPlatform, or how to setup the BCfg and the PCfg files. 

I woulld appreciate any help and please excuse my poor english. 

Best Regards, 

Felix

Question of UCC28089

$
0
0

We have a question about UCC28089.

Please tell us the difference UCC28089DR and UCC28089DRG4.

Best regards,

Takahiro Nishizawa

CCS/LAUNCHXL-CC1310: CC1310LP Sensor Controller Studio

$
0
0

Part Number:LAUNCHXL-CC1310

Tool/software: Code Composer Studio

Hi,

-I'm using CC1310LP and interfacing with external sensor.

-In my application, Main controller(Cortex M4) will  be in sleep mode most of the time and Sensor controller (RISC) has to be wake all the time reading the sensor values.

-When it crosses the threshold, through the sensor controller Cortex M4 has to be woken up and  send the data and should go back to sleep mode .

Is there any example code for in the SCS to wake up the controller during particular event and then Main Controller should go back to sleep mode.

Is Sensor Controller studio available for Linux ?

-Lakshminarayana K N.

CCS/TMDSDSK6713: DSK c6713 issue with CCs v3.3

$
0
0

Part Number:TMDSDSK6713

Tool/software: Code Composer Studio

I have CCSv3.3.83.20 and CCSPlatinum_v30330 driver package , which has some issues when connecting with dsk c6713 . I need Code Composer Studio 3.3.81.6 to solve this issue. 
So kindly send the link do download this version.

TPS22919: Safety certification

$
0
0

Part Number:TPS22919

Dear Team,

My customer needs IEC 62368 certification for load switches. Have we certified TPS22919 for IEC 62368 or for any other safety standards?

Best Regards,

Caglar

Viewing all 262198 articles
Browse latest View live


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