This application note presented a complete implementation of
inter-core heartbeat monitoring and automatic recovery for the
TDA4x platforms. The key contributions include:
- Dual-Task Monitoring Architecture: Separate tasks for RTOS and
Linux cores enable independent monitoring with appropriate timeout
behaviors for each environment.
- Ping-Pong Protocol: Simple request-response protocol provides
reliable core health verification with configurable
parameters.
- Semaphore-Based Synchronization: Proper
task synchronization verifies reliable IPC shutdown without
race conditions.
- MCU Only Mode Recovery: Leveraging the SOC's power domain
architecture enables autonomous recovery without full system
reboot.
- Timing Profile: Detailed timing measurements demonstrate
recovery performance of approximately 1.2 seconds.
The implementation provides a foundation for fault-tolerant
automotive and industrial systems where high availability and
automatic recovery are essential requirements.
Future enhancements can include:
- Selective core recovery (restart only crashed core without full
MAIN domain power cycle)