Philips LPC2131/2132/2138 Error 08H

Philips LPC2131/2132/2138 ARM-based Microcontroller · taken from the manufacturer’s manual, pages cited

Error code08H

The manual lists this code without a description. The manual's first action is: “When this occurs, the problem must be resolved by the device that is pulling the SCL bus line LOW.”

Model
Philips LPC2131/2132/2138
Display shows
08H
Type
Error code
Source
Manual p. 141

What 08H means

An I2C bus hang-up occurs if SDA or SCL is pulled LOW by an uncontrolled source. p. 141

Common causes

  • An I2C bus hang-up occurs if SDA or SCL is pulled LOW by an uncontrolled source. p. 141
  • If the SDA line is obstructed by another device on the bus (e.g., a slave device out of bit synchronization), the problem can be solved by transmitting additional clock pulses on the SCL line (see Figure 35). p. 141
  • If a forced bus access occurs or a repeated START condition is transmitted while SDA is obstructed (pulled LOW), the I2C hardware performs the same action as described above. p. 141
  • A bus error occurs when a START or STOP condition is present at an illegal position in the format frame. p. 141

What to do

  1. When this occurs, the problem must be resolved by the device that is pulling the SCL bus line LOW. p. 141
  2. The I2C hardware transmits additional clock pulses when the STA flag is set, but no START condition can be generated because the SDA line is pulled LOW while the I2C bus is considered free. The I2C hardware attempts to generate a START condition after every two additional clock pulses on the SCL line. When the SDA line is eventually released, a normal START condition is transmitted, state 08H is entered, and the serial transfer continues. p. 141
  3. In each case, state 08H is entered after a successful START condition is transmitted and normal serial transfer continues. Note that the CPU is not involved in solving these bus hang-up problems. p. 141
  4. The I2C hardware only reacts to a bus error when it is involved in a serial transfer either as a master or an addressed slave. When a bus error is detected, the I2C block immediately switches to the not addressed slave mode, releases the SDA and SCL lines, sets the interrupt flag, and loads the status register with 00H. This status code may be used to vector to a state service routine which either attempts the aborted serial transfer again or simply recovers from the error condition as shown in Table 106. p. 141

If 08H is still not resolved

The manual gives no further instruction for this code. Open the code table in the PDF or contact Philips service.

This page summarises what the manufacturer’s manual says about 08H; 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 Philips. Found a mistake? Report an error.