This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

OPTIGA Trust X With OpenThread

Hello,

I am trying to integrate OPTIGA Trust X with the OpenThread example, "mqttsn_sleepy_subscriber"(from nRF5_SDK_for_Thread_and_Zigbee_v4.1.0 SDK). I tried adding code from "ifx_optiga_custom_example" project and fix most of the warnings and errors.

The ifx_optiga_custom_example uses RTC2 peripheral to delay and other things. You can see the same in "pal_os.c" file. The problem is, Open Thread stack needs RTC2 peripheral. This post says that I cannot use RTC0 and RTC1 peripherals as well as they are being used by Softdevice and app_timer respectively. If I try to use RTC0 peripheral, the code compiles okay(I can't do the same with RTC1 and RTC2 peripherals, for they will give an error saying the handlers are already defined elsewhere) but the handle never reaches the interrupt handler(In pal_os.c -> ifx_rtc_handler();) even after the event(In optica_util.c -> optiga_util_open_application() -> pal_os_timer_delay_in_milliseconds(1);)

I would normally be happy to tweak the code. However, because this is a security solution, I am hesitating to make significant changes to the underlying code. I fear these changes may introduce bugs. Is there any other way to integrate the OPTIGA Trust X with the Open Thread examples without doing significant code changes?

Thanks in advance for your help Slight smile

Parents Reply Children
Related