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,
we are currently trying to utilize the R5F cores of an AM6422 for a safety application alongside a Linux OS.
In order to be able to be certified for safety applications, we need to qualify the compiler (which should not be a problem as the TI Compiler Qualification Kit exists for the Clang compiler we are using). We also need to module/unittest the whole application. As we are currently using the TI HAL/BSP from the MCU SDK, we are introducing quite a lot of functions from the HAL we are currently not needing, but would need to test anyways.
Do such tests exist for the MCU SDK HAL/BSP for the R5F cores? This is the last step in our safety certification on this platform.
Regards
Dave
Hello Dave,
Thanks for the query.
Regards,
Nihar Potturu.
Hi Nihar,
We are using the TI HAL for the Cortex R5F by configuring it via the sysconfig tool. Therefore we are only using the code modules that are necessary for our use case:
On top of this HAL, we are using a small scheduler to control a set of tasks - thats it. We are neither running additional software nor BSP, OS or other runtimes. There is no third party software involved.
We are trying to achieve a SIL2 certification, the only thing we do need are module/unittests for the TI HAL.
Regards
Dave
Hello Dave,
The SIL2 certification for IPC module is on AM64x's roadmap. I don't have an exact date yet, but it will be done in the future. Do you have any target date for this?
Meanwhile, I am also attaching the git links for internal unit tests done for the modules requested below. Please note that these tests might not extensive enough to cover safety qualification requirements as the MCU+SDK is not safety certified. However, feel free to use them for reference.
https://github.com/TexasInstruments/mcupsdk-core/tree/next/test/drivers/mcspi
https://github.com/TexasInstruments/mcupsdk-core/tree/next/test/drivers/ipc_notify
https://github.com/TexasInstruments/mcupsdk-core/tree/next/test/drivers/ipc_rpmsg
https://github.com/TexasInstruments/mcupsdk-core/tree/next/test/drivers/udma
Regards,
Nihar Potturu.
Hi Nihar,
i was not aware of this repository, nor that the sdk does contain tests. Thats perfect news for us.
As we are using baremetal (NoRTOS)-configurations of the TI SDK: are there tests for the noRTOS aswell?
Our Target date is june 2024.
I did not find any reference on those tests in the documentation. I think it would be a good idea to document this on in the sdk documentation alongside a description on how to run/build those tests.
I assume that the tests are to be run on the ealuation board?
Are there instructions on how to run the tests?
Will the tests be extended when the certification takes place?
Regards
Dave
Hello Dave,
Are there instructions on how to run the tests?
You build the test case examples in the same way as you usually build the MCU+SDK examples.
gmake -C test/drivers/mcspi/mcspi_controller_peripheral/am64x-evm/r5fss0-0_freertos/ti-arm-clang PROFILE=debug/release
I assume that the tests are to be run on the ealuation board?
Yes, you can load and run the binaries on TI EVM.
Will the tests be extended when the certification takes place?
The IPC tests should be updated with the additional tests once the certification takes place.
As we are using baremetal (NoRTOS)-configurations of the TI SDK: are there tests for the noRTOS aswell?
We only have freertos based unit test projects. You can modify them by taking the nortos examples as a reference.
Regards,
Nihar Potturu.
Hi Nihar,
thanks for the clarification.
I hope that the additional tests / certification will take place sooner than later, but i can work with the current version as a template for our tasks.
Regards
Dave