I have a Board such as an Atmega8 MCU,QMC5883 Magnetometer,AT24C512 eeprom,ADM3485 Rs485 IC.
reading from QMC is doing every 10ms by Interrupt pin.
When I send a data to board by RS485 and want to write it on eeprom ,MCU will be hanged and repeat START command of the I2C with QMC5883.
after it MCU jump to start of the main function.
Can e.b. help me to solve this function (jumping to start of the main and repeat START command)
* Thread title changed to help everyone. Moderator. *