Part Number: TMS320F28374S
Other Parts Discussed in Thread: C2000WARE
Hi Team,
Issue Description:
TMS320F28374s can’t execute the application code and found some clues that the application code blocked while executing the Fapi_setActiveFlashBank prototype, also found that the RWAIT setting would cause this issue, and also found that the issue also reproduced with different ccs project configuration.
Configuration and test result:
Using CCS7.2.0 with cgt version 16.9.3, configured the TMS320F28374s CPU clock to 150Mhz, and test result shown as table 1;
|
RWAIT Setting |
Opt_level |
Opt_for_speed |
Fapi_setActiveFlashBank |
|
2 |
Off |
0 |
Blocked |
|
2 |
Off |
2 |
Normal |
|
3 |
Off |
2 |
Blocked |
|
3 |
Off |
0 |
Normal |
Table 1: Test Result with related configuration
Support Needs:
-
The RWAIT calculation forum shown as below figure in TRM, but not with detailed description, could you kindly help to provide more details for RWAIT setting description how to identify the related FLASH clock configuration is correct or not?
-
Fapi_setActiveFlashBank prototype is for active the FLASH BANK, but not with detailed description for how it worked, could BU side provide the source code for this prototype and give comments for which registers are affected, especially for RWAIT value?
-
Different configuration for CCS project caused the Fapi_setActiveFlashBank blocked or normal, could BU side give comments on how the configuration affect the results? And could BU side kindly suggest a valid configuration for Opt_level/Opt_for_speed?
Expect for your reply, thanks.
Best Regards
Benjamin