Understanding And Overview Of The Program For Lin Communication; Lin Communication Configuration; Table 5-2 Lin Communication Conditions Of The Sample Program; Table 5-3 Lin Message Ids In The Sample Program - 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

5.6

Understanding and overview of the program for LIN communication

This section explains sample programs as programs that actually perform LIN communication. In
bits pot LIN communication, the starter kit operates as a LIN slave, and bits pot white operates as the
master.
5.6.1

LIN communication configuration

The LIN communication conditions for the sample program are described in "Table 5-2 LIN
communication conditions".

Table 5-2 LIN communication conditions of the sample program

Baud rate
Peripheral clock frequency
Synch break length
Data length
Data bit format
Data byte count
Next, this section explains message IDs using LIN communication as described in "Table 5-3 LIN
message IDs in the sample program".
ID
Description
Temperature measurement command / temperature
0x00
display command
0x01
Temperature sensor information
Buzzer output command / volume value
0x02
measurement command
0x03
Volume (VR) information
0x04
LED ON change command: count up / count down
0x05
LED value
Condition
2400 / 9600 (default value) / 19200bps
16MHz
13 bits (Receive is fixed to detect 11-bits)
8 bits
LSB first
8 bytes

Table 5-3 LIN message IDs in the sample program

Setting value
Communication
direction
white → yellow
white → yellow
white ← yellow
white → yellow
white → yellow
white ← yellow
white → yellow
white → yellow
white ← yellow
92
AN07-00200-03E

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95f136jbs

Table of Contents