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

PCM2900: PCM2900 Vcom Iout

$
0
0

Part Number:PCM2900

Hello

I am facing an issue with the Vcom pin which is not able to deliver enough current. I am not using a lot ~ 100uA

I was wondering two things:

1) What is the maximum current I may sink from this pin.

2)May I provide to this pin an external voltage reference? Or should I provide an external voltage reference to the Vccci pin and then use the Vcom (and expect to get enough current)?

Thanks

Nicolas


CC2564MODN: HCI communication lost

$
0
0

Part Number:CC2564MODN

Hello,

We use a CC2564MODN on our new product. This product has to constantly scan in BT classic and BLE to detect when paired devices are powered on, in order to establish connections as soon as possible.

To acheive that we perform in loop an inquiry mode for 5 seconds followed by a LE scan for 5 seconds. Interval and window are set to 11.25ms.

In the long run, the CC2564MODN  does not seem to support this high rate scan. All our boards end up to lost permanently their HCI communication randomly in a time window of 8 to 36 hours.

When this happens, the host cannot communicate with the module as the module does not reply to HCI commands anymore. At the same moment, the module TX-debug printouts many errors:

5921416 2 03/28/18 02:32:49.202 +33:36:20.297 BT Logger 1 HCILL send command: HCILL_GOTO_SLEEP_IND_MSG
5921417 2 03/28/18 02:32:49.202 +33:36:20.297 BT Logger 1 HCILL state machine is: WAITING FOR SLEEP ACK
5921418 2 03/28/18 02:32:49.202 +33:36:20.297 BT Logger 1 HCILL received command: HCILL_GOTO_SLEEP_ACK_MSG
5921419 2 03/28/18 02:32:49.202 +33:36:20.297 BT Logger 1 HCILL state machine is: SLEEP
5921420 7 03/28/18 02:32:49.330 +33:36:20.425 BT Logger 1 SCAN got invalid packet, type 15, length 44, AC 4, bits 28
5921421 7 03/28/18 02:32:49.378 +33:36:20.473 BT Logger 1 SCAN got invalid packet, type 9, length 25, AC 4, bits 27
5921422 3 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 lm_lc_start_inquiry_scan
5921423 2 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 LC_PICONIZER - allocated network clock 1
5921424 5 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 synch event REG received, module INQUIRY SCAN, msi 1
5921425 5 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 synch cmd abort instance, module WB_SCAN_MODULE_ID, msi: 1
5921426 5 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 synch cmd return event ABORT_FINISH_SUSPENDED,module WB_SCAN_MODULE_ID
5921427 5 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 synch cmd start instance, module INQUIRY SCAN, msi: 1
5921428 2 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 LC Inquiry Scan - Start, LAP=0x9e8b33, Window=9 frames
5921429 5 03/28/18 02:32:49.474 +33:36:20.569 BT Logger 1 synch cmd return event STARTED,module INQUIRY SCAN
5921430 5 03/28/18 02:32:49.490 +33:36:20.585 BT Logger 1 synch event FINISH received, module INQUIRY SCAN, msi 1
5921431 5 03/28/18 02:32:49.490 +33:36:20.585 BT Logger 1 synch cmd start instance, module WB_SCAN_MODULE_ID, msi: 1
5921432 5 03/28/18 02:32:49.490 +33:36:20.585 BT Logger 1 synch cmd return event STARTED,module WB_SCAN_MODULE_ID
5921433 7 03/28/18 02:32:49.586 +33:36:20.681 BT Logger 1 SCAN got invalid packet, type 9, length 50, AC 1, bits 28
5921434 3 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 lm_lc_start_page_scan
5921435 2 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 LC_PICONIZER - allocated network clock 1
5921436 5 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 synch event REG received, module PAGE SCAN, msi 1
5921437 5 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 synch cmd abort instance, module WB_SCAN_MODULE_ID, msi: 1
5921438 5 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 synch cmd return event ABORT_FINISH_SUSPENDED,module WB_SCAN_MODULE_ID
5921439 5 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 synch cmd start instance, module PAGE SCAN, msi: 1
5921440 2 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 Page Scan start, Window = 9 frames
5921441 5 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 synch cmd return event STARTED,module PAGE SCAN
5921442 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 BLE Test: Transmitted/Bad CRC 0x%x-%x packets
5921443 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 Trace #3784
5921444 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 Trace #6276 : 452 989 0 52939 64815556 3469410304 3095903451 2147487232 5207748 7 7 0 825375029 3552308 3097214167 2147487488 5207748 7 7 0 825375029 3683380 3097476307 2281705472 ( 0x1C4 0x3DD 0x00 0xCECB 0x3DD01C4 0xCECB0000 0xB887BCDB 0x80000E00 0x4F76C4 0x07 0x07 0x00 0x31323935 0x363434 0xB89BBCD7 0x80000F00 0x4F76C4 0x07 0x07 0x00 0x31323935 0x383434 0xB89FBCD3 0x88001000 )
5921445 1 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 ERROR: Data Abort !!!, Link Register: 0x48350
5921446 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 Wibree Test Message
5921447 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 Wibree Test Message
5921448 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 ASSERT: IPC_SEND_FAIL (%1)(%d)
5921449 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 scan_activity_scan_setup_initializations
5921450 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 SCAN got invalid packet, type 9, length 50, AC 1, bits 28
5921451 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 mini_synchronizer_register: ABORT!! current_time: btclk 52928, pt 511. End Time: btclk 52919, pt 1159
5921452 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 mini_synchronizer_register: ABORT!! current_time: btclk 52928, pt 528. End Time: btclk 52919, pt 1159
5921453 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 mini_synchronizer_register: ABORT!! current_time: btclk 52928, pt 545. End Time: btclk 52919, pt 1159
5921454 7 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 mini_synchronizer_register: ABORT!! current_time: btclk 52928, pt 561. End Time: btclk 52919, pt 1159
5921455 1 03/28/18 02:32:49.660 +33:36:20.755 BT Logger 1 ERROR: Data Abort !!!, Link Register: 0xe10f0004

Here is one of our lgr files: (Please visit the site to view this file)

Here are the setup details:

- module CC2564MODN,

- host iMX 283, Linux kernel 4.8.6

- UART set to br 3000000

- BTS file is (Please visit the site to view this file)  (manual merge from initscripts-TIInit_6.7.16_bt_spec_4.1.bts and initscripts-TIInit_6.7.16_ble_add-on.bts)

- Bluez 5.45

Here is the scenario:

1- boot linux 4.8.6 kernel

2- load BTS file and attach hci interface thanks to this linux command: hciattach -s 115200 /dev/ttyAPP0 texas 3000000

3- start bluetoothd (bluez 5.45) in dual mode (LE + BT)

4- bluetoothd is set in discovery mode (continiously alterning inquiry mode and LE scan every 5 seconds)

5- after few hours in discovery mode (randomly between 8h and 36h), the CC2564MODN stops returning HCI event status

- a LE scan disable command is sent to the CC2564MODN to stop the current LE scan,

- the event status is not returned from the CC2564MODN,

- the HCI logs from TI logger displays errors at this exact same moment instead of displaying the LE scan disable command from host,

- the CC2564MODN does not answer to any HCI commands anymore

6- a hardware chip reset is neccessary to retablish HCI communication

Thank you for your support,

UCD90320: VREF input current

$
0
0

Part Number:UCD90320

Good morning!

I want to use UCD90320 with ADC reference voltage supply (VREF+ VREF-), which can provide 20mA output current. But I cant find any information about input current through VREF sequencer`s pin. Please, help me find out this information. 

Thanks.

TMS320F28062: C2000 Gang

$
0
0

Part Number:TMS320F28062

Is it possible to encrypt C2000GANG? The goal is to prevent reading the program  out of the C2000GANG

AMC1200: Wrong circuit schematic in datasheet?

$
0
0

Part Number:AMC1200

Hello,

A customer pointed out that the wiring in Figure 36 of AMC1200 datasheet may be wrong.

The wiring in Figure 36 is slightly different from Figure 32.

In Figure 36, GND1 does not connect to the node between high-side and low-side FET, but it connects to Load instead.

Is this correct or wrong?

Thank you.

Regards,

Oguri

MSP432P401R: Interface with crystal font display CFAF240320X0-020T-Drivers?

$
0
0

Part Number:MSP432P401R

Hello,

I have a Launchpad kit msp-exp432p401r with booster pack boostxl-edumk II which has a crystal display 128x128(CFAF128128B10145T).

I have created an application and are able to interface with this display and i am  displaying messages and images using the driver available for this display using GRLIB drivers from TI .

Now we are planning to change the LCD display to CFAF240320X0-020T which is 240x320 2 inch display.

Now our question is whether the same drivers are compatible with this display(CFAF240320X0-020T) by changing the command set  which has same SPI interface as earlier display?

or does it requires new drivers?

Regards,

Sanath Rai

BQ501210: BQ501210

$
0
0

Part Number:BQ501210

Hi Team

I am working on Power Bank that has wireless charger as well(15 watt).

if I placed the charging coil over the batteries, is there any risk factor ??

Does this affect the efficiency ??

(I am wondering that wireless charger generates the Heat at the time of charging and this might be risk factor, if I placed coil over batteries)

Batteries Capacity : 27000mAh

ADS7142: Timing specification - DEVICE_RESET & OFFSET_CAL

$
0
0

Part Number:ADS7142

Hello,

Could you please let me know if there are timings available for the following:

1) What is the maximum time required for offset calibration command (OFFSET_CAL register)

2) What is the maximum time required for reset command (DEVICE_RESET register)?


Appication problem for AMP

$
0
0

Hi team,

 

My customer want to use two opa to convert the audio single ended signal to differential signal, as show in below draft sch, for long distance transmission.

And they want to know how to calculate or test the output resistance of the differential signal? Could you please share some document regarding to this case?

Thanks a lot!

 

Compiler/OPT9221: About the "Ambient data",Ambient data is close to 0.

$
0
0

Part Number:OPT9221

Tool/software: TI C/C++ Compiler

hi:

In the datasheet of opt9221, " near zero values indicate pixel pixel".

Ambient data is 6, how should I adjust to make "Ambient data" larger?What are the parameters that affect Ambient data?

I also want to ask how to raise the “Amplitude data "?, now "Amplitude data" is small, affecting the measurement range of opt8241.

Thanks a lot,

kemeng zhu

TPS2543: Current Drop at reular intervals when mobile is connected

$
0
0

Part Number:TPS2543

Hi,

Below is my circuit, M_USB_DM, M_USB_DP are connected to controller (TMS320F28069)

When I connect Mobile phone for charging on connector J9, the 5V supply draws 0.47 A current and in 5 seconds drop to 0.1A current, then again rises to 0.47A current. This fluctuations happens repetadely.

Kindly suggest reason for the current switching.

Siddharth Gupta

RTOS/TDA2PXEVM: TDA2PXEVM

$
0
0

Part Number:TDA2PXEVM

Tool/software:TI-RTOS

Hi, 

Built bios all for TDA2p platform using vision SDK 3.02. 

Created a SD card for booting the EVM and I get the following output. The MPU enters retention mode , boot does not proceed and the system is stuck

Tried to use all options of generated MLOs as shown below but the MPU enters retention mode and nothing appears on the screen. 

See listing below. 

PROCESSOR_SDK_VISION_03_02_00_00/vision_sdk$ ls binaries/apps/tda2px_evm_bios_all/sbl/sd/

opp_high opp_low opp_nom opp_od

 

What may be the root cause for that? 

=======================

TDA2Px SBL Boot 

DPLL Configuration Completed 

Clock Domain Configuration Completed 

Module Enable Configuration Completed 

TI EVM PAD Config Completed 

DDR Config Completed 

App Image Download Begins 

SD Boot - file open completed successfully 

MPU CPU0 Image Load Completed 

IPU1 CPU0 Image Load Completed 

IPU1 CPU1 Image Load Completed 

IPU2 CPU0 and CPU1 Image Load Completed 

DSP1 Image Load Completed 

DSP2 Image Load Completed 

EVE1 Image Load Completed 

EVE2 Image Load Completed 

App Image Download Completed 

Putting MPU CPU1 in Off mode 

EVE MMU configuration completed 

EVE MMU configuration completed 

*****************************************************************

PMCCNTR counts once every 64 clock cycles, multiple by 64 to get actual CPU cycles 

SBL Initial Config Cycles - 104832  (8.94 ms)
SOC Init Cycles - 170451  (14.54 ms)
DDR Config Clock Cycles - 42953  (3.66 ms)
App Image Load Cycles - 519656  (44.34 ms)
Slave Core Bootup Cycles - 130921  (11.17 ms)
SBL Boot-up Cycles - 969874  (82.76 ms)
Time at which SBL started IPU1_0 - 15257  (1.30 ms)
*****************************************************************

Putting MPU in Retention…

Thanks,

Yair

DRA626: CLKOUT1/2 pin default status

$
0
0

Part Number:DRA626

Does the CLKOUT1/2 pin default output clock or during ROM booting?

PCI2050B: About JTAG pins (TCK,TMS,TDI,TDO,TRST) when JTAG is not used

$
0
0

Part Number:PCI2050B

Hello support-team,

I have the following question regarding PCI2050B.

When not using the JTAG function, how can I handle the JTAG pins (TCK, TMS, TDI, TDO, TRST)?
Should these pins be pulled-up, or pulled-down?

Best regards,
M. Tachibana

SN65HVD10: propagation spec

$
0
0

Part Number:SN65HVD10

Hi

My customer is requesting for low propagation half-duplex RS485 solution. For SN65HVD10, driving propagation delay is MIN/MAX 5ns/16ns, receiving propagation delay is MIN/MAX 12.5ns/25ns. Customer need MAX-MIN is less than 5ns for both driving and receiving propagation delay. Please help comment suitable solution. Thanks!

Regards

David


TDA2EVM5777: PROCESSOR_SDK_VISION_03_00_00_00 eglCreateContext failed

$
0
0

Part Number:TDA2EVM5777

Hi,

I test 3d surround view use case in Processor-Vison 3.0. Please see the work flow  for the use case at the last.

But eglCreateContext return fail. The following is the output.

[HOST] [HOST  ]     62.464649 s:  EGL: version 1.4

EGL: after eglCreateContext() eglError (0x3005)

[HOST] [HOST  ]     62.815714 s:  EGL: eglCreateContext() failed !!!

The following is the function which calls eglCreateContext. So is there a way to figure out the reason why eglCreateContext failed? 

int System_eglOpen(System_EglObj *pEglObj, struct control_srv_egl_ctx *eglInfo)
{
EGLint num_configs;
EGLint majorVersion;
EGLint minorVersion;
int ret, count;
System_Buffer *nextBuf;
int status;
System_EglPixmapVideoFrameBuffer *eglBuf;
EGLCompatBuffer eglCBuf;
UInt32 flags = pEglObj->chInfo.flags;

const EGLint attribs[] = {
EGL_RED_SIZE, 1,
EGL_GREEN_SIZE, 1,
EGL_BLUE_SIZE, 1,
EGL_ALPHA_SIZE, 0,
EGL_SURFACE_TYPE, EGL_PIXMAP_BIT,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_DEPTH_SIZE, 8,
EGL_NONE
};
EGLint context_attribs[] = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE };

memcpy(&(pEglObj->eglInfo), eglInfo, sizeof(pEglObj->eglInfo));

pEglObj->nativeDisplay = pEglObj->eglInfo.get_egl_native_display();
pEglObj->display = eglGetDisplay((EGLNativeDisplayType)pEglObj->nativeDisplay);
System_eglCheckEglError("eglGetDisplay", EGL_TRUE);
if (pEglObj->display == EGL_NO_DISPLAY) {
Vps_printf(" EGL: ERROR: eglGetDisplay() returned EGL_NO_DISPLAY !!!\n");
return -1;
}

ret = eglInitialize(pEglObj->display, &majorVersion, &minorVersion);
System_eglCheckEglError("eglInitialize", ret);
Vps_printf(" EGL: version %d.%d\n", majorVersion, minorVersion);
if (ret != EGL_TRUE) {
Vps_printf(" EGL: eglInitialize() failed !!!\n");
return -1;
}

if (!eglBindAPI(EGL_OPENGL_ES_API)) { // Shiju - add in VSDK
Vps_printf(" EGL: ERROR - failed to bind api EGL_OPENGL_ES_API\n");
return -1;
}

if (!eglChooseConfig(pEglObj->display, attribs, &pEglObj->config, 1, &num_configs))
{
Vps_printf(" EGL: ERROR: eglChooseConfig() failed. Couldn't get an EGL visual config !!!\n");
return -1;
}

pEglObj->context = eglCreateContext(pEglObj->display, pEglObj->config, EGL_NO_CONTEXT, context_attribs);
System_eglCheckEglError("eglCreateContext", EGL_TRUE);
if (pEglObj->context == EGL_NO_CONTEXT) {
Vps_printf(" EGL: eglCreateContext() failed !!!\n");
return -1;
}

#ifdef QNX_BUILD
egl_config_verbose(pEglObj->display, pEglObj->config);
#else
ret = eglMakeCurrent(pEglObj->display, EGL_NO_SURFACE, EGL_NO_SURFACE, pEglObj->context);
System_eglCheckEglError("eglMakeCurrent", ret);
if (ret != EGL_TRUE) {
Vps_printf(" EGL: eglMakeCurrent() failed !!!\n");
return -1;
}

System_eglPrintGLString("Version", GL_VERSION);
System_eglPrintGLString("Vendor", GL_VENDOR);
System_eglPrintGLString("Renderer", GL_RENDERER);
System_eglPrintGLString("Extensions", GL_EXTENSIONS);
#endif

status = OSA_queCreate(&(pEglObj->eglEmptyBufQue), SYSTEM_MAXNUM_EGL_BUFFERS);
OSA_assert(status == SYSTEM_LINK_STATUS_SOK);

status = OSA_queCreate(&(pEglObj->eglFullBufQue), SYSTEM_MAXNUM_EGL_BUFFERS);
OSA_assert(status == SYSTEM_LINK_STATUS_SOK);

for (count = 0; count < SYSTEM_MAXNUM_EGL_BUFFERS; count++)
{
nextBuf = OSA_memAlloc(sizeof(System_Buffer));
OSA_assert(nextBuf != NULL);

nextBuf->payload = OSA_memAlloc(sizeof(System_EglPixmapVideoFrameBuffer));
OSA_assert(nextBuf->payload != NULL);

nextBuf->payloadSize = sizeof(System_EglPixmapVideoFrameBuffer);
nextBuf->bufType = SYSTEM_BUFFER_TYPE_EGLPIXMAP_VIDEO_FRAME;
nextBuf->chNum = 0;
nextBuf->frameId = 0;

eglBuf = nextBuf->payload;
eglCBuf = pEglObj->eglInfo.get_egl_native_buffer(pEglObj->width, pEglObj->height);
eglBuf->eglPixmap = eglCBuf.eglPixmap;
eglBuf->pixmapNative = eglCBuf.pixmapNative;
eglBuf->bufAddr[0] = eglCBuf.pixmapNative;
eglBuf->eglSurface = (UInt32)eglCreatePixmapSurface(pEglObj->display, pEglObj->config, eglBuf->eglPixmap, NULL);
OSA_assert(eglBuf->eglSurface != (UInt32)EGL_NO_SURFACE);

eglBuf->chInfo.flags = System_Link_Ch_Info_Set_Flag_Data_Format(flags, SYSTEM_DF_ABGR32_8888);
eglBuf->chInfo.pitch[0] = eglCBuf.stride;
eglBuf->chInfo.pitch[1] = eglCBuf.stride;
eglBuf->chInfo.pitch[2] = eglCBuf.stride;
eglBuf->chInfo.width = eglCBuf.width;
eglBuf->chInfo.height= eglCBuf.height;
eglBuf->chInfo.startX= 0;
eglBuf->chInfo.startY= 0;
eglBuf->flags = System_Link_Ch_Info_Set_Flag_Data_Format(flags, SYSTEM_DF_ABGR32_8888);

pEglObj->chInfo.width = eglCBuf.width;
pEglObj->chInfo.height= eglCBuf.height;
pEglObj->chInfo.pitch[0] = eglCBuf.stride;
pEglObj->chInfo.pitch[1] = eglCBuf.stride;
pEglObj->chInfo.pitch[2] = eglCBuf.stride;
pEglObj->chInfo.startX = 0;
pEglObj->chInfo.startY = 0;
pEglObj->chInfo.flags = System_Link_Ch_Info_Set_Flag_Data_Format(flags, SYSTEM_DF_ABGR32_8888);

//Vps_printf("System Buffer created = %p, contains = %p (eglpixmap = %p)\n", nextBuf, eglBuf, eglBuf->eglPixmap);

OSA_quePut(&(pEglObj->eglEmptyBufQue), (Int32)nextBuf, OSA_TIMEOUT_FOREVER);
pEglObj->eglBuffers[count] = nextBuf;
}
#ifdef QNX_BUILD
eglBuf = pEglObj->eglBuffers[0]->payload;
ret = eglMakeCurrent(pEglObj->display, (EGLSurface)eglBuf->eglSurface, (EGLSurface)eglBuf->eglSurface, pEglObj->context);
OSA_assert(ret != 0);

egl_config_verbose2();
#endif

return 0;
}

Mason Su

Best Regards

CCS/TMS320C5505: Problem related to compile the code

$
0
0

Part Number:TMS320C5505

Tool/software: Code Composer Studio

I am new in DSP Processor to evaluate the same I have purchased TMS320C5505 EZDSP. After installation CCS Version: 4.1.3.00034 I have evaluated the Sample program received along with evaluation kit. All are working properly. To access more example I have accessed example program in CCS folder (C:\Program Files\Texas Instruments\ccsv4\emulation\boards\usbstk5505_v2\c55xx_csl\ccs_v4.0_examples when I have select UART example and compile the same CCS generating error The current directory is invalid. The current directory is invalid.

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** [csl_uart_intc_example.obj] Error 1

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors. Please inform the solution. Please also inform the book or starting code example by them I can evaluate basic working of Peripherals and configuration of TMS320C5505 DSP Processor. Please also inform the link or material so that I can master on that DSP Processor & Code Composer Studio.

Thanks

With Best regards

Manish Kothari

TPS2595: What's the difference between "Precision Adjustable Limit Switch" and "eFuse"?

$
0
0

Part Number:TPS2595

Hi, 

They all enter the constant current mode when the current exceeds the limit. The major difference is the Vin level, eFuse is higher than "Precision Adjustable Limit Switch". Are there any other difference?

CCS/CODECOMPOSER: Automatic adding of include path

$
0
0

Part Number:CODECOMPOSER

Tool/software: Code Composer Studio

Hello there!

I've spend some hours troubleshooting and want to ask what I've done wrong/ share my experience:

I tried to share some files between projects and therefore wanted to move files from the project-folder to another location. Then i added the files back in as a linked resource. When i added header files, CSS convenitently asked me if it should adjust the build path to incude the file i was about to add.

Here comes the problem: when clicking yes, my project got messed up and cannot be built anymore.

"No rule to make Target"

"Target not supported: devkit.target.Generic"

In contrary, if i add the include path myself, no error occurs.

Cheers,

Dominik

CC3100: Secure MQTT connection

$
0
0

Part Number:CC3100

Hi,

I try to connect to mqtt.googleapis.com on PORT 8883 .

I modify MQTT Client example :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
char*security_file_list[] = {"/cert/roots.der"};
/* Connection configuration */
connect_config usr_connect_config[] =
{
  {
    {
      {
        SL_MQTT_NETCONN_URL | SL_MQTT_NETCONN_SEC,
        mqttHost,
        PORT_NUMBER,
        SL_SO_SEC_METHOD_SSLv3_TLSV1_2,
        SL_SEC_MASK_TLS_RSA_WITH_AES_256_CBC_SHA256,
        1,
        security_file_list,
      },
      SERVER_MODE,
      true,
    },
    NULL,
    clientID, /* Must be unique */
    "guest",
    pass,
    true,
    KEEP_ALIVE_TIMER,
    {CC3100Drv_Mqtt_Recv, sl_MqttEvt, sl_MqttDisconnect},
    SUB_TOPIC_COUNT,
    {SUB_TOPIC1},
    {QOS0},
    {WILL_TOPIC, WILL_MSG, WILL_QOS, WILL_RETAIN},
    false
  }
};

But it cannot connect secure 

1
2
Status = sl_Connect(MqttSocketFd, (SlSockAddr_t *) &LocalAddr,
                LocalAddrSize);

status  = SL_ESEC_ASN_SIG_CONFIRM_E

Any idea?

Thanks

Viewing all 262198 articles
Browse latest View live


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