Maxim-integrated MAXQ7667 Manual do Utilizador Página 143

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 347
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 142
8.3.11 Control Register 0 (UART) (CNT0)
Register Description: Control Register 0
R
egister Name:
C
NT0
Register Address: Module 03h, Index 14h
Bit 7: Wake Up (WU).
This bit enables the host to monitor and control the low-power sleep mode status of the peripheral. It can also
be used to communicate to the host the status of the activity on the LIN bus.
If the host changes this bit from 1 to 0, the peripheral enters a low-power sleep mode. In this mode, most of the clocks internal to the
peripheral ar
e shut down to conserve power. If the peripheral is in the low-power sleep mode and a wake-up condition is detected on
the LIN bus, hardware clears this flag to 0 and issues an interrupt.
If the peripheral is in the low-power sleep state and the host sets this bit to 1, the peripheral issues wake-up requests on the bus
according to the LIN 2.0 specification. If the peripheral is unable to wake up the master, an error is generated and the peripheral returns
to the low-power sleep state.
This bit is automatically cleared to 0 by hardware if the bus is inactive for at least 4 seconds.
Bits 6 and 5: Receive Filter Prescalar Mode 1:0 (FP[1:0]). This field selects the operating mode of the receive filter according to the
following table.
Bit 4: Interrupt Enable (INE). This bit enables the peripheral to issue an interr
upt to the host. If this bit is clear
ed to 0, the interr
upt
flags are set but no interrupt is generated.
Bit 3: Automatic Checksum Type (AUT). This bit enables or disables the automatic detection of the checksum type in a LIN frame.
If this bit is set to 1, the peripheral automatically determines the checksum type based on the identifier in the LIN header
. If this bit is
clear
ed to 0, the CK bit (CNT1.7) is used to select the checksum type for the cur
r
ent transmitted or received frame.
Bit 2: Initialization (INIT). This bit is set to 1 by hardware on any system reset. Software must clear it to 0 after all peripheral initial-
ization is complete. Software can also set this bit to 1 at any time to force the peripheral into the reset initialization state. This bit has
no effect in legacy UART mode.
Bit 1: LIN or UART Mode Select (LUN[1:0]). This field selects between LIN master, LIN slave, and legacy UART mode according to
the following table.
8-13 __________________________________________________________________________________________________________
MAXQ7667 Users Guide
r = read, w = write
Note: CNT0 is cleared to 8Bh on all forms of reset.
B
it #
7
6543210
Name WU FP1 FP0 INE AUT INIT LUN1 LUN0
Reset 1 0 0 0 1 0 0 0
Access rw rw rw rw r w rw rw rw
FP[1:0] MODE
00 Filter d isabled.
01
In this mode, the fi lter can reject a noise puls e up to 2 s ystem clock cycles wi de. A total of 3 clock cycles of latency are added to the receive
filter output.
10
In this mode, the fi lter can reject a noise puls e up to 4 s ystem clocks wide. A total of 7 clock cycles of latency are added to the receive filter
output.
11
In this mode, the fi lter can reject a noise puls e up to 6 s ystem clocks wide. A total of 11 clock cycles of latency are added to the receive filter
output.
LUN [1:0 ] MODE
00 Legacy UART Mode (default)
01 Legacy UART Mode
10 LIN Master Mode
11 LIN Slave Mode
Vista de página 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 346 347

Comentários a estes Manuais

Sem comentários