beautypg.com

12 lin error handling, 5 maxq7667 uart, 1 maxq7667 uart features – Maxim Integrated MAXQ7667 User Manual

Page 154: 12 lin error handling -24, 5 maxq7667 uart -24, 1 maxq7667 uart features -24, Figure 8-6. uart block diagram -24, Maxq7667 user’s guide

background image

8.4.12 LIN Error Handling

When the MAXQ7667 is used as a LIN master or slave, the application software should monitor the status of all LIN communication

with the ISVEC and ERRR registers. In the previous master and slave sections, no provision was provided to check for errors. When

the LIN controller communicates on the LIN bus, the ISVEC register should be monitored for error conditions and action should be

taken to handle the error. Also the ERRR register should be monitored after communication to detect any error conditions that occurred

as a result of transmitting or receiving data.

8.5 MAXQ7667 UART

The MAXQ7667 has a UART for serial communication. The UART can be used for standard RS-232 and RS-485 communication by

adding an external transceiver. Figure 8-6 shows the UART hardware.

8.5.1 MAXQ7667 UART Features

The MAXQ7667 UART provides the following features:

Synchronous and asynchronous transfers

Independent baud-rate generator

Two-wire interface

Full-duplex operation for asynchronous data transfers

Half-duplex operation for synchronous data transfers

Programmable interrupts for transmit and receive

Programmable 9th bit parity support

Start/stop bit support

Transmit and receive FIFOs

__________________________________________________________________________________________________________

8-24

MAXQ7667 User’s Guide

Figure 8-6. UART Block Diagram

MAXQ

CORE

INTERRUPTS

SBUF

REGISTER

TRANSMIT REGISTER

Tx FIFO

RECEIVE

REGISTER

BAUD-RATE

GENERATOR

Tx PIN

Rx PIN

Rx FIFO