Toshiba H1 Series Data Book page 486

32bit micro controller tlcs-900/h1 series
Table of Contents

Advertisement

The process that calculating CRC16 of transmits data and sending CRC next to
transmit data is explained as follows.
(1) Set SPICT <CRC16_7_B> to select CRC7 or CRC16 and <CRCRX_TX_B> to select
calculating data.
(2) To reset SPICR register, write "1" after write<CRCRESET_B> to "0".
(3) Write transmit data to SPITD register, and wait for finish transmission all data.
(4) Read SPICR register, and obtain the result of CRC calculation.
(5) Transmit CRC which is obtained in (4) by the same way as (3).
CRC calculation of receive data is the same process.
Figure 3.17.7 Flow chart of CRC calculation process
Start
<CRC16_7_B>="1",
<CRCRX_TX_B>="0"
<CRCRESET_B>="0"→"1"
Transmit all data
Read CRC from SPICR
Write CRC in SPITD and send
Finish
92CZ26A-483
TMP92CZ26A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tlcs-900Tmp92cz26axbg

Table of Contents