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

PGA300EVM-034: Error on Guided Calibration

$
0
0

Part Number:PGA300EVM-034

Hello,

when I select a Calibration file, I get an Error message: "The selected calibration file doesn't match with the GUI version..."

Pressing OK to continue the calibration, it seems to work: "OWI Configuration": no error - "OWI Actiovation": nothing to do because OWI is active (pressing next), reading of registers starts, but than the monitor is clear and the following error appears:

Unexpected Error occured during calibration

Error -20145 occurred at Error occured during interpolating values

Possible reason(s):

Analysis: Each independent variable must contain the same number of values as the dependent variable.

Try calibrating again

What can I do? I installed the latest version (3.5.1.0) from the GUI and I use the original ini-files...

Thanks for any help

Walter

 


Compiler/LAUNCHXL-CC2640R2: Availability of High abstraction function for Bluetooth like Transmit(), Receive(), Available()?

$
0
0

Part Number:LAUNCHXL-CC2640R2

Tool/software: TI C/C++ Compiler

I have bought the Launchpad CC2640 for developing a simple Bluetooth application. I have found out, that it contains a complete BLEstack library for developing Bluetooth applications.

However, I only need basic Bluetooth functions like Transmit(), Receive() and Available() to develop my project, without the need to go into details of GATT, GAP services e.t.c. Is there somehow a possibility to find these basic functions for CC2640. I tried searching them out but couldn't find them. 

Thanks.

Best Regards,
--Zain

ADS54J42: I want ads54j42 lmfs 1241 cfg reg file

$
0
0

Part Number:ADS54J42

i config ads54j42 as below:

//reset device
ad_spi_write_dw(0x0000,0x81);/// Internal software reset, clears back to 0
ad_spi_write_dw(0x4001,0x00);///Clear any unwanted content from the unused pages of the JESD bank.
ad_spi_write_dw(0x4002,0x00);///Clear any unwanted content from the unused pages of the JESD bank.
ad_spi_write_dw(0x4003,0x00);/// sel main digital page
ad_spi_write_dw(0x4004,0x68);/// sel main digital page
ad_spi_write_dw(0x60f7,0x01);///reset digital block
ad_spi_write_dw(0x6000,0x01);///Pulse the PULSE RESET bit (so that register writes to the main digital page go into effect).
ad_spi_write_dw(0x6000,0x00);///Pulse the PULSE RESET bit (so that register writes to the main digital page go into effect).
//perfermence modes
ad_spi_write_dw(0x0011,0x80);///Select the master page of the analog bank.
ad_spi_write_dw(0x0059,0x20);///Set the ALWAYS WRITE 1 bit.
ad_spi_write_dw(0x0039,0x00);///ad sample fre <400 ,set 0
ad_spi_write_dw(0x003a,0x00);///ad sample fre <400 ,set 0
ad_spi_write_dw(0x0056,0x00);///ad sample fre <400 ,set 0
//programe desired register
ad_spi_write_dw(0x4003,0x00);///sel jesd digital page
ad_spi_write_dw(0x4004,0x69);///sel jesd digital page
ad_spi_write_dw(0x6000,0x80);///bit[7]:ctrl K,bit[4]:test mode en bit[0]: ila-----------------------------------------
//analog bank jesd link config
ad_spi_write_dw(0x6016,0x90);///bit[7]: must write 1,bit[4]:Lane sharing is enabled, both channels share one lane(LMFS = 1241)
ad_spi_write_dw(0x6031,0x0A);///DA bus order
ad_spi_write_dw(0x6032,0x0A);///DB bus order
ad_spi_write_dw(0x6001,0x22);///jesd register 01

ad_spi_write_dw(0x4003,0x00);///sel jesd anolog page
ad_spi_write_dw(0x4004,0x6a);///sel jesd anolog page
ad_spi_write_dw(0x6016,0x02);///pll mode 40X mode
ad_spi_write_dw(0x6017,0x40);///The PLL RESET bit is pulsed
ad_spi_write_dw(0x6017,0x00);///The PLL RESET bit is pulsed ,0 --1 -- 0
ad_spi_write_dw(0x4003,0x00);/// sel main digital page
ad_spi_write_dw(0x4004,0x68);/// sel main digital page
ad_spi_write_dw(0x604d,0x08);///decimation enable
ad_spi_write_dw(0x6041,0x10);///DECFIL EN = 1 ,The DECFIL MODE[3:0] ,41 register bit5 = 0 and bit[2:0] = 000 ,bit 3 must 0
ad_spi_write_dw(0x6052,0x80);///ddc mode only must write bit7 1
ad_spi_write_dw(0x6072,0x08);///ddc mode only must write bit3 1
ad_spi_write_dw(0x6000,0x01);///Pulse the PULSE RESET register bit. All settings programmed in the main digital page take effect only after this bit is pulsed
ad_spi_write_dw(0x6000,0x00);///Pulse the PULSE RESET register bit. All settings programmed in the main digital page take effect only after this bit is pulsed
ad_spi_write_dw(0x4003,0x00);///sel jesd digital page
ad_spi_write_dw(0x4004,0x69);///sel jesd digital page
ad_spi_write_dw(0x6006,0x08);///set K

but  ad sample sin wave ,but sample data is wrong, pls help me to chack config reg ,thanks so much. 

Linux/AM5728: Color space conversion in VIP

$
0
0

Part Number:AM5728

Tool/software: Linux


Hello. I'm use ti-processor-sdk-linux-am57xx-evm-03.03.00.04 on AM5728.

I have parallel RGB24 1024x768 video source with discrete syncs. I got my driver and can capture images with ti-vip driver. But I want to get image in UYVY pixel format.

I found, that TI VIP module can do this conversion, but I cannot found how enable it.

when I call :
yavta -s1024x768 -c4 -n4 -Fres#.data -fRGB24 /dev/video2

I got right frames in RGB24 format.

when I call :

yavta -s1024x768 -c4 -n4 -Fres#.data -fuyvy /dev/video2

I got frames in RGB24 and in dmesg output I got:

[  453.468591] vip2-s1: vip_open
[  453.468610] my_cam : get fmt
[  453.470722] vip2-s1: vip_init_port: g_mbus_fmt subdev mbus_code: 100A fourcc:RGB3 size: 1024x768
[  453.470738] vip2-s1: calc_format_size: fourcc:RGB3 size: 1024x768 bpl:3072 img_size:2359296
[  453.470746] vip2-s1: init_stream fourcc:RGB3 size: 1024x768 bpl:3072 img_size:2359296
[  453.470754] vip2-s1: init_stream vpdma data type: 0x16
[  453.470763] vip2-s1: vip_init_stream: stream instance 0x00000001ecb99000
[  453.470892] vip2-s1: s_fmt input fourcc:UYVY size: 1024x768
[  453.470902] vip2-s1: try_fmt fourcc:UYVY size: 1024x768
[  453.470910] vip2-s1: Fourcc format (0x59565955) not found.
[  453.470917] vip_csc_direction VIP_CSC_NA
[  453.474855] my_cam: enum frame size index 0
[  453.487372] vip2-s1: try_fmt loop:0 fourcc:RGB3 size: 1024x768
[  453.487383] vip2-s1: try_fmt loop:0 found new larger: 1024x768
[  453.487392] vip2-s1: try_fmt loop:0 found at least larger: 1024x768
[  453.487400] vip2-s1: try_fmt loop:0 found new best: 1024x768
[  453.487408] vip2-s1: try_fmt loop:0 found direct match: 1024x768
[  453.487417] vip2-s1: calc_format_size: fourcc:RGB3 size: 1024x768 bpl:3072 img_size:2359296
[  453.487425] vip2-s1: s_fmt try_fmt fourcc:RGB3 size: 1024x768
[  453.487430] vip_csc_direction VIP_CSC_NA
[  453.491404] vip2-s1: s_fmt fourcc:RGB3 size: 1024x768 bpl:3072 img_size:2359296
[  453.491422] vip2-s1: s_fmt pix_to_mbus mbus_code: 100A size: 1024x768
[  453.491431] set format 1024x768
[  453.494584] vip2-s1: s_fmt subdev fmt mbus_code: 100A size: 1024x768
[  453.494591] vip2-s1: s_fmt vpdma data type: 0x16
[  453.494597] my_cam: get_selection
[  453.498246] vip2-s1: g_fmt fourcc:RGB3 code: 100a size: 1024x768 bpl:3072 img_size:2359296
[  453.498254] vip2-s1: g_fmt vpdma data type: 0x16
[  453.498285] vip2-s1: get 4 buffer(s) of size 2359296 each.
[  453.505282] vip2-s1: vip_set_slice_path:
[  453.505296] vip2-s1: vip_set_slice_path: DATA_PATH_SELECT(00000110): 80008080
[  453.505304] vip2-s1: vip_set_slice_path:
[  453.505313] vip2-s1: vip_set_slice_path: DATA_PATH_SELECT(00000110): 40008080
[  453.505594] set_crop_parser: left 0, top 0
[  453.510007] my_cam: s_stream enable 1
[  453.512998] vip2-s1: vip_load_vpdma_list_fifo: start_dma vb2 buf idx:0
[  453.514127] vip2-s1: vip_load_vpdma_list_fifo: start_dma vb2 buf idx:1
[  453.916727] vip2-s1: vip_stop_streaming:
[  453.916742] vip2-s1: vip_disable_sc_path:
[  453.916752] my_cam: s_stream enable 0
[  453.919773] vip2-s1: Clear channel no: 177
[  453.921522] vip2-s1: vip_release
[  453.921537] vip2-s1: vip_release_stream: stream instance 0xee8adef0ecb99000
[  453.921546] vip2-s1: vip_release_port: port instance 0xece3e780ecb67410

i.e. uyvy discarded by driver


in my_cam driver enum_mbus_code call i'm set code->code=MEDIA_BUS_FMT_RGB888_1X24 or return -EINVAL if  code->index>=1

in get_fmt and set_fmt :

        fmt->format.width  = 1024;
        fmt->format.height = 768;
        fmt->format.colorspace = V4L2_COLORSPACE_SRGB;
        fmt->format.code   = MEDIA_BUS_FMT_RGB888_1X24;
        fmt->format.field = V4L2_FIELD_NONE;



How I should configure VIP pipeline or change my driver for read RGB24 from inputs and write UYVY to memory? I can't change video source pixel's format

DDC11XEVM-PDK: Bit-File & firmware for EZ-USB FX2LP-interface & Spartan-FPGA for backup

$
0
0

Part Number:DDC11XEVM-PDK

Hello TI,

hello everyone,

I still hope for the original shipped data files regarding:

1) EZ-USB FX2LP-interface and Cypress firmware

2) Bit-file for the associated Spartan-FPGA

for backup purposes. Otherwise all failed experiments will trash the Eval-Board  :-0

Thanks for help,

Ritchie

 

RTOS/LAUNCHXL-CC2640R2: Can MSP430 be programmed with CC2640R2 lauchpad?

$
0
0

Part Number:LAUNCHXL-CC2640R2

Tool/software:TI-RTOS

Hello,

Is there a possibility to use CC2640R2 Launchpad as an external programmer to program the IC version of MSP430.

I know that MSP430 launchpad can be used to program an external MSP430, but, is this possible with the launchpad of a different type like in this case CC2640R2. Thanks.

Best Regards,

--Zain

CC3100: Correct Way of Power Cycling the CC3100

$
0
0

Part Number:CC3100

Hi,

  In our CC3100 custom board, the following lines are connected between the CC3100& the Host MCU (either directly or via buffers):

1. HOST_SPI_CLK

2. HOST_SPI_DIN

3. HOST_SPI_DOUT

4. HOST_SPI_nCS

5. nRESET

6. nHIB

7. HOSTINTR

-

And, Vcc to the CC3100 is controlled by the Host MCU.

My question is, what is the correct way (or sequence) to power cycle the CC3100. In our application, the device collects some data from some sensors and then uses the CC3100 to transmit the collected data to the cloud server. The interval between two consecutive transmissions are of the order of half an hour or so. In our application, we are powering ON the module, then nHIB=HIGH, then applying a low pulse on nRESET. After this sequence, the first call to simplelink driver starts with:

retVal = sl_Start(0, 0, 0);

Now, after all the required data is uploaded to the cloud server, we need to power OFF the CC3100 and later on power it ON again. For this we are using the following sequence:

1. Complete all cloud server communication activity

2. Call sl_Stop(0);

3. nRESET = HIGH

4. Remove Power Supply to CC3100

5. nHIB = LOW

6. Wait for 30 minutes or more

7. nHIB = LOW

8. nRESET = LOW

9. Apply Power Supply to CC3100

10. nHIB = HIGH

11. nRESET = LOW

12. nRESET = HIGH

After this, once again, the first call to simplelink driver starts with:

retVal = sl_Start(0, 0, 0);

Following this sequence, after about 50 cycles of data upload, the simplelink driver gets stuck at various functions; sometimes in sl_DevGet(), sometimes in sl_WlanPolicySet(), sometimes in sl_Connect(). The function at which the driver gets stuck (never returns out of the function) are erratic in nature (not confined to any particular function). Even sometimes the callback function SimpleLinkSockEventHandler() ends up in "[SOCK EVENT] Unexpected event".

We are not understanding why this erratic behaviour of simplelink driver is happening. Is there anything (like proper shutdown of simplelink driver) we could have followed in the code to avoid this issue?

-

Thanks

-

Regards

Soumyajit

CCS/CC3220SF-LAUNCHXL: CC3220sf _ UART issue to communication for BLE and GSM

$
0
0

Part Number:CC3220SF-LAUNCHXL

Tool/software: Code Composer Studio

hai,

i have some issue for UART Communication  at CC3220SF

i use For UART0 

TI                          BLE or GSM

P04 (TX)      -        RX

P03(RX)       -        TX

this is Connection details

My Code

Main Function:

UART_Handle uart;
UART_Params uartParams;

/* Call driver init functions */
GPIO_init();
UART_init();

/* Configure the LED pin */
GPIO_setConfig(Board_GPIO_LED0, GPIO_CFG_OUT_STD | GPIO_CFG_OUT_LOW);

/* Turn on user LED */
GPIO_write(Board_GPIO_LED0, Board_GPIO_LED_ON);

UART_Params_init(&uartParams);
uartParams.writeDataMode = UART_DATA_BINARY;
uartParams.readDataMode = UART_DATA_BINARY;
uartParams.readReturnMode = UART_RETURN_FULL;
uartParams.readEcho = UART_ECHO_OFF;
uartParams.baudRate = 115200;

uart = UART_open(Board_UART0, &uartParams);

if (uart == NULL)
{
while (1); /* UART_open() failed */
}

UART_write(uart, echoPrompt, sizeof(echoPrompt));

const char cmd1[] = "AT\r\n";
const char cmd2[] = "AT+CMGF=1\r\n";
const char cmd3[] = "AT+CMGS=\"+917010878940\"\r\n";
const char cmd4[] = "AT+CMSS=1\r\n";

UART_write(uart, cmd1, strlen(cmd1));
sleep(5);
/* //UART_read(uart, &input, 4);
//UART_write(uart, cmd2, strlen(cmd2));
//sleep(2);
//UART_read(uart, &input, 4);
UART_write(uart, cmd3, strlen(cmd3));
sleep(2);
//UART_read(uart, &input, 4);
UART_write(uart, cmd4, strlen(cmd4));
sleep(2); */

/* Loop forever echoing */
while (1)
{
UART_write(uart, cmd1, strlen(cmd1));
sleep(5);

//UART_read(uart, &input, 1);
//UART_write(uart, &input , 1);
}
}

          Resolve this issue 

any UART Configuration 

Best Regards

SELVA

 


ADS54J42: ads54j24

$
0
0

Part Number:ADS54J42

i config ads54j42 ,lmfs is 1241 mode ,but sample sin wave is wrong ,pls  help check ,config file as below,

//reset device
ad_spi_write_dw(0x0000,0x81);/// Internal software reset, clears back to 0
ad_spi_write_dw(0x4001,0x00);///Clear any unwanted content from the unused pages of the JESD bank.
ad_spi_write_dw(0x4002,0x00);///Clear any unwanted content from the unused pages of the JESD bank.
ad_spi_write_dw(0x4003,0x00);/// sel main digital page
ad_spi_write_dw(0x4004,0x68);/// sel main digital page
ad_spi_write_dw(0x60f7,0x01);///reset digital block
ad_spi_write_dw(0x6000,0x01);///Pulse the PULSE RESET bit (so that register writes to the main digital page go into effect).
ad_spi_write_dw(0x6000,0x00);///Pulse the PULSE RESET bit (so that register writes to the main digital page go into effect).
//perfermence modes
ad_spi_write_dw(0x0011,0x80);///Select the master page of the analog bank.
ad_spi_write_dw(0x0059,0x20);///Set the ALWAYS WRITE 1 bit.
ad_spi_write_dw(0x0039,0x00);///ad sample fre <400 ,set 0
ad_spi_write_dw(0x003a,0x00);///ad sample fre <400 ,set 0
ad_spi_write_dw(0x0056,0x00);///ad sample fre <400 ,set 0
//programe desired register
ad_spi_write_dw(0x4003,0x00);///sel jesd digital page
ad_spi_write_dw(0x4004,0x69);///sel jesd digital page
ad_spi_write_dw(0x6000,0x80);///bit[7]:ctrl K,bit[4]:test mode en bit[0]: ila-----------------------------------------
//analog bank jesd link config
ad_spi_write_dw(0x6016,0x90);///bit[7]: must write 1,bit[4]:Lane sharing is enabled, both channels share one lane(LMFS = 1241)
ad_spi_write_dw(0x6031,0x0A);///DA bus order
ad_spi_write_dw(0x6032,0x0A);///DB bus order
ad_spi_write_dw(0x6001,0x22);///jesd register 01
//ad_spi_write_dw(0x6001,0xc0);///
//ad_spi_write_dw(0x6002,0x00);///K28.5
//ad_spi_write_dw(0x6005,0x00);///Scrambling dissabled
ad_spi_write_dw(0x4003,0x00);///sel jesd anolog page
ad_spi_write_dw(0x4004,0x6a);///sel jesd anolog page
ad_spi_write_dw(0x6016,0x02);///pll mode 40X mode
ad_spi_write_dw(0x6017,0x40);///The PLL RESET bit is pulsed
ad_spi_write_dw(0x6017,0x00);///The PLL RESET bit is pulsed ,0 --1 -- 0
ad_spi_write_dw(0x4003,0x00);/// sel main digital page
ad_spi_write_dw(0x4004,0x68);/// sel main digital page
ad_spi_write_dw(0x604d,0x08);///decimation enable
ad_spi_write_dw(0x6041,0x10);///DECFIL EN = 1 ,The DECFIL MODE[3:0] ,41 register bit5 = 0 and bit[2:0] = 000 ,bit 3 must 0
ad_spi_write_dw(0x6052,0x80);///ddc mode only must write bit7 1
ad_spi_write_dw(0x6072,0x08);///ddc mode only must write bit3 1
ad_spi_write_dw(0x6000,0x01);///Pulse the PULSE RESET register bit. All settings programmed in the main digital page take effect only after this bit is pulsed
ad_spi_write_dw(0x6000,0x00);///Pulse the PULSE RESET register bit. All settings programmed in the main digital page take effect only after this bit is pulsed
ad_spi_write_dw(0x4003,0x00);///sel jesd digital page
ad_spi_write_dw(0x4004,0x69);///sel jesd digital page
ad_spi_write_dw(0x6006,0x08);///set K

ADS1293EVM: Measure 1 lead ecg without RLF?

$
0
0

Part Number:ADS1293EVM

Hello

I have some problem on ADS1293EVM.

My problem is could I measure 1 lead ecg without RLF?

It is mean that just need two electrodes to measure 1 lead ecg.

Like this image

I had tried that three electrodes to measure 1 lead ecg on both hand and one RLF.

It is work for me.

But when remove RLF it doesn't work.

I had search this issue many times.

But could not see some good solution for my problem.

Does it work when remove RLF in ADS1293?

If it work, It need some unique setting or connecting?

Thank You in Advance.

and Thank every who read text because my bad English writing skill..

Zhengwei

TCI6630K2L: EVM content & getting started examples

$
0
0

Part Number:TCI6630K2L

My customer is planning to Evaluate the TCI6630 using the TCI6630K2L.

Can I have confirmation if this evaluation board comes with everything required out of the box to program it and get something working, or if not, what additional hardware is required?

 

Compiler/TMS570LS1227: TMS570LS1227

$
0
0

Part Number:TMS570LS1227

Tool/software: TI C/C++ Compiler

Hi All,

My project  is based on Hercules TMS570LS1227 where required to interface SD card based on SPI interface. I have found sample code from community from the following link

https://e2e.ti.com/support/microcontrollers/hercules/f/312/p/452304/1752469   (SD_CARD_1227ZWT)

This SD card source code ported for TMS570ls1227 and I am able to compile the source code and able to communicate over  serial and SPI interface.

Problem is occurring when calling disk_initialize()function where the following subroutines are part of function

1. power_on();  ------>                       SPI initialization --working fine

2. send_initial_clock_train();   ---->   Ensure the card is in SPI mode --working fine

3. SELECT();                            --->   chip select    ---- working fine

4. if(send_cmd(CMD0, 0) == 1) ----> Enter Idle state  -- working fine

5.if( send_cmd(CMD8, 0x1AA) == 1) ----->        find the SD card version (SDC Ver2+) -- working fine

6.  if (ocr[2] == 0x01 && ocr[3] == 0xAA) --->    The card can work at voltage range of 2.7-3.6V --working fine

7. if(send_cmd(CMD41, 1UL << 30) ==0)--->  SEND_OP_COND (ACMD)  where CMD41    (0x40+41)  

   But its always return 1or 5 and never return the 0 as per expected result.

Please find the attached code and let me suggest what could be issue and how to resolve it.

1. Complete source code:

(Please visit the site to view this file)

2. Source file of error occurring function (disk_initialize()):

Thanks,

Anil

LMZ31704: Multiple analog ground

$
0
0

Part Number:LMZ31704

Hi,

I would like to chain in series multiples LMZ31704 (1V, 1.8V and 3.3V).

First 1V Buck is powered ON, then buck 1.8V, then 3.3V. It is done thanks to PowerGood ouput signals and Enable input pin.

Also, synchronous output clock is connected to clock input of next LMZ IC.

All these signals are referenced to analog ground.

Datasheet recommends to isolate analog ground (AGND) and power ground (PGND).

Could you give me your recommendations about how to connect analog grounds between the 3 LMZ IC?

Connect all the 3 AGND together (solution 1)

or isolate the 3 AGND (solution 2).

Moreover +5VL and +1.8V are referenced to GND. Do you think I should filter the INH input signal which is referenced to AGND? Or should I create a general GROUND plane which would connect AGND and PGND pins together?

Thanks

Mickael

AM26LS32AC: AM26LS32AC

$
0
0

Part Number:AM26LS32AC

Hi,

I am using AM26LS32AC for encoder interfacing. I am using 100 ohm resistor for termination. But sometimes I didn't get output from chip. This problem resolved with multiple solution. They are as follows -

1 . If I change this chip with another one then my problem get resolved. Why this variation occurring from chip to chip? 

2.  I change termination resistor from 100 ohm to 200 ohm then this issue resolved. But as per your suggestion it should be in between 80 ohm to 120 ohm. What should be resistor value? If 200 ohm used then what will       happen?

I have attached input waveforms to AM26LS32 for your reference.

Thanking you.

Regards,

Somnath barge

Compiler: IPD+HFI

$
0
0

Tool/software: TI C/C++ Compiler

Hello,Sorry,my English is poor.

I want the licsense of IPD&HFI library .

My project is control the motor which is IPMSM of low-speed EV.

the main parameters of the meter list  blow:

Lq 150uH 

Ld 100uH

Rs: 20mOU

V_bus: 60V DC

now we use the magitic encode (AS5040) ,for the cost and reliability enhancement we want to make a sensorless system.

Thanks a lot.


CC3220: Usage of HTTPClient_setHeader() for complex HTTP Headers

$
0
0

Part Number:CC3220

Hi all,

I am developing simple IoT with CC3220SF LaunchXL evaluation board. I need to POST to server API, using WiFi connection. Environment is: CCS 7.4, SDK simplelink_cc32xx_sdk_2_10_00_04

Starting example is of course httpget.

I have reworked it to work POST, and I am able to connect to server and POST. But I keep getting HTTP errors that leads to incorrect setup of POST Headers and basically to function HTTPClient_setHeader().

This function works great if you have only one Header param to set :

e.g. Authorization : HTTPClient_setHeader(httpClientHandle, HTTPClient_HFIELD_REQ_AUTHORIZATION, HEADER1, strlen(HEADER1), HTTPClient_HFIELD_PERSISTENT);

where: #define HEADER1  "Basic dZVzdXGDp0N0\r\n"

But if I need more that one Header param (auth and Type), I am unable to use this function. I have tried:

1. 

ret = HTTPClient_setHeader(httpClientHandle, (HTTPClient_HFIELD_REQ_AUTHORIZATION | HTTPClient_HFIELD_REQ_CONTENT_TYPE), HEADER1, strlen(HEADER1), HTTPClient_HFIELD_PERSISTENT);

Where: 

#define HEADER1 "Authorization:Basic dZVzdXGDp0N0\r\n Content-Type:application/json; charset=utf-8\r\n"

2. 

ret = HTTPClient_setHeader(httpClientHandle, (HTTPClient_HFIELD_REQ_AUTHORIZATION ), HEADER1, strlen(HEADER1), HTTPClient_HFIELD_PERSISTENT);

ret = HTTPClient_setHeader(httpClientHandle, (HTTPClient_HFIELD_REQ_CONTENT_TYPE), HEADER2, strlen(HEADER1), HTTPClient_HFIELD_PERSISTENT);

Where:

#define HEADER1 "Basic dZVzdXGDp0N0\r\n"
#define HEADER2 "application/json; charset=utf-8\r\n"

and similar combinations. If anyone has experience with making complex HTTP headers with HTTPClient_setHeader() please point me to right direction.

Kind regards and thank you,

Senad

CCS/TMS320F28379D: errors don't find select.h / migration

$
0
0

Part Number:TMS320F28379D

Tool/software: Code Composer Studio

Hello,

I use CCS7 and a Development Kit :LAUNCHXL-F28379D and i install C2000.

I want re-use a project. This project works. I just have an other  PC with the same window and  i make the installation of C2000 V3 et controlesuite.

When I want build, i have this errors:

error : cannot open source files :

#1965 cannot open source file "ti/targets/select.h" .ccsproject /Example_CPU1 line 87, external location: C:\ti\xdctools_3_50_04_43_core\packages\xdc\std.h C/C++ Problem

I don't find "select.h" anywhere.


This problems come after I add "xdctools_3_50_30_33 " because i had a error about std.h. (the projet was a broke link to xdctools_3_50_30_33 so i download and add) and after resolve on this forum an problem of conflict betwen headers.

Thank you in advance.

Best regards

CCS: TMS320F28335 (Delfino EVM black board) problem

$
0
0

Tool/software: Code Composer Studio

I am working on DSP boards

(1) TMS320F28335 experimental kit

(2)TMS320F28335  (Delfino EVM blackboard)

I have generated code (50 kHz signal with the dead time) from Matlab/Simulink which is working on "TMS320F28335 experimental KIT" but not on "TMS320F28335  (Delfino EVM blackboard)". Why is this problem occurring? Both boards pictures are attached herewith. whether I have to add some more files to the second board for execution or not? please help me ASAP. Hoping a positive response. Thanks 

RTOS/MSP430FR6989: problem with rtos in ccs 8.0

$
0
0

Part Number:MSP430FR6989

Tool/software:TI-RTOS

Hi, dear colleges

 

I am trying to use rtos within ccs 8.0.

After the installation, i built the stairstep example with some warnings like this "package/cfg/helloworld_pe430X.c", line 11327: warning #112-D: statement is unreachable"

after that i ignore the warnings and want to load the program on MSP430FR6989

then i got an error:

No source available for "swiLoad(unsigned long, unsigned long) [C:/Users\A0235175\workspace_v8\stairstepStopMode_MSP_EXP430FR6989_TI\Debug\stairstepStopMode_MSP_EXP430FR6989_TI.out] at 0x0" 

and in Console: 

AutoRun: Target not run as the symbol "main" is not defined.

i think, the debug function doesn't work.

Could you help me to figure out how can i get it run ? 

Regards 

Baoyuan 

 

DS90UA101-Q1: DS90UA101-Q1 Configuration Issue

$
0
0

Part Number:DS90UA101-Q1

 

I have a customer who is asking questions regarding their configuration of the DS90UA101-Q1.

He is going to have 8 external I2C microphones connected to the DS serializer. He is going to supply the BCK and LRCK from the DS deserializer.

He also does not want to configure the DS serializer, but to run it from the default settings.  Can you tell me if this is possible?

It seems to me that it probably isn’t, due to the DS serializer defaulting the internal clock and then having to get the BCK and LRCK from another device. Will this synchronize?

Can you see a way that this might work? Are there any other potential issues in operating this part in the fashion shown?

I can send you the diagram of the application, but I cannot post it on the forum. Please let me know and I will send it to your email.

Thanks for your help with this!

Richard Elmquist

Viewing all 262198 articles
Browse latest View live


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