r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 604

no-image

r5f21346mnfp

Manufacturer Part Number
r5f21346mnfp
Description
Single-chip Mcus Incorporates The R8c Cpu Core
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21346mnfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/34M Group
R01UH0131EJ0100 Rev.1.00
Jun 21, 2011
Figure 27.6
Notes:
Timer RA
Hardware LIN
Hardware LIN
Hardware LIN
Hardware LIN
Hardware LIN
Timer RA
Timer RA
UART0
INT1
Timer RA
Timer RA
1. When the previous communication completes normally and header field reception is
2. Although the timer-associated registers (TRAMR and TRAIOC) are set before the
performed again with the same settings, the above settings can be omitted.
TRASR register is set, there is no problem with this flow for the hardware LIN.
TRAIO pin assigned to P1_5
Bits TRAIOSEL1 to TRAIOSEL0 in TRASR register ← 10b
RXD0 pin assigned to P1_5
RXD0SEL0 bit in U0SR register ← 1
INT1 pin assigned to P1_5
Bits INT1SEL1 and INT1SEL0 in INTSR register ← 01b
Set the pulse width measurement level to low
TEDGSEL bit in TRAIOC register ← 0
Set the count source (f1, f2, f8, fOCO)
Bits TCK0 to TCK2 in TRAMR register
Set the Synch Break width
TRAPRE register
TRA register
Set to pulse width measurement mode
Bits TMOD2 to TMOD0 in TRAMR register ← 011b
Header Field Reception Flowchart Example (1)
Set the RXD0 input unmasking timing
(After Synch Break detection, or after Synch Field
measurement)
SBE bit in LINCR register
Set interrupts to enable
Bits BCIE, SBIE, SFIE in LINCR register
Set the LIN operation to stop
LINE bit in LINCR register ← 0
Set to slave mode
MST bit in LINCR register ← 0
Set the LIN operation to start
LINE bit in LINCR register ← 1
(Bus collision detection, Synch Break detection, Synch
Field measurement)
A
(1, 2)
(1, 2)
(1, 2)
(1)
(1)
(1)
(1)
(1)
(1)
Set the TIOSEL bit in the
TRAIOC register to 1 to select the
hardware LIN function.
If the wake-up function is not
necessary, the setting of the INT1
pin can be omitted.
Set the count source and registers
TRA and TRAPRE as appropriate
for the Synch Break period.
Select the timing at which to
unmask the RXD0 input for UART0.
If the RXD0 input is chosen to be
unmasked after Synch Break
detection, the Synch Field signal is
also input to UART0.
27. Hardware LIN
Page 572 of 740

Related parts for r5f21346mnfp