Hi, I need to perform a Power-On reset on T4_1 to fully restart it without unplugging the USB.
Problem:
In my industrial setup, EMI bursts occasionally cause my SPI sensors to output garbage data. A full power cycle always recovers them, but a software reset (SCB_AIRCR = 0x05FA0004) only works sometimes.
Setup:
Relevant links:
Problem:
In my industrial setup, EMI bursts occasionally cause my SPI sensors to output garbage data. A full power cycle always recovers them, but a software reset (SCB_AIRCR = 0x05FA0004) only works sometimes.
Setup:
- MPU9250 (SPI) and IIS3DWB (SPI1) on T4_1
- Data sent to PC via Dual Serial (Serial for data, SerialUSB1 for commands)
- Sensors are ~3m away from T4_1, connected via a 10-core shielded cable
- Software reset: partial recovery, but not always
- SPI.begin()/end(): no effect
- Improved cables: reduced errors but didn’t eliminate them
- Power cycling (USB unplug/replug) always restores sensors
Relevant links: