We are using the FRDMCXN947 and the SDK examples we are using are the frdm_freertos_message_buffers_primary_core, which will be used for motors and receiving the sensor data (messages) and frdm_freertos_message_buffers_secondary_core which is where the sensors will function and send their data. i currently have time of flights and ultrasonics and an imu however am implementing the ultrasonic sensor first. when i run the SDK examples with my sensor code.
It is the only active application task on the secondary core, so there is no contention with other tasks at this time. The task periodically performs a blocking ultrasonic measurement and then sends the result to Core 0 using a FreeRTOS message buffer, followed by a delay (vTaskDelay) to control the update rate (~1 Hz during testing).
We are not using any additional higher-priority tasks on Core 1 at the moment. At this stage, we intentionally kept the task simple and isolated on Core 1 to validate sensor functionality before introducing additional tasks or prioritization.