debug breaks when the relays operate. The system continues to run
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-24 4:59 AM
I design a PCB with a stm32f407.
Relays come into play shortly after debug starts. sometimes the debug fails and closes when the relay activates. What should I do to prevent the debug from closing?
relays are driven with 24 volts and lm2803.
The st link is connected to the processor by serial wire.
I tried with clone stlink V2 and Stlink V3.
- Labels:
-
DEBUG
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-24 5:31 AM
This is EMI, electromagnetic interference. Rething your wiring, try to keep relay and signal line apart and also think where switching current flow and iof switching shifts your grounds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-24 5:40 AM
Proper decoupling of the MCU power supply from the 24V supply line, proper back EMF suppression near the relay coils, and the driving MCU ouputs.
Optimally, as little intersection of the relay section with the MCU section on the PCB.
