16.11.4 Note On Crc Operation Circuit; Figure 16.50 Lsb-First And Msb-First Transmit Data - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Section 16 Serial Communication Interface (SCI, IrDA, and CRC)

16.11.4 Note on CRC Operation Circuit

Note that the sequence to transmit the CRC code differs between LSB-first transmission and
MSB-first transmission.
1. CRC code generation
After specifying the operation method, write data to CRCDIR in the sequence of (1) → (2) → (3) → (4).
CRCDIR
CRCDORH
CRCDORL
2. Transmission data
(i) LSB-first transmission
(ii) MSB-first transmission
Output

Figure 16.50 LSB-First and MSB-First Transmit Data

Rev. 3.00 Jan 25, 2006 page 472 of 872
REJ09B0286-0300
7
(1) → (2) → (3) → (4)
CRC code generation
7
(5)
(6)
CRC code
7
0
7
0
7
(5)
(6)
7
0
7
0
7
(1)
(2)
0
0
7
0
7
0
(4)
(3)
(2)
0
7
0
7
(3)
(4)
(5)
0
7
0
(1)
Output
CRC code
0
7
0
(6)

Advertisement

Table of Contents
loading

Table of Contents