![Texas Instruments TMS470R1x Скачать руководство пользователя страница 108](http://html.mh-extra.com/html/texas-instruments/tms470r1x/tms470r1x_reference-manual_1097091108.webp)
Control Registers and RAM
100
Bit 12
BITERR.
Mismatch of internal transmit data and transmitted data.
This flag is read/clear only flag, i.e. reading the flag will automatically clear it.
It represents a copy of the BITERR flag in SPISTAT.
1 =
A bit error occurred. The MibSPI samples the signal of the transmit pin
(master: SIMO, slave: SOMI) at the receive point (half clock cycle after
transmit point). If the sampled value differs from the transmitted value a
bit error is detected and the flag BITERR is set. A possible reason for a
bit error can be noise, a to high bit rate / capacitive load or another
master/slave trying to transmit at the same time.
0 =
No bit error occurred.
Bit 11
DESYNC.
De-synchronization of slave device.
This flag is read/clear only flag, i.e. reading the flag will automatically clear it.
De-synchronization monitor is active in master mode only. DESYNC
represents a copy of the DESYNC flag in SPISTAT.
1 =
A slave device is de-synchronized. The master monitors the ENA sig-
nal coming from the slave device and sets the DESYNC flag if ENA is
deactivated before the last reception point or after the last bit is trans-
mitted plus t
T2EDELAY
(see Section 7.17). If DESYNCENA is set an
interrupt is asserted. De-synchronization can occur if a slave device
misses a clock edge coming from the master or is detecting an addi-
tional clock edge due to perturbation.
0 =
No slave de-synchronization detected.
Bit 10
PARITYERR.
Calculated parity differs from received parity bit.
This flag is read/clear only flag, i.e. reading the flag will automatically clear it.
It represents a copy of the PARITYERR flag in SPISTAT.
1 =
A parity error occurred. If the parity generator is enabled (can be
selected individually for each buffer) an even or odd parity bit is added
at the end of a data word (see Section 7.19). During reception of the
data word the parity generator calculates the reference parity and com-
pares it to the received parity bit. In the event of a mismatch the PARI-
TYERR flag in the SPISTAT register and in the status field of the
involved buffer is set.
0 =
No parity error detected.
Содержание TMS470R1x
Страница 2: ...2 ...