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

CC2530: Z-Stack 3.0.1 Build issue for SampleLight Project

$
0
0

Part Number:CC2530

Hi Everyone,

I took a base code from z-stack 3.0.1 samplelight app. If we build it without doing any changes it will comiple and works fine. But when i try to enable ztool_p1 or any other preprocessor macro i am getiing RAM issue Error. It is saying that it at least need  some more bytes. The same tried on Generic App works fine. I am using IAR workbech(Latest version) I don't have any evaluation board and i want to start the network directly without any switch. I am struggling hard to do so. Is there any process that we need to follow to start the network automatically? 

Why there is a RAM space error for enabling the MACRO in the base code itself?? Please respond to us , without this we cannot do anything.

Our Purpose: We have CC2530 working as co-ordinator(znp version : 2.6.2) already . We need to build the Sample-light application Router/ END device code with some macro enabled. And without EV board and manual switches , we need to start the network(Like sending becon request, sending assosiation request to the co-ordinator, getting response)

we need to have a pre-configured keys and this should be used for authentication. Please help us in all these regards.

Awaiting for the reply.

Regards,

Avinash


CC3220: Embedded programmer fails with error number = -10275

$
0
0

Part Number:CC3220

Hello!I am trying to program a custom CC3220S(/F) design with the embedded programmer from www.ti.com/.../embedded-programming. 

This fails step #11 --> Image Programming after succesfully recognizing the device and completing step 6/10 (no steps 7..10 are performed?)

I am using the file tools/cc32xx/toos/servicepack-cc3x20/sp_3.6.0.3._2.0.0.0_2.2.0.6.bin from the SimpeLink CC32xx SDK 1.60.00.04 with the following command line:

C:> ImageProgramming.exe -p 76 -i ..\..\sp_3.6.0.3_2.0.0.0_2.2.0.6.bin

The Programming progress shown is either 0 or 7%.  Output is like

Only production devices are supported (i.e. no pre-production devices)
The binary image needs to be prepared in advance using Uniflash utility

Step #1 --> connect to target device
--- please restart the device ---
connection succeeded
get storage list
receive storage list

Step #2 --> Reading version info
Reading version info completed

It's a CC3220SF device
Step #3 (CC3220 only) --> Switch UART to NWP core
Step #4/8 --> Get SRAM/SFLASH storage info
Step #5/9 --> Erasing 3 blocks from SRAM/SFLASH starting from block #0
The process of erasing blocks takes several seconds
Erasing completed

Step #6/10 --> Program image[0:10531] to SRAM/SFLASH
Image programming completed

Step #7 --> Execute bootloader patches from SRAM
enter get storage info
Step #4/8 --> Get SRAM/SFLASH storage info
Step #5/9 --> Erasing 2 blocks from SRAM/SFLASH starting from block #33
The process of erasing blocks takes several seconds
Erasing completed

Step #6/10 --> Program image[135176:141157] to SRAM/SFLASH
Image programming completed

Step #11 --> Image programming
Received error : error number = -10275 , extended error = 3904
Programming progress = 7 %
Total programming duration = 0 seconds
Step #12 --> Reset the target device

Any idea what's going wrong here?

TPS40170: LDRV question

$
0
0

Part Number:TPS40170

HI Sir 

I don't see the reference[1] in the datasheet other place  

Could you kindly help to provide it ?

Thanks

How to clone the software from one MSP-EXP430G2 to another?

$
0
0

A friend on another continent has called me in a panic. He has a TI LaunchPad board MSP-EXP430G2 which contains an executable image. The image was created many years ago, he can't even remember by whom, and has no idea where the source might be.

He wants to copy the image to a second, identical, board, but does not know how. No more do I. Can anyone help?

INA231: High side Inductive load with fly-back diode

$
0
0

Part Number:INA231

Hello,

I am designing a circuit that will have a high side switch that I want to use to PWM control a load that may be inductive. The current sensing must be done on the high side of the load.

I am concerned that when the switch turns off and the fly-back diode is operating (Vf = 0.6V) that the sense input will be beyond maximum - the common mode voltage will be -0.6V (ish) and rating is -0.3V. As this is PWM control this will be a repetitive voltage that may occur.

Is there any way to deal with this without creating a negative voltage rail and referencing this IC to that negative rail?

If the answer is use a different IC my aim was to try and use an I²C interface. I can use analogue but there are 13 repeats of this circuits so a digital interface is preferable.

Thanks in advance,

Ben Strawbridge

Compiler/DLP4500: DLP 4500

$
0
0

Part Number:DLP4500

Tool/software: TI C/C++ Compiler

Hello,

I am working on Dlp lightcrafter 4500 and point Grey camera for scanning application,I have my DLP SDK compiled in Visual Studio Successfully running but I am facing an issue in Horizontal scanning. I am able to do vertical scanning but when i try for horizontal the data is getting stored but i could not see the point cloud.I will attach a picture for your overview. Can any one guide me regarding the issue . I even faced the issue when i compiled it with Cmake and Mingw.

With Regards

Ramayampet Vinaykumar

PMP15036: discussion

$
0
0

Part Number:PMP15036

Hi team,

We are interested in PMP15036 reference design but confuse on some questions, could you help to answer it? Great thanks!

1. The PMP15036 solution include three major parts,  right or not:

            a. OPA4377AIPW;

            b. IPS61178RNWR;

            c. TPA3128D2;

2. What’s the limitation on the slew rate and stability?

3. Have distortion or not when rail changes (power supply voltage)?

thanks.

Wiky

EVE debug on TDA2xx hardware problem

$
0
0

Hi Champs,

I have developed the kernel for sobel and able to debug/run it on simulator. (Kernel with test app)

(for information: I am using CCS7.4 for development and CCS5.4 for EVE simulator because above CCS5.4 EVE simulator support not available.)

Now i want to run/debug the same kernel (Kernel with test app) on hardware TDA2x. when i try to do the same h/w directly goes into running mode, it does not stops at any break point and neither producing any error but it keep in running mode.

Just to add, on the same h/w i am able to run/debug DSP code.

for comparison i tried helloworld sample code for EVE and DSP, for DSP it worked as expected but for EVE it goes in zombie state(keep running ,not giving output).

Need your help for the same.

Thanks,

Mohammed


DRV8703-Q1: Regarding SPI interface with driver IC

$
0
0

Part Number:DRV8703-Q1

Hai,

We are trying to driver a DC motor in both forward and backward directions through SPI communication with external micro.

In our case we are writing 0, 1 to Phase and Enable pin respectively for forward direction, we allow it for some time with delay, later writing 1, 1 to Phase and Enable pin respectively for reverse direction.

Problem :

Again we want to run my motor to rotate in forward direction, in this case we are not able to wright 0, 1 to Phase and Enable pin respectively for forward direction, because those bits are ORed with the IN1/PH pin, IN2/EN.

Once these bits are set to 1 and it not possible to set them back to 0.

So, how to reset my register values to default condition.

So, that I can rotate my motor both the directions irrespective of which direction it is operating now.

LAUNCHXL2-RM46: XL2 dev board not working correctly

$
0
0

Part Number:LAUNCHXL2-RM46

Hi!

My XL2-RM46 dev board stopped working after trying to connect it with a Ethernet PHY. When I connect the USB cable the LEDs 4 and 6 are only half-lit and there is a high piched noice comming from the board. I cannot connect to it. The voltage from the USB is ok, but the output voltage of the board is halved. It stays the same even when reset or pugged/unplugged. Any idea what's going on?

LAUNCHXL-F28377S: EtherCAT Comminication

$
0
0

Part Number:LAUNCHXL-F28377S

Hi Everyone;

I have a F28377S Lanuchpad. I controlled DC Motor with C2000 and I use Matlab-Simulink Block.

Now, Im gonna use Maxon DC Motor which is supported EtherCAT Com. I wonder something abouth this subject.

Can I control Maxon DC Driver with F28377S. Again Im gonna use Simulink Ethercat block. I mean F28377S available for master Ethercat.

Is there any example or study about this subject

CC2538: SPI flash sst26vf064ba

$
0
0

Part Number:CC2538

Hello! After resolving a problem with eeprom connection via I2C I'm trying to communicate with serial flash memory via SPI. I've got an example from driverlib (spi_master) and tested it on my board. It works fine when I connect MISO and MOSI together (loopback). I've tried to convert this example in order to work with spi flash sst26vf064ba but unsuccesfully. I see on my scope all needed signals (CS, CLK, MOSI) except MISO and get 0xFF or 0x0 while reading. Here is my code:

//
  // Set the clocking to run directly from the external crystal/oscillator.
  // (no ext 32k osc, no internal osc)
  //
  SysCtrlClockSet(false, false, SYS_CTRL_SYSDIV_32MHZ);
  //
  // Set IO clock to the same as system clock
  //
  SysCtrlIOClockSet(SYS_CTRL_SYSDIV_32MHZ);
  //
  // The SSI0 peripheral must be enabled for use.
  //
  SysCtrlPeripheralEnable(SYS_CTRL_PERIPH_SSI0);

  //
  // Disable SSI function before configuring module
  //
  SSIDisable(SSI0_BASE);

  //
  // Set IO clock as SSI clock source
  //
  SSIClockSourceSet(SSI0_BASE, SSI_CLOCK_PIOSC);
  
  IOCPinConfigPeriphOutput(GPIO_SSI0_BASE, PIN_SCLK0, 
                           IOC_MUX_OUT_SEL_SSI0_CLKOUT);    

  IOCPinConfigPeriphOutput(GPIO_SSI0_BASE, PIN_CS0, 
                           IOC_MUX_OUT_SEL_SSI0_FSSOUT);
  
  IOCPinConfigPeriphOutput(GPIO_SSI0_BASE, PIN_MOSI0, 
                           IOC_MUX_OUT_SEL_SSI0_TXD);    
  
  IOCPinConfigPeriphInput(GPIO_SSI0_BASE, PIN_MISO0, 
                          IOC_SSIRXD_SSI0);  
  
  GPIOPinTypeSSI(GPIO_SSI0_BASE, PIN_SCLK0 | 
                 PIN_CS0 | PIN_MISO0 | 
                 PIN_MOSI0);
  
  //
  // Configure SSI module to Motorola/Freescale SPI mode 3:
  // Polarity  = 1, SCK steady state is high
  // Phase     = 1, Data changed on first and captured on second clock edge
  // Word size = 8 bits
  //
  SSIConfigSetExpClk(SSI0_BASE, SysCtrlIOClockGet(), SSI_FRF_MOTO_MODE_0,
                     SSI_MODE_MASTER, SysCtrlClockGet()/2, 8);
  
  //
  // Enable the SSI0 module.
  //
  SSIEnable(SSI0_BASE);
  
  //
  // Read any residual data from the SSI port.  This makes sure the receive
  // FIFOs are empty, so we don't read any unwanted junk.  This is done here
  // because the SPI SSI mode is full-duplex, which allows you to send and
  // receive at the same time.  The SSIDataGetNonBlocking function returns
  // "true" when data was returned, and "false" when no data was returned.
  // The "non-blocking" function checks if there is any data in the receive
  // FIFO and does not "hang" if there isn't.
  //
  uint32_t data =0x0;
  while(SSIDataGetNonBlocking(SSI0_BASE, &data))
  {
  }
  
  int i=0;
  while(1)
  {
    /*SSIDataPut(SSI0_BASE, 0x5);
    while(SSIBusy(SSI0_BASE));    */
    while(!SSIDataPutNonBlocking(SSI0_BASE, i))
    {
    }
    /*SSIDataGet(SSI0_BASE, &data);
    while(SSIBusy(SSI0_BASE));*/
    while(SSIDataGetNonBlocking(SSI0_BASE, &data))
    {
    }
    if (data!=0xFF)
    {
      int a=0;
    }
    i = (i+1)&0xFFFFF;
  }

Does anyone know where is the problem? Please, give some advice.

PCA9306: leakage current protection

$
0
0

Part Number:PCA9306

Hi team, 

Does PCA9306 has leakage current  protection? please refer to the diagram below. Does SCL1 and SCL2 might have leakage problem if VREF1 is off and VDPU is on? if so, how to solve it? Please advised. 

UCD3138A: UCD3138A current

$
0
0

Part Number:UCD3138A

Hi TI,

According the UCD3138A datesheet. The max current or the chip is 100mA when run in FLASH.

the datesheet also give the typical Clock Gating Power Savings,DPWM is 4.9mA? is that too little current for DPWM?

I used Power disable control register to disable arrival of clock to many peripherals,only to enable  ADCS, UARTs, and PMBUS.I want to know the accurate current for the chip to run under this situation?

can you provide the accurate current for each peripherals?

when all the peripherals clock are disabled, how much current for the chip to run FW?

Best Wishes

LEI

MSP432E411Y: Longevity


TS3A5018: T

$
0
0

Part Number:TS3A5018

Hi,

In our project we need to Swtich PCIe Reference Clock (100MHz Differential Clock) & considering the use of Quad SPDT Analog Switch ( Part # TS3A5018T) for same. This is for switching Reference Clock for PCIe Gen3 application. 

Wanted to check if TS3A5018T can support PCIe Reference Clock (100MHz Differential Clock, Square Wave) switching & has it been used for same in any designs ?

Wanted to to confirm the usage feedback from TI as it indicated the use case applications for low speed Audio / Video Switching which is expected to be under 5 to 6 MHz. 

We have apprehension ins the part as Ron is specified as 10 Ohms. 

Pls suggest if you have any device to meet PCIe Clock Switching needs & can support Quad SPDT switching. We can share 1 page schematic to give more details on use case, if such data sharing means is provided ..... could not locate any provision to attach doc while posting the query. 

Can you share the exact respond graph for TS3A5018T for 100MHz Diff Clock which is Square Waveform. 

DS90UB925Q-Q1: Invalid SCL Low / High Time Setting Cause "DES ERROR(0x0C[1])"?

$
0
0

Part Number:DS90UB925Q-Q1

[ DS90UB925-Q1 & DS90UB927-Q1 ] Invalid SCL Low / High Time Setting Cause "DES ERROR(0x0C[1])"?

Hi,

My customer has seen the error behavior on their system which use DS90UB927-Q1, DS90UB928-Q1 and remote slave as drawing below.
According to the error log which is sitting next of HOST processor, when error occurrs, the DES Error flag (0x0C[1]) is triggered.




From their debug, customer has found that SCL Low tiime and High time setting of both DS90UB927-Q1 and DS90UB928-Q1 are not correct.
(it's like, they left both registers as default, even though they use 400KHz I2C communication.)

Do you think this invalid SCL Low / High Time setting cause DES Error (0x0C[1])?
It's appreciated if you can elaborate  the "DES Error" itself such as details of the data package (I2C & GPIO?) which CRC checked.

My related posts

DS90UB927Q-Q1: BIST Mode and "DES Error"(0x0C[1])
e2e.ti.com/.../2459982

DS90UB927Q-Q1: BIST Related Questions
e2e.ti.com/.../2456798


Thanks,
Ken

CC2640R2F: BLE Device Name

$
0
0

Part Number:CC2640R2F

Is there any way to change the BLE device name while the CC2640R2F SimpleBLEPeripheral program is running?

I have figured out a way to change the name by saving it to flash, then reading from flash on a power up, but I would like to change the Bluetooth name without a power cycle.

Please advise,

Thanks,
Mark

TLV320AIC23B: Numeric format in DSP mode

$
0
0

Part Number:TLV320AIC23B

I've previously used I2S mode with the TLV320AIC23B but tried to use DSP mode for a current project.  With I2S I sent 2's complement signed data to the converter but I've found that DSP mode wants straight magnitude format (sign bit inversion of 2's C).  I couldn't find anything about this in the data sheet.  Can you please confirm that my assumptions for this are correct?

Thanks,

Dean

TMS320F28377D: EPWMSYNCINSEL register selections, 14.14.2.3 in SPRUHM8G Table 14-18

$
0
0

Part Number:TMS320F28377D

I am looking for information on how to set the EPWMSYNCINSEL register to choose the source of EPWMxSYNCIN.  The table has +1722 where the descriptions of the SEL 4:0 bitfield should be, and I tried searching the document for a description of the mux choices, but couldn't find it.  Page is attached.  Thanks! 

(Please visit the site to view this file)

Viewing all 262198 articles
Browse latest View live


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