Using eCAP Block in HRCAP Mode to Capture Input Signals not working on TMS320f280039C or TMS320f28003x
10 次查看(过去 30 天)
显示 更早的评论
I was able tu (build) the default example from Using eCAP Block in HRCAP Mode to Capture Input Signals
but whenever try to use with my board TMS320f280039C launchpad then fail to build!

I dont't have any problem to use or build normal eCAP but error when try to use eCAP3(HR)
0 个评论
回答(2 个)
Satwik
2025-7-23
I understand you are experiencing issues using the eCAP block in HRCAP mode to capture input signals on the TI F28003x family of processors. According to the following MathWorks documentation for the release R2024a, TI F28003x processors should be able to use eCAP block in HRCAP mode to capture input signals: https://www.mathworks.com/help/releases/R2024a/ti-c2000/ug/ecap-hrcap-type1-example.html
Here is an existing MATLAB answer post which might be helpful as it addresses a similar issue: https://www.mathworks.com/matlabcentral/answers/234166-how-to-fix-this-error-c28069pmsmfoc_ert2-slx
The suggestion here is to setup TI Code Composer Studio (CCS) on the machine. You may refer to the following documentation and ensure that the compatible version of CCS is setup: https://www.mathworks.com/help/ti-c2000/gs/CCS-MATLAB-versions.html
Additionally, make sure that the hardware setup for the F28003x is completed correctly by following the steps outlined in this documentation:
I hope this helps!
0 个评论
Aditya Pahariya
2025-7-24
This is the known Bug for F28003x, we will be working on the fix in the update release version.
Thanks for pointing out .
As a workaround you can generate the code for F28002x with the eCAP block in High resolution mode with exact same settings as required for F28003x, and then you can use the function definition of 'HRCAP3_Type1_ScaleFactor' from the file 'MW_c28xx_cap.c' (in the generated code for F28002x) in your custom code for F28003x.
Regards,
Aditya
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!