UPD78F0138 NEC, UPD78F0138 Datasheet - Page 321

no-image

UPD78F0138

Manufacturer Part Number
UPD78F0138
Description
(UPD78xxxx) 8-Bit Single-Chip Microcontrollers
Manufacturer
NEC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F0138M1GK-9ET
Manufacturer:
NEC
Quantity:
115
Part Number:
UPD78F0138M5GB
Manufacturer:
NEC
Quantity:
20 000
R
X
(g) Noise filter of receive data
D6/P14
(h) SBF transmission
The RXD6 signal is sampled with the base clock output by the prescaler block.
If two sampled values are the same, the output of the match detector changes, and the data is sampled as
input data.
Because the circuit is configured as shown in Figure 14-21, the internal processing of the reception operation
is delayed by two clocks from the external signal status.
When the device is incorporated in LIN, the SBF (Synchronous Break Field) transmission control function is
used for transmission.
Operation.
SBF transmission is used to transmit an SBF length that is a low-level width of 13 bits or more by adjusting
the baud rate value of the ordinary UART transmission function.
[Setting method]
Transmit 00H by setting the number of character bits of the data to 8 bits and the parity bit to 0 parity or even
parity. This enables a low-level transmission of a data frame consisting of 10 bits (1 bit (start bit) + 8 bits
(character bits) + 1 bit (parity bit)).
Adjust the baud rate value to adjust this 10-bit low level to the targeted SBF length.
Example If LIN is to be transmitted under the following conditions
To realize the above baud rate value, the length of a 13-bit SBF is as follows if the baud rate generator
control register 6 (BRGC6) is set to 130.
• 13-bit SBF length = 0.2
• 10-bit low-level transmission length = 0.2
Base clock
To realize a 13-bit SBF length in 10 bits, set a value 1.3 times the targeted baud rate to BRGC6. In this
example, set 169 to BRGC6. The transmission length of a 10-bit low level in this case is as follows, and
matches the 13-bit SBF length.
• Base clock of UART6 = 5 MHz (set by clock selection register 6 (CKSR6))
• Target baud rate value = 19200 bps
In
µ
For the transmission operation of LIN, see Figure 14-1
s × 130 × 2 × 13 = 676
CHAPTER 14 SERIAL INTERFACE UART6
Figure 14-21. Noise Filter Circuit
Q
User’s Manual U16228EJ2V0UD
µ
Internal signal A
s × 169 × 2 × 10 = 676
Match detector
µ
s
µ
s
In
LD_EN
Q
LIN Transmission
Internal signal B
321

Related parts for UPD78F0138