Communication Between Master And Slave If An Error Occurs - Fujitsu F2MC-8FX Series User Manual

8-bit microcontroller bits pot yellow lin board
Hide thumbs Also See for F2MC-8FX Series:
Table of Contents

Advertisement

AN07-00200-03E
5.4

Communication between master and slave if an error occurs

LIN error processing is not determined by the protocols, and so depends on the application.
Consequently, during design, it is necessary to consider the error detection methods and the process
after the error has been processed. As this is not determined by the protocols in the LIN
specifications either, however, examples of system design if an error occurs are introduced in the
chapter "Status Management". In the examples introduced, errors are managed by slaves reporting
their own status to the master. This mechanism is described below.
The basic master operation is merely to send the header to the next slave when communications with
the current slave have ended. On the other hand, the slave operation is to perform error checking
when a header is received and when a response is sent. Checksums and other checks are
implemented during reception. When sending, checks are performed by comparing the sent data and
the bus data that performs the monitoring. In this way, the slave identifies its own status, and inserts
the results into the response that is sent to the master. The master identifies the slave status from the
response, and if there is a nonconformance, initializes the slave. In this way, the error status is
completely cleared.
87

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95f136jbs

Table of Contents