You can use this API https://learn.microsoft.com/en-us/azure/rtos/threadx-modules/chapter5#txm_module_manager_external_memory_enable to share memory (e.g. the hardware registers) between multiple modules. Because interrupts escalate privilege, we recommend your ISRs exist in the manager space.
Azure RTOS Threadx Modules - MPU support
Timothy Fields
21
Reputation points
I am using Threadx Module to create a memory partition for safety-critical functions. I also will use the Cortex-M7 MPU to protect this memory partition. The application software in this partition will access hardware drivers in the Board Support Package (BSP) that use interrupts. Does the hardware driver also have to be in the same partition as the safety-critical functions? Or is there a way to have the BSP drivers shared between 2 memory partitions?
Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
341 questions