Atmel ATmega1284P Error 0x00: A bus error has occurred during a 2-wire Serial Bus transfer

Microcontroller · taken from the manufacturer’s manual, pages cited

Error code0x00

0x00 means a bus error has occurred during a 2-wire Serial Bus transfer. 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 ATmega1284P
Display shows
A bus error has occurred during a 2-wire Serial Bus transfer (0x00)
Type
Error code
Source
Manual p. 231

What 0x00 means

A bus error has occurred during a 2-wire Serial Bus transfer p. 231

Common causes

  • A bus error has occurred during a 2-wire Serial Bus transfer. p. 231

What to do

  1. 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. 231

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.