Hi,
I have ported the safeTI Library demo application provided for TMS570LS04X to TMS570LS0332 micro controller. I have notice that, micro controller is in SVC mode by the time it reaches the main() in the software. I found that SL_Init_R4Registers() function is the reason for that. The function keeps the micro controller in SVC mode at the end. Is this expected?
When i checked the _coreInitRegisters_() function, which is generated by HALCoGen, the micro controller mode is put to SYS mode before it leaves the function.
Is it necessary for the micro controller to be in SVC mode , when we are using the SafeTI library? if so, i should change the stack size of SVC mode to fit my application stack as well.
Thanks in advance.
Best Regards,
Sreekanth challa