I tried but nothing showed here
↧
Forum Post: RE: TMS320F28388D: Deploy neural network model ( from my own ONNX file export by Pytorch) using edgeAI studio for C2000
↧
Forum Post: RE: MSPM0G3507: A high-frequency sound is heard while the motor is running.
Wait a minute, our product's PWM cycle is 20kHz, but looking closely at the waveform, the PWM signal comes out at a cycle of 40kHz, and the waveform seems to be the same every 20kHz. Could these pulses that come out in different shapes every 20kHz be the cause of the sound?
↧
↧
Forum Post: MSPM0C1104: Add TIMER-PWM in my project but not working
Part Number: MSPM0C1104 Tool/software: Hi, I add the TIMER-PWM settings in .syscfg and set PA2 pin for the PWM Channel 0 (as picture). in the main function I add DL_TimerG_startCounter(PWM_0_INST); into .c file, but nothing happened How do I control the fan speed when running my project? Could you give me some suggestions, thank you.
↧
Forum Post: RE: MCU-PLUS-SDK-AM243X: AM243x LaunchPad - Ethernet/IP adapter generic device mii
Hi, Regarding redundancy protocols with Ethernet/IP can I use DLR or HSR/PRP, or in your stack only DLR is supported?
↧
Forum Post: RE: MSPM0G3107-Q1: MSPM0G3107 RTC seems stuck in BCD mode
Hi Marc, Could you test on the SDK example rtc_calendar_alarm_standby_LP_MSPM0G3507_nortos_ticlang? The RTC example is initial with Binary mode. And the RTC register change could be observed in this example by DL_RTC_getCalendarSecondsBinary function. I think there is something wrong with your test conclusion below: [quote userid="620186" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1470197/mspm0g3107-q1-mspm0g3107-rtc-seems-stuck-in-bcd-mode"]ditch my own RTC initialization function entirely and only use a bare minimum function generated by SYSConfig tool (effectively just a call to DL_RTC_initCalender) configured in Binary mode and use only binary mode part of get current time function --> LIN frame is stuck at all zeros[/quote] You could compare your program with the example again, and one of my guess is that whether is the expression rtcHandle->isBinaryFormat updated in Binary mode? Best Regards, Pengfei
↧
↧
Forum Post: MSPM0G3507: Uart rx and RXtimeout interrupt not working togather.
Part Number: MSPM0G3507 Tool/software: i configure uart with two interrupts. Rx interrupt and Rx timeout. but seems like both not working together. when i disable RX interrupt then rx time out interrupt work fine.
↧
Forum Post: MSP430F6736: EVM430-F6736 project compilation error
Part Number: MSP430F6736 Other Parts Discussed in Thread: EVM430-F6736 Tool/software: Hello! I hope you are doing well. I'm actually working on the EVM430-F6736. I downloaded its IAR project from TI website ( LINK ). I download IAR (8.10.3 version) and imported the emeter-toolkit-6736.ewp to the workspace and tried to rebuild it as mentioned by the AN of the EVM430-F6736. I got nearly 20 warnings and 38 errors. It was the same warning and same error repeated. Concerning the warning, it shows: Warning[411]: A NOP needs to be added after clearing GIE, as required by the architecture ....\emeter-toolkit\imul16.s43 40 As for the error it shows: Fatal Error[Pe035]: #error directive: Compiler not recognised. .......\emeter-toolkit\isr_compat.h 65 I tried solving the error using an online LLM. It suggested to add print messages before the #error instruction: #pragma message ("__IAR_SYSTEMS_ICC__ is defined") #pragma message ("__TID__: " #__TID__) #pragma message ("__VER__: " #__VER__) I did that and the result was: The LLM then said that : __TID__: (empty) → __TID__ is not defined or does not hold a valid value. __VER__: (empty) → __VER__ is also not defined or invalid and suggested to remove the condition on the TID and VER by replacing : #elif defined(__IAR_SYSTEMS_ICC__) && (((__TID__ >> 8) & 0x7f) == 43) && (__VER__ < 800) with : #elif defined(__IAR_SYSTEMS_ICC__) I did so and rebuilt the project. The build was successfully done. The errors disappeared though the warnings remained the same. My questions : 1- How can solve the warnings problem ? 2- Should I accept the solution suggested by the LLM to the errors problem or there's a much better solution ? Thank you in advance for your support Have a good day!
↧
Forum Post: RE: MCU-PLUS-SDK-AM243X: AM243x LaunchPad - Ethernet/IP adapter generic device mii
Hi Stefano, Yes, only DLR is supported as a redundancy protocol with our EthernetIP stack currently. Regards Archit Dev
↧
Forum Post: MSP-GANG: Is there a facility to check software such as SUM codes?
Part Number: MSP-GANG Tool/software: Hi All, The MSP430FR2032IG48R or MSP430FR5859IDAR is written using MSP-GANG. Normally, SUM codes are used to check the writing software, but when using this programmer, SUM is not displayed, so the CRC code displayed in the app is checked. However, it was observed that the code changes depending on the version of the app, even though the same writing software is used. The versions of the apps compared are ver. 1.03.01 and ver. 1.03.08. Do you know about the cause? Also, what other checking functions, such as SUM, are available? Best Regards, Ito
↧
↧
Forum Post: RE: TMS320F28P650DK: Accessing GSx RAM from both CPU1 and CPU2
Hi Vivek, just to be sure: So it is possible. Data on GS0 (owned by CPU1) can be read by CPU2 via DMA and written on GS1 (owned by CPU2). Hence, Data on GS1 (owned by CPU2) can be read by CPU1 via DMA and written on GS0 (owned by CPU1). Please confirm. With best regards and thank you for your reply. Martin
↧
Forum Post: TMS320F28388D: C2000 CCS Project IMPORT Issues
Part Number: TMS320F28388D Other Parts Discussed in Thread: C2000WARE Tool/software: Hi. In CCS 12.8.1, the Driverlib example of C2000WARE 5_04_00 is not imported. Not only 28388, but all c2000 mcu are not possible. The error message is as follows. The bitfield example works fine.
↧
Forum Post: RE: LP-AM263P: Smart placement example
Hi Shaunak, thanks. I have tested it and can run the example on the launchpad. Kind regards, Rens
↧
Forum Post: RE: AM2432: Pulse Train Output Control and Synchronization
Hi Manoj, Thanks for your strong support, customer has received the example and now is running normally. They will do some further testing & evaluations later on, please keep this thread open for a while in case if they meet any additional problems. Many Thanks, Kevin
↧
↧
Forum Post: RE: LP-AM263P: Smart placement example
Hi Rens, Glad to know it worked. Feel free to raise another E2E if you have any more questions. Regards, Shaunak
↧
Forum Post: RE: AM263P4-Q1: CLKOUT0
Hi Teshima, TI does not define performance of the AM26x clock outputs because clock performance is influenced by many variables unique to each system implementation. You should plan to validate any clock output is able to meet the appropriate level of performance required by the attached device using your actual system design while operating across all operating conditions. Regards, Akshit
↧
Forum Post: RE: TMS320F28379D: Not able to upload .out file in both CPU.
Hello Mr. Matt, Thank you for you reply, I have not programmed OTP. I am using TMS320 on my my PCB. While i try to debug both CPUs work simultaneously but when i flash out file on both CPU. only CPU1 runs perfectly. But CPU2 doesn't work properly. I have a board developed for my application. I have updated my board to pull GPIO 72 and GPIO 84 high problem is still continue. Please let me know if I am making any mistake in loading image on controller. Regards, Kashyap.
↧
Forum Post: TM4C1290NCPDT: USB Composite device
Part Number: TM4C1290NCPDT Tool/software: Hi, is it possible to setup a composite device with one virtual serial port and 2 generic devices? Can you show me an example of setup of the descriptor? How modify the inf file so that the other two devices uses WinUSB? Any help appreciated. Regards
↧
↧
Forum Post: RE: TMS320F28388D: Deploy neural network model ( from my own ONNX file export by Pytorch) using edgeAI studio for C2000
I uninstall all the enviroment and package, Reinstall all again , then run the command tvmc compile --target="c, ti-npu type=soft" .\sine_model.onnx --target-c-mcpu=c28 -o artifacts_c28/mod.a --cross-compiler="cl2000" --cross-compiler-options="--float_support=$env:C2000_DEVICE_FPU --abi=eabi -O3 --opt_for_speed=5 --c99 -v28 -ml -mt --gen_func_subsections -I$env:C2000_CGT_PATH\include -I$env:C2000WARE_PATH\driverlib\$env:C2000_DEVICE\driverlib -I$env:C2000WARE_PATH\device_support\$env:C2000_DEVICE\common\include -I." now I can generate some file .h and .c but still not have the mod.a file and there are warning and error below: WARNING:autotvm:One or more operators have not been tuned. Please tune your model for better performance. Use DEBUG logging level to see more details. Traceback (most recent call last): File "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\Scripts\tvmc.exe\__main__.py", line 7, in File "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\site-packages\tvm\driver\tvmc\main.py", line 131, in main sys.exit(_main(sys.argv[1:])) File "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\site-packages\tvm\driver\tvmc\main.py", line 119, in _main return args.func(args) File "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\site-packages\tvm\driver\tvmc\compiler.py", line 216, in drive_compile compile_model( File "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\site-packages\tvm\driver\tvmc\compiler.py", line 533, in compile_model package_path = tvmc_model.export_package( File "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\site-packages\tvm\driver\tvmc\model.py", line 352, in export_package package_path = self.export_classic_format( File "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\site-packages\tvm\driver\tvmc\model.py", line 287, in export_classic_format executor_factory.get_lib().export_library( File "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\site-packages\tvm\runtime\module.py", line 636, in export_library return fcompile(file_name, files, **kwargs) File "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\site-packages\tvm\contrib\cc.py", line 411, in _fcompile compile_func(outputs, objects + add_files, options=all_options, **kwargs) File "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\site-packages\tvm\contrib\cc.py", line 142, in create_static _windows_compile(obj_f, [src_f], options, compile_cmd=cc) File "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\site-packages\tvm\contrib\cc.py", line 474, in _windows_compile _linux_compile(output, objects, options, compile_cmd, cwd, ccache_env) File "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\site-packages\tvm\contrib\cc.py", line 468, in _linux_compile raise RuntimeError(msg) RuntimeError: Compilation error: >> WARNING: object file specified, but linking not enabled [tinie_soft.cc] "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\Lib\site-packages\tvm\3rdparty\tinie-api/soft/src/tinie_soft.cc", line 68: fatal error: cannot open source file "soft/inc/tinie_soft.h" 1 catastrophic error detected in the compilation of "C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\Lib\site-packages\tvm\3rdparty\tinie-api/soft/src/tinie_soft.cc". Compilation terminated. >> Compilation failure Command line: cl2000 -c -o tinie_soft.obj C:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\site-packages\tvm\3rdparty\tinie-api/soft/src/tinie_soft.cc --float_support=fpu64 --abi=eabi -O3 --opt_for_speed=5 --c99 -v28 -ml -mt --gen_func_subsections -IC:\ti\ccs1270\ccs\tools\compiler\ti-cgt-c2000_22.6.1.LTS\include -IC:\ti\c2000\C2000Ware_MotorControl_SDK_5_03_00_00\c2000ware\driverlib\f2838x\driverlib -IC:\ti\c2000\C2000Ware_MotorControl_SDK_5_03_00_00\c2000ware\device_support\f2838x\common\include -I. -IC:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\site-packages\tvm\3rdparty\tinie-api -IC:\Users\Phong Doi khong\AppData\Local\Programs\Python\Python310\lib\site-packages\tvm\standalone_crt\include
↧
Forum Post: TMS320F2800137: Universal Motor Control Project & Lab for linear motor
Part Number: TMS320F2800137 Tool/software: Hi, Please advise if the Universal Motor Control Project & Lab can be used for linear motors. If yes, what are the things that need to be changed? Regards, Kien Nguyen
↧
Forum Post: TMS320F28388D: GPIO's usage---urgent
Part Number: TMS320F28388D Tool/software: Hi, as we know, there are 169 available GPIOs in F28388D, if i want to define a 32 bits register (in firmware)which occupies 32 GPIOs, can I select any 32 GPIOs from these 169 GPIOs?(do F28388D have BANK concept? need i choose the 32 GPIOs in the same bank? )
↧