Instrukcja obsługi Microchip PIC24F08KM202


Przeczytaj poniżej 📖 instrukcję obsługi w języku polskim dla Microchip PIC24F08KM202 (56 stron) w kategorii nieskategoryzowany. Ta instrukcja była pomocna dla 4 osób i została oceniona przez 2 użytkowników na średnio 4.5 gwiazdek

Strona 1/56
2009-2013 Microchip Technology Inc. DS70000582E-page 1
HIGHLIGHTS
This section of the manual contains the following major topics:
1.0 Introduction ....................................................................................................................... 2
2.0 Control Registers .............................................................................................................. 4
3.0 UART Baud Rate Generator ........................................................................................... 12
4.0 UART Configuration........................................................................................................ 14
5.0 UART Transmitter ........................................................................................................... 15
6.0 Data Bit Detection ........................................................................................................... 20
7.0 UART Receiver ............................................................................................................... 21
8.0 Using the UART for 9-Bit Communication ...................................................................... 26
9.0 Other Features of the UART ........................................................................................... 29
10.0 UART Operation with DMA ............................................................................................. 31
11.0 UART Operation During CPU Sleep and Idle Modes ..................................................... 33
12.0 Operation of UxCTS and UxRTS Control Pins ............................................................... 35
13.0 Infrared Support.............................................................................................................. 37
14.0 LIN/J2602 Support.......................................................................................................... 40
15.0 Smart Card Support ........................................................................................................ 42
16.0 Registers Map................................................................................................................. 51
17.0 Related Application Notes............................................................................................... 52
18.0 Revision History .............................................................................................................. 53
Universal Asynchronous Receiver Transmitter (UART)
dsPIC33/PIC24 Family Reference Manual
DS70000582E-page 2 2009-2013 Microchip Technology Inc.
This document supersedes the following PIC24 and dsPIC Family Reference Manual sections:
1.0 INTRODUCTION
The Universal Asynchronous Receiver Transmitter (UART) module is one of the serial I/O
modules available in the dsPIC33 and PIC24 device families. The UART is a full-duplex,
asynchronous communication channel that communicates with peripheral devices and personal
computers, using protocols such as RS-232, RS-485, LIN/J2602 and IrDA
®. The module also
supports the hardware flow control option with the UxCTS and UxRTS pins and includes the IrDA
encoder and decoder.
The primary features of the UART module are as follows:
Full-duplex, 8-bit or 9-bit data transmission through the UxTX and UxRX pins
Even, odd or no parity options (for 8-bit data)
One or two Stop bits
Hardware auto-baud feature
Hardware flow control option with the UxCTS and UxRTS pins (These pins are not
available on all devices. Refer to the “Universal Asynchronous Receiver Transmitter
(UART)” chapter of the specific device data sheet for availability.)
Fully integrated Baud Rate Generator (BRG) with 16-bit prescaler
Baud rates up to 17.5 Mbps
Four-deep First-In First-Out (FIFO) transmit data buffer
Four-deep FIFO receive data buffer
Parity, framing and buffer overrun error detection
Support for 9-bit mode with address detect (9th bit = 1)
Transmit and receive interrupts
Loopback mode for diagnostic support
IrDA encoder and decoder logic
LIN/J2602 bus support (v1.3 and 2.0)
16x baud clock output for external IrDA encoder/decoder support
Optional ISO 7816 Smart Card support
Note: This family reference manual section is meant to serve as a complement to device
data sheets. Depending on the device variant, this manual section may not apply to
all dsPIC33 and PIC24 devices.
Please consult the note at the beginning of the “Universal Asynchronous
Receiver Transmitter (UART)” chapter in the current device data sheet to check
whether this document supports the device you are using.
Device data sheets and family reference manual sections are available for download
from the Microchip worldwide web site at: http://www.microchip.com
DS Number Section Number Title
DS39708 21 UART: PIC24F Family Reference Manual
DS70232 17 UART: PIC24H Family Reference Manual
DS70582 17 UART: dsPIC33E/PIC24E Family Reference Manual
DS70066 19, 34 UART: dsPIC30F Family Reference Manual
DS70188 17 UART: dsPIC33F/PIC24H Family Reference Manual
DS70582 17 UART: dsPIC33E/PIC24E Family Reference Manual
2009-2013 Microchip Technology Inc. DS70000582E-page 3
UART
A simplified block diagram of the UART is illustrated in Figure 1-1. The UART module consists
of the following key hardware elements:
Baud Rate Generator
Asynchronous Transmitter
Asynchronous Receiver
Figure 1-1: UARTx Simplified Block Diagram
Baud Rate Generator
UxRX
Hardware Flow Control
UARTx Receiver
UARTx Transmitter UxTX
UxCTS
UxRTS
BCLKx
ISO 7816 Support
IrDA®


Specyfikacje produktu

Marka: Microchip
Kategoria: nieskategoryzowany
Model: PIC24F08KM202

Potrzebujesz pomocy?

Jeśli potrzebujesz pomocy z Microchip PIC24F08KM202, zadaj pytanie poniżej, a inni użytkownicy Ci odpowiedzą




Instrukcje nieskategoryzowany Microchip

Instrukcje nieskategoryzowany

Najnowsze instrukcje dla nieskategoryzowany

Asko

Asko DBI644MIB.S.TW/1 Instrukcja

28 Października 2024
Asko

Asko DFS233IB.S.TW/1 Instrukcja

28 Października 2024
Emko

Emko EZM-9920 Instrukcja

27 Października 2024
Emko

Emko ESM-3712-H Instrukcja

27 Października 2024
Emko

Emko ATS-10 Instrukcja

27 Października 2024
Emko

Emko EAOM-11.2 Instrukcja

27 Października 2024
Emko

Emko EPM-3790 Instrukcja

27 Października 2024
Emko

Emko EPM-7790 Instrukcja

27 Października 2024
Livarno Lux

Livarno Lux IAN 108340 Instrukcja

27 Października 2024
Livarno Lux

Livarno Lux HG06009A-BS Instrukcja

27 Października 2024