Whenever the program encounters the above functions during execution, some of the LEDs & relays connected with GPIOs glow/toggle for a certain period of time and then turn-off automatically.
Why this is happening?
I'm storing 3 uint32_t data into eeprom which is working fine but why GPIOs are toggling.
Not a demo board. Its a custom design. I have couple of GPIOs connected to leds and relays, all configured as active high.
Whenever a function related to eeprom write/read is encountered, these GPIOs turn off for 1 second and turn on again.
This is strange behaviour.
What could be happening?
1st image Relay connection where PFC1 & PFC2 are controller GPIOs.
3rd image shows Led connections with controller GPIOs
2nd image shows Led Nets are extended to other board