PIC18F4580T-I/PT Microchip Technology, PIC18F4580T-I/PT Datasheet - Page 236

IC PIC MCU FLASH 16KX16 44TQFP

PIC18F4580T-I/PT

Manufacturer Part Number
PIC18F4580T-I/PT
Description
IC PIC MCU FLASH 16KX16 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F4580T-I/PT

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F4580T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC18F2480/2580/4480/4580
EXAMPLE 19-1:
TABLE 19-2:
DS39637D-page 236
TXSTA
RCSTA
BAUDCON
SPBRGH
SPBRG
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used by the BRG.
For a device with F
Desired Baud Rate
Solving for SPBRGH:SPBRG:
Calculated Baud Rate
Error
Name
EUSART Baud Rate Generator Register High Byte
EUSART Baud Rate Generator Register Low Byte
ABDOVF
CSRC
SPEN
Bit 7
REGISTERS ASSOCIATED WITH BAUD RATE GENERATOR
X
OSC
CALCULATING BAUD RATE ERROR
of 16 MHz, desired baud rate of 9600, Asynchronous mode, 8-bit BRG:
= F
= ((F
= ((16000000/9600)/64) – 1
= [25.042] = 25
= 16000000/(64 (25 + 1))
= 9615
= (Calculated Baud Rate – Desired Baud Rate)/Desired Baud Rate
= (9615 – 9600)/9600 = 0.16%
RCIDL
OSC
Bit 6
TX9
RX9
OSC
/(64 ([SPBRGH:SPBRG] + 1)
/Desired Baud Rate)/64) – 1
SREN
TXEN
Bit 5
CREN
SYNC
SCKP
Bit 4
ADDEN
SENDB
BRG16
Bit 3
BRGH
FERR
Bit 2
OERR
TRMT
WUE
Bit 1
© 2009 Microchip Technology Inc.
ABDEN
RX9D
TX9D
Bit 0
on Page:
Values
Reset
57
57
57
57
57

Related parts for PIC18F4580T-I/PT