Hi,
Regarding CpuIdleTest(), customer woud like test this function. Would you let us know how to create projcect using this function, build and run it.
Can you show show smaple or share the example project using CpuIdleTest()?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Regarding CpuIdleTest(), customer woud like test this function. Would you let us know how to create projcect using this function, build and run it.
Can you show show smaple or share the example project using CpuIdleTest()?
Hi,
Any feedback for this question?
Hi,
Apologies for delay in response. Please refer to the pm example at <PDK>\packages\ti\drv\pm\examples\pmrtos\src\pm_main_prcm.c for reference.
Regards,
Parth
Hi,
Yes we found it.
Customer would like to know how to import this to CCS project. There are no projectspec file for CCS.
Would you let us know how to import it to CCS project ?
Regards,
Hi Parth,
Can you help? Customer would like to enter slow power mode on AM5716.
Hi Kasai-san,
Apologies for delay.
The PM driver examples can not be imported as projects rather they can be built with makefile. There are some changes required before these example can be built for AM571x. Let me check those changes and get back to you in a while.
Regards,
Parth
Please find the patch to enable the cpu idle test build for AM571x attached.
0001-Changes-to-enable-cpuidle-test.zip
After applying the patch run the following commands to build the cpu idle test
1) cd <pdk>/package
2) source pdksetupenv.mk
3) cd ti/build
4) make BOARD=idkAM571x CORE=a15_0 pm_cpuidle_testapp
You can find the generated binary at ti/binary folder which you can load via CCS to run the test.
Regards,
Parth
applying
Hi Parth,
Thank you.
Can you let me know to apply this patch ?
Please replace the following files from the zip file attached.
Regards,
Parth
Hi Parth,
Thank you.
By the way, does customer need to prepare Linux PC to execute the following command ?
1) cd <pdk>/package
2) source pdksetupenv.mk
3) cd ti/build
4) make BOARD=idkAM571x CORE=a15_0 pm_cpuidle_testapp
Best Regards,
Kasai
Not necessarily.
If they are using windows environment you can use the following commands:
1) cd <pdk>/package
2) source pdksetupenv.bat
3) cd ti/build
4) gmake BOARD=idkAM571x CORE=a15_0 pm_cpuidle_testapp
Regards,
Parth
Hi Parth,
As far as I know, Windows comamnd prompt does not have source command. In our PC, WSL cannot be installed.
Should we prepare Cygwin or any other software on Windows?
Best Regards,
Kasai
Hi Parth,
Thank you.
I understtood. I just built it and generated binary.
Can you let me know the procedure to load this binary to CCS and AM5716?
Best Regards,
Kasai
Hi,
Please refer to he video in the thread https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1043869/tmdxidk5718-connect-to-dsp-via-jtag-on-the-sitara-processor-on-tmdxidk5718/3864204#3864204
This video is meant for running the binary on DSP core but similar procedure can be used to connect and load the binary on A15 core.
Regards,
Parth