Part Number: TDA4VH-Q1
When a user presses Ctrl-C to stop the application, the default behavior sets a shutdown flag but may not perform proper cleanup. The main application thread could be blocked waiting for messages from the remote cores (R5F, C7x), which are still processing data or holding resources. Since the thread is blocked waiting, the cleanup sequence can not complete the necessary steps to release these resources and shut down properly, resulting in an ungraceful shutdown where communication channels and memory remain allocated. The system can not fully recover unless the device is power cycled or the cores are manual reset, after which the application can run again. The expectation is that the user's application needs to register a working Ctrl-C signal handler to do a graceful shutdown.
How do I implement a working SIGINT handler to my custom application?