NXP Semiconductors PN7462 series User Manual page 276

Table of Contents

Advertisement

NXP Semiconductors
14.3.3.6 EOF detection
For HS UART, the EOF is determined by the sampling of EOF_SIZE bits of value one.
To prevent the race condition between EOF detection and retransmission from the host,
an additional time of 5 bits is required before retransmitting the data. The EOF_size
defines the maximum inter-byte duration in a frame, while the EOF_size+5 defines the
minimum inter-frame duration between 2 frames.
Table 317. EOF duration in us
Bit rate (kBaud)
57.6
115.2
921.6
1288
3500
3750
4000
5000
14.3.3.7 Baud rate estimation
In order to be independent of clock ratio between HS UART baud rate and host interface
sample clock, a baud rate estimator was implemented. The principle of this estimator
is that the host sends a calibration byte of value 0x00 at beginning of each frame.
First transmission from the host interface to the host must occur after previous
reception of such a frame when HSU_BR_ESTIMATOR_MODE is 1 (Hence using
baud rate estimator in automatic mode is not possible if full-duplex HSU is used).
This byte is used to measure sample clock for reception of next bytes and transmission
of next frame. Usage of this baud rate estimator assumes that no important clock
frequency deviation will happen from reception of this first byte until the last byte to be
sent by host interface. Hence, this is well adapted to receive a message and answer to
this message after firmware processing. But if the host interface wants to transmit data
with no prior data reception (or with a long time since prior reception), then clock
frequency may have changed and an accurate clock will be needed.
The baud rate estimator is active when bit HSU_BR_ESTIMATOR_MODE of
HSU_CONTROL_REG is set to 1 or 2. When active, the first received byte must be
0x00, which will be sent as 9 consecutive '0' bits on RX line. Then the number of edges
of sample clock are counted and divided by 9: The result of this division is used to
UM10858
User manual
COMPANY PUBLIC
Fig 63. EOF_SIZE: max inter-byte delay and min inter-frame delay
EOF_SIZE=10
174
87
11
8
2.9
2.7
2.5
2
All information provided in this document is subject to legal disclaimers.
Rev. 1.4 — 14 May 2018
EOF_SIZE=50
869
434
55
39
14.3
13.4
12.5
10
314514
UM10858
PN7462 family HW user manual
EOF_SIZE=100
1737
869
109
78
28.6
26.7
25
20
© NXP B.V. 2018. All rights reserved.
276 of 345

Advertisement

Table of Contents
loading

Table of Contents