Precautions For Can Module; Reading C0Str Register - Renesas M16C/60 Series Hardware Manual

Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N5 Group

1.11 Precautions for CAN Module

1.11.1 Reading C0STR Register

The CAN module on the M16C/6N5 Group updates the status of the C0STR register in a certain
period. When the CPU and the CAN module access to the C0STR register at the same time, the CPU
has the access priority; the access from the CAN module is disabled. Consequently, when the updating
period of the CAN module matches the access period from the CPU, the status of the CAN module
cannot be updated. (Refer to Figure 1.11.1.)
Accordingly, be careful about the following points so that the access period from the CPU should not
match the updating period of the CAN module:
(1) There should be a wait time of 3f
C0STR register. (Refer to Figure 1.11.2.)
(2) When the CPU polls the C0STR register, the polling period must be 3f
Figure 1.11.3.)
Table 1.11.1 CAN Module Status Updating Period
3f
period = 3
CAN
(Example 1) Condition X
(Example 2) Condition X
(Example 3) Condition X
(Example 4) Condition X
(Example 5) Condition X
Rev.1.00
2003.05.30
page 18
CAN
X
(Original oscillation period)
IN
16 MHz CCLK: Divided by 1
IN
16 MHz CCLK: Divided by 2
IN
16 MHz CCLK: Divided by 4
IN
16 MHz CCLK: Divided by 8
IN
16 MHz CCLK: Divided by 16
IN
or longer (refer to Table 1.11.1) before the CPU reads the
Division value of the CAN clock (CCLK)
3f
period = 3
CAN
3f
period = 3
CAN
3f
period = 3
CAN
3f
period = 3
CAN
3f
period = 3
CAN
1.11 Precautions for CAN Module
or longer. (Refer to
CAN
62.5 ns
1 = 187.5 ns
62.5 ns
2 = 375 ns
62.5 ns
4 = 750 ns
8 = 1.5 µs
62.5 ns
16 = 3 µs
62.5 ns

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6n5

Table of Contents