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

LAUNCHXL-CC26X2R1: TOF with using 2 Mbps mode

$
0
0

Part Number: LAUNCHXL-CC26X2R1

Hi,

We are testing the TOF on CC26X2R1 development kit, can we change to 1Mbps Mode on TOF.C?

what problem will cause if we just change the code "RF_cmdTof.mode  = 1 "?

Thanks

Terry


CCS/LAUNCHXL-CC1352R1: ble5_simple_broadcaster_cc13x2r1lp_app

$
0
0

Part Number: LAUNCHXL-CC1352R1

Tool/software: Code Composer Studio

I am using the LAUNCHXL-CC1352R1 and try to run the ble5_simple_broadcaster_cc13x2r1lp_app.

It should be a straightforward application that starts broadcasting BLE Advertising. 

I use the FLASH ROM debug version but it is not working at all.

I didn't find any documentation that provides directions for this application.

BLE-STACK: Webbluetooth: Fast Transfer for large Files and Firmware OTA?

$
0
0

Part Number: BLE-STACK

Hi forum,

since many Browsers now support Bluetoth LE, it is much more convenient to write Apps as PWA, using standard Javascript + HTML and with the  API:. https://webbluetoothcg.github.io/web-bluetooth/

Everything is working really excellent with the TI BLE-Stack, but not very fast...

For transferring large Files it is important to run at maximum speed: Large MTU (up to 251 allowed) and short Connection Intervals (7.5 msec).
Theoretically up to 30kB/sec is possible.

However, Webbluetooth does not support active control of the Link-Parameter, such as MTU size and Connection Intervals.

  • It is possible to modify the Connection Intervals from the Peripheral side, but not the MTU.
  • Browsers on Desktop PCs seem to negotiate  MTU of 65 Bytes, whereas on Android I always only get 23 Bytes and it seems No. of PDUs for Webbluetooth is always 1 or 2?

Does anyone know how to get transfer maximum transfer speeds with Webbluetooth?

Bottleneck seems to be the Direction:  PC/Android -> Periheral: PC:2.5kB/sec, Android:1kB/sec ( Backwards it is faster: Peripheral -> PC/Android: 5-10kB/sec)

Thanks,

Jo

CC3220SF: Getting time in while loop

$
0
0

Part Number: CC3220SF

Hi,

I am trying to run a code in while loop every 10 seconds and have the following code for that:

while(1)
{
sl_DeviceGet(SL_DEVICE_GENERAL, &configOpt, &configLen,(uint8_t *)(&dateTime));

UART_PRINT("Sec %d\r\n",dateTime.tm_sec);

if ((dateTime.tm_sec % 10) == 0)

{

... my code ...

}



Looking at the printout, the Seconds go up to 8 and then it is stuck on that. The dateTime.tm_sec doesn't go above 8 seconds. Could you help understand why the time is not being reported correctly?

Thanks.

David

CC2650: BLE-STACK 2.2.3: compilation failure with TI ARM CGT 19.6.0.STS due to change in ltoa() (with patch to fix)

$
0
0

Part Number: CC2650

1. Install BLE-STACK 2.2.3 from http ://www.ti.com/tool/BLE-STACK

2. Install TI ARM CGT 19.6.0.STS compiler

3. Import an example project with app and stack into workspace (with copy selected in import dialog), e.g. examples/cc2650lp/simple_broadcaster/ccs

4. Select properties of the stack project and choose TI ARM CGT 19.6.0.STS compiler

5. Clean and build the stack project and get this error:

"/opt/ccstudio/ble_sdk_2_02_03_08/src/components/osal/src/common/osal.c", line 408: error #167: too few arguments in function call"/opt/ccstudio/ble_sdk_2_02_03_08/src/components/osal/src/common/osal.c", line 408: error #167: too few arguments in function call

Full compiler invocation:

$ pwd
/tmp/workspace_v91-2/simple_broadcaster_cc2650lp_stack/FlashROM
$ "/opt/ccstudio/ccs/tools/compiler/ti-cgt-arm_19.6.0.STS/bin/armcl" --cmd_file="/opt/ccstudio/ble_sdk_2_02_03_08/examples/cc2650lp/simple_broadcaster/ccs/stack/../../iar/stack/../../../../../src/config/build_components.opt" --cmd_file="/opt/ccstudio/ble_sdk_2_02_03_08/examples/cc2650lp/simple_broadcaster/ccs/stack/../../iar/stack/build_config.opt"  -mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path="/opt/ccstudio/ccs/tools/compiler/ti-cgt-arm_19.6.0.STS/include" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/examples/simple_broadcaster/cc26xx/stack" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/common/cc26xx" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/components/hal/src/target/_common" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/components/hal/src/target" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/components/hal/src/target/_common/cc26xx" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/components/hal/src/inc" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/components/osal/src/inc" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/components/services/src/saddr" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/components/services/src/nv/cc26xx" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/components/services/src/nv" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/components/icall/src/inc" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/inc" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/rom" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/controller/cc26xx/inc" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/components/services/src/aes/cc26xx" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/components/npi/src" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/common/cc26xx/npi/stack" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/inc" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/icall/inc" --include_path="/opt/ccstudio/ble_sdk_2_02_03_08/src/profiles/roles" --include_path="/opt/ccstudio/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --define=CC26XX --define=CC26XXWARE --define=DATA= --define=DEBUG --define=EXT_HAL_ASSERT --define=FLASH_ROM_BUILD --define=INCLUDE_AES_DECRYPT --define=NEAR_FUNC= --define=OSAL_CBTIMER_NUM_TASKS=1 --define=OSAL_SNV=1 --define=POWER_SAVING --define=USE_ICALL --define=xDEBUG_ENC --define=xDEBUG_GPIO --define=xDEBUG_SW_TRACE --define=xPM_DISABLE_PWRDOWN --define=xTESTMODES --define=xTEST_BLEBOARD --c99 --diag_suppress=48 --diag_suppress=16004 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --obj_directory="OSAL"  "/opt/ccstudio/ble_sdk_2_02_03_08/src/components/osal/src/common/osal.c
"/opt/ccstudio/ble_sdk_2_02_03_08/src/components/osal/src/common/osal.c", line 408: error #167: too few arguments in function call
1 error detected in the compilation of "/opt/ccstudio/ble_sdk_2_02_03_08/src/components/osal/src/common/osal.c".

This error is due to a change to the ltoa prototype  in the TI CGT ARM 19.6.0.STS documented in the TI Incident Report SDSCM00052006:
cqweb.ext.ti.com/.../SDSCM00052006

Patch is attached to fix this error. The patch updates the code in the BLE Stack to invoke ltoa for TI ARM compiler in the same way as for GNUC compiler.

Please file a bug report in the TI system in order to incorporate this fix in the next release of BLE-STACK v2.2.x. Thank you.

--- a/src/components/osal/src/common/osal.c     2021-08-31 13:53:54.000000000 -0400
+++ b/src/components/osal/src/common/osal.c     2019-08-31 14:44:58.642768985 -0400
@@ -404,10 +404,8 @@
  */
 unsigned char * _ltoa(unsigned long l, unsigned char *buf, unsigned char radix)
 {
-#if defined (__TI_COMPILER_VERSION) || defined (__TI_COMPILER_VERSION__)
-  return ( (unsigned char*)ltoa( l, (char *)buf ) );
-#elif defined( __GNUC__ )
-  return ( (char*)ltoa( l, buf, radix ) );
+#if defined (__TI_COMPILER_VERSION) || defined (__TI_COMPILER_VERSION__) || defined( __GNUC__ )
+  return ( (unsigned char*)ltoa( l, (char *)buf, radix ) );
 #else
   unsigned char tmp1[10] = "", tmp2[10] = "", tmp3[10] = "";
   unsigned short num1, num2, num3;

(Please visit the site to view this file)

P.S. This is not relevant to the bug report, but I am running this on Linux. To see how to instlal from the Windows installer and onto Linux and apply necessary patches, see ti-ble-sdk Arch Linux package on AUR.

Adding input EMI filter for step down circuit - Power Designer calculation and understanding

$
0
0

Hello everyone.

I've got some question in regard to power designer and EMI input filter.

My question is how does it calculate (or suggest, because there are always some values already in place) value of line impedance (Lz and Rz) ?
It follow suggested PCB design in some way? Or it just "guessing" because we've alredy got caps ESR etc.?

I'm trying to sort this out - because I want to add this filter, but due to this "given values" I'm unsure how to properly calculate part values to achieve good filtering capabilities and stability.

If Lz and Rz are values for trace that will feed filter directly then is there are any changes in calculation for microstrip inductance for multilayer board (let's assume that power trace will be layer 1, but whole PCB is 4 layer, with classis stack-up, 2nd layer will be ground pour, 3rd layer will be power etc.).

Thank you for your time and help.

Have a nice day

CCS/CC1310: priority about timers

$
0
0

Part Number: CC1310

Tool/software: Code Composer Studio

Hello, I am trying to control a servo using a GPIO output of the CC1310 microcontroller. I need to generate a square signal of approximately 50 Hz with a width of 1.5 milliseconds for the positive pulse, but looking with an oscilloscope, this width varies a few microseconds up or down . I think the problem is the priority of the clock, but I can't find a way to give the highest priority to the clock. Could someone help me solve this problem. Waiting for an answer, regards

BQ79606A-Q1: Differential pair impedance

$
0
0

Part Number: BQ79606A-Q1

Hi there!

I'm developing a PCB with a couple of BQ79606-Q1. I would like to know If there is a specific impedance I should achieve when routing the differential pair lines needed for daisy chain communication.

Also, how critical is this for the communications?

Thanks! 


INA240: INA240

$
0
0

Part Number: INA240

Hi All

How does one paste a schematic or a pictorial in this post?

Regards

ik

LMG1210: More info on sample layout in datasheet (Figure 10.2)

$
0
0

Part Number: LMG1210

We are investigating using the LMG1210 GaNFET gate driver for a high-frequency half-bridge power stage, and have reviewed two designs we found on the TI site (LMG1210EVM and TI Designs: TIDA-01634).

However, Figure 10.2 of the spec sheet for the LMG1210 driver has a detail of an example layout that does not seem to be from either of the above designs.  The figure shows a section of an interesting-looking board, but is incomplete and has very little explanation.

I am writing to ask if any more information about the layout in the figure is available?  In particular, can you provide the full layout? also a BOM?  Interestingly, the figure shows a peculiar foil pattern that looks like a millimeter wave low-pass filter - any explanation of that would be great as well.

Thanks

- Patrick

PMP21683: Design parameters of transformer in power reference design of TI

$
0
0

Hi,TI Engineer , a reference design of power supply, The digital number is:PMP21683, the transformer of circuit encountered problems. The BOM table of components mentioned the parameters of the transformer, T100, 250uH, RLTI-1303, Renco Electronics Transformer. There is no introduction about the parameters of transformer design in PDF of technical document's user guide. Now I need the design parameters of this transformer, such as frequency, winding turn ratio and number of windings, inductance 、current and voltage of primary and secondary sides, etc.

I need your help. Thank you.

CC3220SF: AWS JSON token count definition

$
0
0

Part Number: CC3220SF

Hi,

I saw a few threads where the issues were caused by the following parameter being set to a wrong value:

#define MAX_JSON_TOKEN_EXPECTED 120 ///< These are the max tokens that is expected to be in the Shadow JSON document. Include the metadata that gets published

Usually the advice was just to increase the value and it seemed to have worked. In that regards, I would like to understand the definition of "MAX JSON TOKEN". What is it exactly, how to calculate it? What exactly is considered the "TOKEN" in the AWS Shadow JSON? Is it JSON Key? Is it JSON value? Is it Key-Value pair?

Thanks.

David

CC2640: Impedance across the RF_P and RF_N pins

$
0
0

Part Number: CC2640

Hello!

I am working on a project involving CC2640 where I have to connect this MCU to a chip antenna via a balun. How to measure the output impedance across the RF output pins of CC2640 i.e. RF_P and RF_N pins? Does it have a fixed value? Or does it change depending on the circuit components connected to the microcontroller? 

Muhtady

TMS320F280049: Reading ADC values and changing PWM values in the CLA

$
0
0

Part Number: TMS320F280049

Hello,

I'm following the examples "cla_ex1_adc_fir" and "cla_ex2_background_task" from the DriverLib f280049 folder in C2000 ware, but even without changing anything (but the Targetconfigs to debug the Launchpad f280049), the ADC values acquired are not consistent. The output value of the filter changes from 35 to -2048 erratically whether the pin ADCINA0 is connected to +3.3V or ground. However, it is possible to read successfully the ADC value from CPU1 using ADC_readResult(ADCARESULT_BASE, ADC_SOC_NUMBER0); 

On the other hand, I haven´t been able to change epwm CMPA value from cla.

I've been trying to use SysCtl_setPeripheralAccessControl(SYSCTL_ACCESS_ADCA,SYSCTL_ACCESS_CLA1,SYSCTL_ACCESS_FULL ) to allow access for the cla to the peripheral but no success

I've added too #include "f28004x_cla_typedefs.h" to the cla file but no success.

Using assembler code for the cla is not an option.

What am I doing wrong? is there another example that successfully reads the ADC / changes CMPA from the cla?

I've spent many hours on a project that uses the CLA, and CPU1 with the DriverLib and this is the only part that doesn't work, I'd thank you very much if you can give me an advice 

TMS320F28379D: F28379 launchpad SPI issue

$
0
0

Part Number: TMS320F28379D

Hello All,

I would like to use F28379 launchpad to communication with LTC6811 demo board via SPI. I would like to configure the SPI clock line to be active high when there is no SPI communication.

Here is what I want:

However, here is what I get:

Do you know how to configure SPI clock line to be the one LTC6811 requires?

Thanks

Fei


CCS/CC3200: ti_rtos_config project build fail

$
0
0

Part Number: CC3200

Tool/software: Code Composer Studio

No Ti-Rtos for CC32XX in my CCS_V8.3.0 App Center, so I download "tirtos_cc32xx_2_16_01_14" and manual install it to c:\ti directory.

"CC3200SDK_1.4.0" is also installed in c:\ti directory. There are a number of xdctools: "xdctools_3_51_01_18_core", "xdctools_3_50_08_24_core",'xdctools_3_32_02_25_core","xdctools_3_32_00_06_core".

In my CCS project, "Properties->General->Product" instead of "Properties->General->RTSC"       (Will this cause problem?)

I follow the CC3200 LanuchPad Getting Start Guide" (swru376.pdf) to build the project, but ti_rtos_config project  fails.

Here is the output message:


**** Build of configuration Default for project ti_rtos_config ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k all

Building file: "C:/ti/CC3200SDK_1.4.0/cc3200-sdk/ti_rtos/ti_rtos_config/app.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_51_01_18_core/xs" --xdcpath="C:/ti/ccsv8/ccs_base;C:/ti/tirtos_cc32xx_2_16_01_14/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/tidrivers_cc32xx_2_16_01_13/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/uia_2_00_05_50/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.simplelink:CC3200 -r release -c "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS" "C:/ti/CC3200SDK_1.4.0/cc3200-sdk/ti_rtos/ti_rtos_config/app.cfg"
configuring app.xem4 from package/cfg/app_pem4.cfg ...
subdir_rules.mk:12: recipe for target 'build-11648687-inproc' failed
error: xdc.cfg.Program: "C:/ti/xdctools_3_51_01_18_core/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.
js: "C:/ti/xdctools_3_51_01_18_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_51_01_18_core\gmake.exe: *** [package.mak:202: package/cfg/app_pem4.xdl] Error 1
js: "C:/ti/xdctools_3_51_01_18_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[2]: *** [build-11648687-inproc] Error 1
subdir_rules.mk:9: recipe for target 'build-11648687' failed
gmake[1]: *** [build-11648687] Error 2
gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
makefile:127: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

How to fix this error?

Thanks.

AFE7444: AFE7444 Register Set Technical Reference Manual

$
0
0

Part Number: AFE7444

Hi,

We don't find the 'AFE7444 Register Set Technical Reference Manual' which is mentioned in the full datasheet on page 175. You granted us full access to the AFE7444 design files, but this manual we can't find there. We would really need a full register map for the device. Can you please point us out where to find it?

Thanks 

LMK04616: Low skew mode

$
0
0

Part Number: LMK04616

I can't understand the phase relationship between the ClkinX and the sysclk.

Can you please see the attached wave-forms:

Assume the asynchronous sync pulse inserted to the clock distributed at SYNC 1 time or SYNC 2.

My question:  Where will the sysclk appear in this timing diagram in case of pulse at SYNC 1 and in case of SYNC 2?

Will it appear in the same place (time) in both cases?

TM4C123GH6PGE: API_usb_host_audio example Question ( Use DK-TM4C123G)

$
0
0

Part Number: TM4C123GH6PGE

Q1> In the figure ③, “pcm xxxx 16bit xxxx. wav ”file cannot be played.    

         Send me a wav file that can be played ?

Q2> I use the audio conversion program of NCH Sotfware Company (www.nch.com.au) Switch Audio Converter.

       Audio source file (a2002011001-e02-16kHz.wav) is changed to pcm 16bit 44.1Khz (uncompressed) file but it does not work.

       Can you tell me what audio conversion program would you recommend?

Q3> I attach a test file (* .wav file).

         Is it convertible to play?

regards.

Jame, Shin

(Please visit the site to view this file)

WEBENCH® Tools: WEBENCH Thermal simulation tool

$
0
0

Tool/software: WEBENCH® Design Tools

Hello support team,

I can't find thermal simulation tool in WEBENCH new interface. Customer would like to change PCB copper size and confirm junction temperature. Does new interface support it? Or can I use thermal simulation in old interface?

Thanks,

Koji Ikeda 

Viewing all 262198 articles
Browse latest View live


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