In fact, I was calling this library from another main codebase that I have. In that code, I have EasyCAT.Init(). Fortunately, I was able to fix the issue today by shortening my ISR and adding another interrupt in setup()...
The EasyCAT object is initialized via the constructor EasyCAT EASYCAT(9, DC_SYNC); and the hardware initialization is performed in setup() via EASYCAT.Init().
Library Info: I am using the standard EasyCAT library by AB&T Tecnologie Informatiche...
With void EtherCAT_DC_ISR() { return; }, the Serial1 reception at 2,000,000 baud works perfectly even while the ROS Master is actively sending 1kHz traffic.
The UART freeze only occurs when the EASYCAT.MainTask() (SPI-based) is actually...
I am experiencing a hard freeze on Serial1 reception whenever an external SPI module goes active, and after trying several software fixes, I suspect it might be a hardware or low-level core conflict.
The Hardware Setup:
Master: Teensy 3.6...