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

RTOS/AMIC110: AMIC 110 Ethercat slave demo with "DDR Less"

$
0
0

Part Number:AMIC110

Tool/software: TI-RTOS

Hi Champs:

Please read the attached SOP that we have made for AMIC110 + C2000 ethercat demo.

Now, we have some problems:

   A. If the customer is using the "DDR less", how to flash the image onto SPI flash?

   B. Do we have any document to guide us how to write the image onto SPI flash thru USB/UART/Ethernet ?

   please note: we are talking about this based on AMIC110

BR Rio

(Please visit the site to view this file)

BR Rio


RTOS/AWR1642: FOV

$
0
0

Part Number:AWR1642

Tool/software: TI-RTOS

Hi,

We have specific requirement on FOV(Field of view) of AWR1642 boost to be 50 degrees and 15 degrees for short range coverage(80m).

As we go through manuals and forums ,FOV is 60 degrees.Is it possible to achieve 15 degrees and 50 degrees of FOV with AWR1642boost hardware.

Could you clarify  is it software configurable (or) fixed for awr1642boost board.

Thanks and regards

K Subrahmaniam

DS90UB934-Q1EVM: Bill of Materials

$
0
0

Part Number:DS90UB934-Q1EVM

Dear TI,

I'm looking at SNLU220 document which is DS90UB934-Q1EVM Evaluation Module User's Guide.

And I can't find the BOM for this board.

Can I get the BOM?

thanks,

TS

TMS570LS3137: CAN messages lost

$
0
0

Part Number:TMS570LS3137

Hello,

I am working with the TMS570LS31HDK. I am implementing a CAN gateway between DCAN1 and DCAN2. When I use one CAN to receive messajes and the other to transmit, all works perfectly. The problem is when i use both CAN channels to transmit and receive messages, 10% are lost.

thanks in advance

Best regards,

Dani Gomez

SN74AVC16827: 100MHz and 200MH Operating Condition

$
0
0

Part Number:SN74AVC16827

Hi,

Could you please tell me the 100MHz and 200MHz operating conditions for SN74AVC16827 ?
* e.g.: VCC, CL(output load capacitance, etc)

Best regards,
Kato

LMH6553: Single power supply and single-end input

$
0
0

Part Number:LMH6553

Hi

I'm sorry for my late reply.

In the related thread, high clamp over drive (like 1600%) is too high.

Is the limitation of overdrive is up to 100%?

Our customer examined 4V/V( Rf=270ohm, Rg=62ohm), but output long setting issue is not resolved.

BestRegards

DS90UB947-Q1: 947 backward compatible with DS90UB924Q-Q1

$
0
0

Part Number:DS90UB947-Q1

Dears

As 947 datasheet says: cDS90UB926Q-Q1 and randomization. In backward compatible mode, the DS90UB928Q-Q1 FPD-Link III Deserializers

I want to if 947 backward compatible with DS90UB924Q-Q1, thank you!

Kind Regards

Jeremy

CCS/CC2640R2F: SensorI2C with custom board

$
0
0

Part Number:CC2640R2F

Tool/software: Code Composer Studio

Hi,

I would like to interface the BQ32002DR (RTC) with CC2640R2F. I try to use the SensorI2C.h. 

I write:

SensorI2C_open();
SensorI2C_select(0, 0xD0);

the SensorI2C_select is ok, if I modify the code with:

if(SensorI2C_select(1, 0xD0)){

System_printf("true\n");
System_flush();


} else {


System_printf("false\n");
System_flush();


}

I get true on console.

but the instructions: 

SensorI2C_writeReg or SensorI2C_readReg return false.

Can I modify the instructions in SensorI2C.h to adapt them my purposes?

Are there other function that allow a good and easy interfacing or have I to do them?

Thanks.

Best regards.

Giuseppe


RTOS/CC1310: rfWakeOnRadioTx transmission

$
0
0

Part Number:CC1310

Tool/software: TI-RTOS

Hello,

We are using "rfWakeOnRadioTx" and "rfWakeOnRadioRx" project to test TX and RX.

I have one query in TX project.

How many times Transmitter transmits the data when button is pressed ?

How RX and TX synch with each other as Receiver is turned on for only 5 ms.

So when Transmitter transmits at that time if Receiver is not ON then it can miss the data. 

Regards,

Smitesh Mali

question of TPS61230A

$
0
0

We use TPS61230A under the following conditions.

Vin=3.0V

Vout=3.3V

Iout=1.6A

If input voltage is 3.8V, How is the IC?

Is the IC broken?

We want to know the operation that Vin > Vout.

Best regards,

Takahiro Nishizawa

CCS/EK-TM4C129EXL: code for RTC for output on display BoosterPack MKII

$
0
0

Part Number:EK-TM4C129EXL

Tool/software: Code Composer Studio

Hey folks,

EK-TM4C129EXL

I'm looking for an implementation of an RTC. I have the DS3231 RTC from Maxim Integrated that I would like to get running and display time on our connected display (BoosterPack MKII). Does anybody have experience with that and a code?

thanks in advance!

best regards!

DS90UB948-Q1: SCH PROBLEM

$
0
0

Part Number:DS90UB948-Q1

Hello TI Experts,

I am now using DS90UB948,and have a problem need your help:

Can I put a common mode inductance desides 100Ω to improve EMC?

Do I need to add common mode inductance in the input signal of DS90UB948 to improve EMC?

Linux/66AK2L06: 66AK2L06 processor temperature

$
0
0

Part Number:66AK2L06

Tool/software: Linux

We found a temperature value in Linux file at:

/sys/class/hwmon/hwmon0/srss0_temp1

We are using Linux version4.4.32 in ARMs.

Obstructing the cooling fan air flow in our custom card we can see that the value in this file increases so it is related to the temperature value of the processor. We are getting about 55 degrees temperature in our system located in factory environment.

My question is that is this the real temperature value of the core?

Datasheet has some mismatch for the commercial grade temperature range. All sections define the maximum operating temperature as +100 degrees but in the maximum operating conditions it is mentioned that the maximum temperature for a commercial grade processor is +85.

Also, is this value of temperature in the mentioned linux file directly related to the maximum temperature value of the datasheet (either +85 or 100) - meaning that we still have 45 degrees of headroom until damage occurs (55 deg processor temp and 100 is the max)?

Capacitive Touch Sensor

$
0
0

Hi,

Kindly advise suitable Capacitive Touch Sensor

Competition part number is AT42QT1010 and IQS127D

Regards

Atul Bhakay

RTOS/EK-TM4C129EXL: TI-RTOS with patch and wolfSSL3.14.0 doesent work

$
0
0

Part Number:EK-TM4C129EXL

Tool/software: TI-RTOS

Hello,

i use CCS6.1.2.00015, TI-RTOS for TivaC 2.16.1.14, XDCtools v 3.32.0.06_core and Compiler TIv5.2.5.

I will execute the secure_iot demo and i installed wolfSSL 3.8.0,

I follow the Steps on wiki Using TI-RTOS and execute the patch-1.0.0.7-1.

After that i build my project and i have no errors and no warnings. Thats good ;)

But when i using wolfSSL 3.14.0 with the patch-1.0.0.7-1 i get the following output:


**** Clean-only build of configuration Debug for project secure_iot ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean
gmake: *** No rule to make target `clean'.

**** Build Finished ****

**** Build of configuration Debug for project secure_iot ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../secure_iot.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_16_01_14/packages;C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages;C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C129ENCPDT -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path=\"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include\" --include_path=\"C:/ti/wolfssl-3.14.0-stable\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd\" -g --gcc --define=NET_NDK --define=ccs=\"ccs\" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on  " "../secure_iot.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring secure_iot.xem4f from package/cfg/secure_iot_pem4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/Yildiz/workspace_v6_1/secure_iot/src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `C:/Users/Yildiz/workspace_v6_1/secure_iot/src/sysbios'
clem4f C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS.c ...
asmem4f C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
arem4f BIOS.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj ...
gmake[1]: Leaving directory `C:/Users/Yildiz/workspace_v6_1/secure_iot/src/sysbios'
Build of libraries done.
clem4f package/cfg/secure_iot_pem4f.c ...
'Finished building: ../secure_iot.cfg'
' '
        1 Datei(en) kopiert.
making ../src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `C:/Users/Yildiz/workspace_v6_1/secure_iot/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `C:/Users/Yildiz/workspace_v6_1/secure_iot/src/sysbios'
'Building file: ../EK_TM4C129EXL.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" -g --gcc --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="EK_TM4C129EXL.pp" --cmd_file="configPkg/compiler.opt" "../EK_TM4C129EXL.c"
'Finished building: ../EK_TM4C129EXL.c'
' '
'Building file: ../UARTUtils.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" -g --gcc --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="UARTUtils.pp" --cmd_file="configPkg/compiler.opt" "../UARTUtils.c"
'Finished building: ../UARTUtils.c'
' '
'Building file: ../board_funcs.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" -g --gcc --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="board_funcs.pp" --cmd_file="configPkg/compiler.opt" "../board_funcs.c"
'Finished building: ../board_funcs.c'
' '
'Building file: ../cloud_task.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" -g --gcc --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="cloud_task.pp" --cmd_file="configPkg/compiler.opt" "../cloud_task.c"
'Finished building: ../cloud_task.c'
' '
'Building file: ../command_task.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" -g --gcc --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="command_task.pp" --cmd_file="configPkg/compiler.opt" "../command_task.c"
'Finished building: ../command_task.c'
' '
'Building file: ../ntp_time.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" -g --gcc --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="ntp_time.pp" --cmd_file="configPkg/compiler.opt" "../ntp_time.c"
'Finished building: ../ntp_time.c'
' '
'Building file: ../secure_iot.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" -g --gcc --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="secure_iot.pp" --cmd_file="configPkg/compiler.opt" "../secure_iot.c"
'Finished building: ../secure_iot.c'
' '
'Building file: ../tictactoe.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" -g --gcc --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="tictactoe.pp" --cmd_file="configPkg/compiler.opt" "../tictactoe.c"
'Finished building: ../tictactoe.c'
' '
'Building target: secure_iot.out'
'Invoking: ARM Linker'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -g --gcc --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on -z -m"secure_iot.map" --heap_size=0 --stack_size=512 -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --reread_libs --display_error_number --diag_wrap=off --warn_sections --rom_model -o "secure_iot.out" "./EK_TM4C129EXL.obj" "./UARTUtils.obj" "./board_funcs.obj" "./cloud_task.obj" "./command_task.obj" "./ntp_time.obj" "./secure_iot.obj" "./tictactoe.obj" "../EK_TM4C129EXL.cmd" -l"configPkg/linker.cmd" -l"C:\ti\wolfssl-3.14.0-stable\wolfssl-3.14.0-stable\tirtos\packages\ti\net\wolfssl\lib\wolfssl_tm4c_hw.aem4f" -l"libc.a" -l"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/driverlib/ccs/Debug/driverlib.lib" -l"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/usblib/ccs/Debug/usblib.lib"
<Linking>

 undefined               first referenced                                                                                                     
  symbol                     in file                                                                                                          
 ---------               ----------------                                                                                                     
 wolfTLSv1_client_method C:\ti\tirtos_tivac_2_16_01_14\products\ns_1_11_00_10\packages\ti\net\lib\network_ndk_wolfssl.aem4f<tls_wolfssl.oem4f>
 wolfTLSv1_server_method C:\ti\tirtos_tivac_2_16_01_14\products\ns_1_11_00_10\packages\ti\net\lib\network_ndk_wolfssl.aem4f<tls_wolfssl.oem4f>

error #10234-D: unresolved symbols remain

error #10010: errors encountered during linking; "secure_iot.out" not built
>> Compilation failure
gmake: *** [secure_iot.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

CCS8 gives me the same output, too.

What is wrong, with wolfSSL3.8.0 i get no problems?


MSP430G2452: Energia serial monitor not working

$
0
0

Part Number:MSP430G2452

Hello the community,

I am using a mspg2452 with a rev 1.5 board.

Cannot get the serial monitor working in Energia(1.7).

I am on a Windows 10 64 bits machine.

I've tried changing the jumper settings to TXD RXD parallel to Vcc, Gnd, Test and perpendicular.

None of these work.

The board is detected when i plug it and i am able to upload to micro thanks to the dll trick with Energia.

Any help would be appreciated.

Regards.

BQ35100: Looking for battery gauge for single lithium manganese dioxide cell

$
0
0

Part Number:BQ35100

Hello everyone,

I have a small microcontroller project with a single non-rechargeable (CR2430, 3V, Lithium Manganese Dioxide, 300 mAh) cell, followed by a boost converter for 3.3V output.

Don't know if it's relevant, so.. in sleep mode it draws some <0.1mA, while active mode consumption is >30mA.

I'm looking to add a battery gauge to my project, so that device could send current battery % value to operator, so that he can decide if it's time to replace the cell.

In TI battery management range I've only found BQ35100, that seems to suit my needs. But it's a rather large chip with 15 external components (in example circuit). Are there any alternatives I may have missed?

Is it possible to use BQ35100 to measure current consumption of my board in different modes of operation during debug?

Thank you!

TMS570LS3137: Low Power Mode and CAN Wake Up

$
0
0

Part Number:TMS570LS3137

Hi;

I try to put TMS570LS3137 into sleep mode and wake up via CAN BUS. Right after wake up, i want CPU to reset itself. So, i wrote this function below:

#define SYS_DOZE_MODE 0x000F3F02U
#define SYS_SNOOZE_MODE 0x000F3F03U
#define SYS_SLEEP_MODE 0x000FFFFFU

void EnterLowPowerMode(uint32 mode)
{


/*Enable Wake Up Interrupts*/

vimREG->WAKEMASKSET0 = 0xFFFFFFFFU;
vimREG->WAKEMASKSET1 = 0x00000000U;
vimREG->WAKEMASKSET2 = 0x00000000U;
vimREG->WAKEMASKSET3 = 0x00000000U;

/*Power Down CAN Module to enable CAN activity detection circuit*/

canREG1->CTL |= ((uint32_t) 1U << 2 ) ; /* Enable Status Interrupts*/
canREG1->CTL &= ~(uint32)(0x00000041U);/*Clear Init Bit*/


pcrREG->PSPWRDWNSET1 &= ~(uint32)(0x00000003U); /*Power Down DCAN1*/

/*Put Flash Banks to Sleep*/

flashWREG->FBAC = 0x00000000U | (uint32) ((uint32) 15U << 8U) /*BAGP*/ | (uint32) ((uint32) 15U); /*VREADST*/

flashWREG->FBFALLBACK = 0x00000000U | (uint32) ((uint32) SYS_SLEEP << 14U) | (uint32) ((uint32) SYS_SLEEP << 2U) | (uint32) ((uint32) SYS_SLEEP << 0U);

flashWREG->FPAC2 = 0x0;
flashWREG->FPAC1 = 0x0;

/* Disable clock sources */
systemREG1->CSDISSET = mode & 0x000000FFU;

/* Disable clock domains */
systemREG1->CDDIS = (mode >> 8U) & 0x00000FFFU;

/*Execute ARM instructions with IDLE cycles to trigger CPU clock stoppage*/

asm( " NOP");
asm( " NOP");
asm( " NOP");
asm( " WFI");
asm( " NOP");
asm( " NOP");
asm( " NOP");
asm( " NOP");
asm( " NOP");

/*CPU Reset*/

if (systemREG1->CPURSTCR == 0x00000000U)
{
systemREG1->CPURSTCR = 0x00000001U;
}
else
{
systemREG1->CPURSTCR = 0x00000000U;
}

}

Controller seems to be in sleep mode after executing the function but doesn't wake up via CAN. Do you have any suggestions for that? Also, where does the program continue after wake up? ( or where should i put the CPU reset?)

-  

Linux/TMDXEVM3358: AM335X/LinuxX11Application: Build Error X11/Xlib.h: No such file or directory

$
0
0

Part Number:TMDXEVM3358

Tool/software: Linux

Hi,

We are trying to compile Xlib (X11) based application to run on TI EVM TMDXEVM3358 and TI SSK TMDSSK3358. We have tried to use below two SDKs but itseems none of them has support for Xlib (X11).
1. SDK: ti-processor-sdk-linux-am335x-evm-04.03.00.05-Linux-x86-Install.bin
Link: software-dl.ti.com/.../ti-processor-sdk-linux-am335x-evm-04.03.00.05-Linux-x86-Install.bin

2. SDK: Graphics_SDK_setuplinux_hardfp_5_01_01_02.bin
Link: software-dl.ti.com/.../index_FDS.html

On building using the above SDKs we get the error: fatal error: X11/Xlib.h: No such file or directory

Could you please suggest if an SDK for AM335X is readily available with Xlib support. If no, could you please suggest the available options to be able to run Xlib (X11) application on TI EVM TMDXEVM3358 and SSK TMDSSK3358.


Thanks

AM3356: Timing measurement point in AM3356 datasheet

$
0
0

Part Number:AM3356

Hi,

In the AM3356 datasheet, like figure 7-11,  where are the measurement points for the Tsu and Th parameters. Is Tsu measured between Vih point on the REF_CLK  rising edge and Vih point of on the RXD rising edge, or between Vih point on the  REF_CLK rising edge and Vil point of the RXD falling edge?

Thanks,

Peng

  

Viewing all 262198 articles
Browse latest View live


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