Microchip PIC24FJ256GA412 Handleiding


Lees hieronder de 📖 handleiding in het Nederlandse voor Microchip PIC24FJ256GA412 (56 pagina's) in de categorie Niet gecategoriseerd. Deze handleiding was nuttig voor 10 personen en werd door 2 gebruikers gemiddeld met 4.5 sterren beoordeeld

Pagina 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®


Product specificaties

Merk: Microchip
Categorie: Niet gecategoriseerd
Model: PIC24FJ256GA412

Heb je hulp nodig?

Als je hulp nodig hebt met Microchip PIC24FJ256GA412 stel dan hieronder een vraag en andere gebruikers zullen je antwoorden




Handleiding Niet gecategoriseerd Microchip

Handleiding Niet gecategoriseerd

Nieuwste handleidingen voor Niet gecategoriseerd