PIC18F4431-E/PT Microchip Technology, PIC18F4431-E/PT Datasheet - Page 238

IC MCU FLASH 8KX16 44TQFP

PIC18F4431-E/PT

Manufacturer Part Number
PIC18F4431-E/PT
Description
IC MCU FLASH 8KX16 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F4431-E/PT

Core Size
8-Bit
Program Memory Size
16KB (8K x 16)
Oscillator Type
Internal
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, Power Control PWM, QEI, POR, PWM, WDT
Number Of I /o
36
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 9x10b
Operating Temperature
-40°C ~ 125°C
Package / Case
44-TQFP, 44-VQFP
Controller Family/series
PIC18
No. Of I/o's
36
Eeprom Memory Size
256Byte
Ram Memory Size
768Byte
Cpu Speed
40MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F4431-E/PT
Manufacturer:
JOHANSON
Quantity:
24 000
Part Number:
PIC18F4431-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC18F2331/2431/4331/4431
19.3.5
The enhanced USART module has the capability of
sending the special break character sequences that
are required by the LIN bus standard. The break char-
acter transmit consists of a Start bit, followed by 12 ‘0’
bits and a Stop bit. The frame break character is sent
whenever the SENDB and TXEN bits (TXSTA<3> and
TXSTA<5>) are set, while the transmit shift register is
loaded with data. Note that the value of data written to
TXREG will be ignored and all ‘0’s will be transmitted.
The SENDB bit is automatically reset by hardware after
the corresponding Stop bit is sent. This allows the user
to preload the transmit FIFO with the next transmit byte
following the break character (typically, the sync char-
acter in the LIN specification).
Note that the data value written to the TXREG for the
break character is ignored. The write simply serves the
purpose of initiating the proper sequence.
The TRMT bit indicates when the transmit operation is
active or idle, just as it does during normal transmis-
sion. See Figure 19-9 for the timing of the break
character sequence.
FIGURE 19-9:
DS39616B-page 236
Reg. Empty Flag)
Reg. Empty Flag)
Reg. Empty Flag)
Write to TXREG
(Transmit Buffer
(Transmit Shift
(Transmit Shift
BRG Output
(Shift Clock)
TRMT bit
TX (pin)
TXIF bit
SENDB
BREAK CHARACTER SEQUENCE
SEND BREAK CHARACTER SEQUENCE
Dummy Write
SENDB Sampled Here
Start Bit
Bit 0
Preliminary
Bit 1
Break
19.3.5.1
The following sequence will send a message frame
header made up of a break, followed by an auto-baud
sync byte. This sequence is typical of a LIN bus master.
1.
2.
3.
4.
5.
When the TXREG becomes empty, as indicated by the
TXIF, the next data byte can be written to TXREG.
19.3.6
The enhanced USART module can receive a break
character in two ways.
The first method forces to configure the baud rate at a
frequency of 9/13 the typical speed. This allows for the
Stop bit transition to be at the correct sampling location
(13 bits for break versus Start bit and 8 data bits for typ-
ical data).
The second method uses the auto-wake-up feature
described in Section 19.3.4 “Auto-Wake-up on
SYNC BREAK Character”. By enabling this feature,
the USART will sample the next two transitions on RX/
DT, cause an RCIF interrupt, and receive the next data
byte followed by another interrupt.
Note that following a break character, the user will
typically want to enable the auto-baud rate detect
feature. For both methods, the user can set the ABD bit
before placing the USART in its Sleep mode.
Configure the USART for the desired mode.
Set the TXEN and SENDB bits to setup the
break character.
Load the TXREG with a dummy character to
initiate transmission (the value is ignored).
Write ‘55h’ to TXREG to load the Sync character
into the transmit FIFO buffer.
After the break has been sent, the SENDB bit is
reset by hardware. The sync character now
transmits in the Pre-Configured mode.
RECEIVING A BREAK CHARACTER
Break and Sync Transmit Sequence
Bit 11
Auto-Cleared
 2003 Microchip Technology Inc.
Stop Bit

Related parts for PIC18F4431-E/PT