參數(shù)資料
型號: ATXMEGA256A3B-MH
廠商: Atmel
文件頁數(shù): 156/287頁
文件大?。?/td> 0K
描述: MCU AVR 256KB FLASH A3B 64-QFN
產(chǎn)品培訓模塊: MCU Product Line Introduction
XMEGA Introduction
AVR XMEGA USB Connectivity
標準包裝: 260
系列: AVR® XMEGA
核心處理器: AVR
芯體尺寸: 8/16-位
速度: 32MHz
連通性: I²C,SPI,UART/USART
外圍設備: 欠壓檢測/復位,DMA,POR,PWM,WDT
輸入/輸出數(shù): 49
程序存儲器容量: 256KB(128K x 16)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 4K x 8
RAM 容量: 16K x 8
電壓 - 電源 (Vcc/Vdd): 1.6 V ~ 3.6 V
數(shù)據(jù)轉換器: A/D 16x12b; D/A 2x12b
振蕩器型: 內部
工作溫度: -40°C ~ 85°C
封裝/外殼: 64-VFQFN 裸露焊盤
包裝: 托盤
配用: ATSTK600-RC14-ND - STK600 SOCKET/ADAPTER 64TQFP
ATAVRONEKIT-ND - KIT AVR/AVR32 DEBUGGER/PROGRMMR
ATSTK600-ND - DEV KIT FOR AVR/AVR32
其它名稱: ATXMEGA256A3B-MU
ATXMEGA256A3B-MU-ND
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁當前第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁第241頁第242頁第243頁第244頁第245頁第246頁第247頁第248頁第249頁第250頁第251頁第252頁第253頁第254頁第255頁第256頁第257頁第258頁第259頁第260頁第261頁第262頁第263頁第264頁第265頁第266頁第267頁第268頁第269頁第270頁第271頁第272頁第273頁第274頁第275頁第276頁第277頁第278頁第279頁第280頁第281頁第282頁第283頁第284頁第285頁第286頁第287頁
2011 Microchip Technology Inc.
DS39932D-page 339
PIC18F46J11 FAMILY
20.2.2
EUSART ASYNCHRONOUS
RECEIVER
The receiver block diagram is displayed in Figure 20-6.
The data is received on the RXx pin and drives the data
recovery block. The data recovery block is actually a
high-speed shifter operating at x16 times the baud rate,
whereas the main receive serial shifter operates at the
bit rate or at FOSC. This mode would typically be used
in RS-232 systems.
20.2.2.1
Receiving Data
The receiver data recovery circuit initiates character
reception on the falling edge of the first bit. The first
bit, also known as the Start bit, is always a zero (after
accounting for RXDTP setting). Following the Start bit
will be the Least Significant bit of the data character
being received. As each bit is received, the value will
be sampled and shifted into the Receive Shift Register
(RSR). After all 8 or 9 data bits (user selectable option)
of the character have been shifted in, one final bit time
is measured and the level sampled. This is the Stop
bit, which should always be a ‘1’ (after accounting for
RXDTP setting). If the data recovery circuit samples a
‘0’ in the Stop bit position then a framing error (FERR)
is set for this character, otherwise the framing error is
cleared for this character.
Once all data bits of the character and the Stop bit has
been received, the data bits in the RSR will
immediately be transferred to a two character
First-In-First-Out (FIFO) memory. The FIFO buffering
allows reception of two complete characters before
software is required to service the EUSART receiver.
The RSR register is not directly accessible by
software. Firmware can read data from the FIFO by
reading the RCREGx register. Each firmware initiated
read from the RCREGx register will advance the FIFO
by one character, and will clear the receive interrupt
flag (RCxIF), if no additional data exists in the FIFO.
20.2.2.2
Receive Overrun Error
If the user firmware allows the FIFO to become full,
and a third character is received before the firmware
reads from RCREGx, a buffer overrun error condition
will occur. In this case, the hardware will block the
RSR contents (the third byte received) from being
copied into the receive FIFO, the character will be lost
and the OERR status bit in the RCSTAx register will
become set. If an OERR condition is allowed to occur,
firmware must clear the condition by clearing and then
resetting CREN, before additional characters can be
successfully received.
20.2.2.3
Setting Up Asynchronous Receive
To set up an Asynchronous Reception:
1.
Initialize the SPBRGHx:SPBRGx registers for
the appropriate baud rate. Set or clear the
BRGH and BRG16 bits, as required, to achieve
the desired baud rate.
2.
Enable the asynchronous serial port by clearing
bit, SYNC, and setting bit, SPEN.
3.
If interrupts are desired, set enable bit, RCxIE.
4.
If 9-bit reception is desired, set bit, RX9.
5.
Enable the reception by setting bit, CREN.
6.
Flag bit, RCxIF, will be set when reception is
complete and an interrupt will be generated if
enable bit, RCxIE, was set.
7.
Read the RCSTAx register to get the ninth bit (if
enabled) and determine if any error occurred
during reception.
8.
Read the 8-bit received data by reading the
RCREGx register.
9.
If any error occurred, clear the error by clearing
enable bit, CREN.
10. If using interrupts, ensure that the GIE and PEIE
bits in the INTCON register (INTCON<7:6>) are
set.
20.2.3
SETTING UP 9-BIT MODE WITH
ADDRESS DETECT
This mode would typically be used in RS-485 systems.
To set up an Asynchronous Reception with Address
Detect Enable:
1.
Initialize the SPBRGHx:SPBRGx registers for
the appropriate baud rate. Set or clear the
BRGH and BRG16 bits, as required, to achieve
the desired baud rate.
2.
Enable the asynchronous serial port by clearing
the SYNC bit and setting the SPEN bit.
3.
If interrupts are required, set the RCEN bit and
select the desired priority level with the RCxIP bit.
4.
Set the RX9 bit to enable 9-bit reception.
5.
Set the ADDEN bit to enable address detect.
6.
Enable reception by setting the CREN bit.
7.
The RCxIF bit will be set when reception is
complete. The interrupt will be Acknowledged if
the RCxIE and GIE bits are set.
8.
Read the RCSTAx register to determine if any
error occurred during reception, as well as read
bit 9 of data (if applicable).
9.
Read RCREGx to determine if the device is
being addressed.
Note:
If the receive FIFO is overrun, no addi-
tional characters will be received until the
overrun condition is cleared.
相關PDF資料
PDF描述
GTC06CF-22-1P CONN PLUG 2POS STRAIGHT W/PINS
D38999/26FB5PN CONN PLUG 5POS STRAIGHT W/PINS
ADUC7128BSTZ126 IC DAS MCU ARM7 ADC/DDS 64-LQFP
D38999/24MB99PN CONN RCPT 7POS JAM NUT W/PINS
ADUC7128BCPZ126 IC DAS MCU ARM7 ADC/DDS 64-LFCSP
相關代理商/技術參數(shù)
參數(shù)描述
ATXMEGA256A3B-MHR 功能描述:8位微控制器 -MCU 256KB FL 4KB EE 16K SRAM IND 1.6-3.6V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
ATXMEGA256A3B-MU 制造商:Atmel Corporation 功能描述:MCU 8-Bit/16-Bit XMEGA AVR RISC 256KB Flash 1.8V/2.5V/3.3V 64-Pin QFN EP
ATXMEGA256A3BU-AN 功能描述:AVR AVR? XMEGA? A3BU Microcontroller IC 8/16-Bit 32MHz 256KB (128K x 16) FLASH 制造商:atmel 系列:AVR? XMEGA? A3BU 包裝:* 零件狀態(tài):有效 核心處理器:AVR 核心尺寸:8/16-位 速度:32MHz 連接性:I2C,IrDA,SPI,UART/USART,USB 外設:欠壓檢測/復位,DMA,POR,PWM,WDT I/O 數(shù):47 程序存儲容量:256KB(128K x 16) 程序存儲器類型:閃存 EEPROM 容量:4K x 8 RAM 容量:16K x 8 電壓 - 電源(Vcc/Vdd):1.6 V ~ 3.6 V 數(shù)據(jù)轉換器:A/D 16x12b;D/A 2x12b 振蕩器類型:內部 工作溫度:-40°C ~ 105°C(TA) 封裝/外殼:* 供應商器件封裝:* 標準包裝:160
ATXMEGA256A3BU-ANR 功能描述:AVR AVR? XMEGA? A3BU Microcontroller IC 8/16-Bit 32MHz 256KB (128K x 16) FLASH 制造商:atmel 系列:AVR? XMEGA? A3BU 包裝:* 零件狀態(tài):有效 核心處理器:AVR 核心尺寸:8/16-位 速度:32MHz 連接性:I2C,IrDA,SPI,UART/USART,USB 外設:欠壓檢測/復位,DMA,POR,PWM,WDT I/O 數(shù):47 程序存儲容量:256KB(128K x 16) 程序存儲器類型:閃存 EEPROM 容量:4K x 8 RAM 容量:16K x 8 電壓 - 電源(Vcc/Vdd):1.6 V ~ 3.6 V 數(shù)據(jù)轉換器:A/D 16x12b;D/A 2x12b 振蕩器類型:內部 工作溫度:-40°C ~ 105°C(TA) 封裝/外殼:* 供應商器件封裝:* 標準包裝:2,000
ATXMEGA256A3BU-AU 功能描述:8位微控制器 -MCU AVR8 256KB FLSH 16KB RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT