A bus error has occurred due to an illegal START or STOP condition. The manual's first action is: “To recover from a bus error, the TWSTO flag must set and TWINT must be cleared by writing a logic one to it. This causes the TWI to enter the not addressed Slave mode and to clear the TWSTO flag (no other bits in TWCR are affected). The SDA and SCL lines are released, and no STOP condition is transmitted.”
- Model
- Atmel ATmega164P/324P/644P
- Display shows
- Bus error due to an illegal START or STOP condition (0x00)
- Type
- Error code
- Source
- Manual p. 233
What 0x00 means
Bus error due to an illegal START or STOP condition p. 233
Common causes
- Bus error due to an illegal START or STOP condition. p. 233
What to do
- To recover from a bus error, the TWSTO flag must set and TWINT must be cleared by writing a logic one to it. This causes the TWI to enter the not addressed Slave mode and to clear the TWSTO flag (no other bits in TWCR are affected). The SDA and SCL lines are released, and no STOP condition is transmitted. p. 233
If 0x00 is still not resolved
The manual gives no further instruction for this code. Open the code table in the PDF or contact Atmel service.
This page summarises what the manufacturer’s manual says about 0x00; each statement links to the page it comes from, and quoted lines are copied word for word. It is not a substitute for the manual or for a qualified installer. ManualLib is not affiliated with Atmel. Found a mistake? Report an error.
