Part Number: TMS570LS3137
Hello everyone,
in my current project we are using a TMS570LS3137 with an SafeOS configured as SC3 (MPU) together with TI MCAL 5.40.00. The whole TI MCAL is integrated as part of a NonTrusted OS-Application (no privilege rights), which means that the TI MCAL will be executed in UserMode.
Unfortunately, this is not working properly. After a first analyis it seems that the SPI driver (and maybe also the other drivers) has only implemented direct register access, instead of using the Os_ReadPeripheral and Os_WritePeripheral APIs.With these APIs the SPI driver would be able to enter privileged write-protected register-bits/fields within UserMode.
I didn't find any information in the available documentation that the MCAL need to be executed with privilege rights (e.g. Supervisor). So, could you please explain how the MCAL shall be used properly in a partitioned ASIL-environment, where other QM BSW modules are directly calling the SPI driver APIs?
OS based (non-) trusted functions seems not to be working due to inconfigurable APIs labels in the remaining QM based BSW standard software modules.
Thanks for your support in advance!
Best regards
Michael