Atmel AT89C5131A-M Error 00h

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

Error code00h

Status 00h indicates that a bus error has occurred during a TWI serial transfer. The manual's first action is: “A bus error is caused when a START or a STOP condition occurs at an illegal position in the format frame. Examples of such illegal positions happen during the serial transfer of an address byte, a data byte, or an acknowledge bit. When a bus error occurs, SI is set. To recover from a bus error, the STO flag must be set and SI must be cleared. This causes the TWI module to enter the not addressed slave mode and to clear the STO flag (no other bits in SSCON are affected). The SDA and SCL lines are released and no STOP condition is transmitted.”

Model
Atmel AT89C5131A-M
Display shows
00h
Type
Error code
Source
Manual p. 107

What 00h means

Status 00h indicates that a bus error has occurred during a TWI serial transfer. p. 107

Common causes

  • Status 00h indicates that a bus error has occurred during a TWI serial transfer. p. 107

What to do

  1. A bus error is caused when a START or a STOP condition occurs at an illegal position in the format frame. Examples of such illegal positions happen during the serial transfer of an address byte, a data byte, or an acknowledge bit. When a bus error occurs, SI is set. To recover from a bus error, the STO flag must be set and SI must be cleared. This causes the TWI module to enter the not addressed slave mode and to clear the STO flag (no other bits in SSCON are affected). The SDA and SCL lines are released and no STOP condition is transmitted. p. 107

Before you service the product, read the safety instructions in the manual p. 40.

If 00h 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 00h; 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.