參數(shù)資料
型號(hào): AT43USB353M-AC
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: Low Cost Full-speed USB Microcontroller with Embedded Hub, ADC and PWM
中文描述: 8-BIT, MROM, 24 MHz, RISC MICROCONTROLLER, PQFP48
封裝: 7 X 7 MM, 1.40 MM HEIGHT, 0.50 MM PITCH, PLASTIC, MS-026BBC, LQFP-48
文件頁數(shù): 57/95頁
文件大?。?/td> 568K
代理商: AT43USB353M-AC
57
AT43USB353M
3307B–USB–4/04
Programming
the USB Module
The USB hardware consists of two devices, hub and function, each with their own device
address and end-points. Its operation is controlled through a set of memory mapped registers.
The exact configuration of the USB device is defined by the software and it can be pro-
grammed to operate as a compound device, or as a hub only or as a function only. The hub
has the required control and interrupt end-points. The number of external downstream ports is
programmable as 1 or 2. The DP and DM pins of the unused port(s) must be connected to
ground. The USB function has one control end-point and 3 programmable end-points. All the
end-points have their own FIFO. Function end-points 1 and 2 FIFOs are 64 bytes deep and
function end-point 3 has an 8-byte FIFO. If the hub is disabled, one extra end-point becomes
available to the function.
The USB Function
The USB function hardware is designed to operate in the single packet mode and to manage
the USB protocol layer. It consists of a Serial Interface Engine (SIE), end-point FIFOs and a
Function Interface Unit (FIU). The SIE performs the following tasks: USB signaling detec-
tion/generation, data serialization/de-serialization, data encoding/decoding, bit stuffing and un-
stuffing, clock/data separation, and CRC generation/checking. It also decodes and manages
all packet data types and packet fields.
The end-point FIFO buffers the data to be sent out or data received. The FIU manages the
flow of data between the SIE, FIFO and the internal microcontroller bus. It controls the FIFO
and monitors the status of the transactions and interfaces to the CPU. It initiates interrupts and
acts upon commands sent by the firmware.
The USB function hardware of the AT43USB353M makes the physical interface and the proto-
col layer transparent to the user. To start the process, the firmware must first enable the end-
points and which place them in receive mode by default. The device address by default is
address 0. The USB function hardware then waits for a SETUP token from the host. When a
valid the SETUP token is received, it automatically stores the DATA packet in end-point 0
FIFO and responds with an ACK. It then notifies the microcontroller through an interrupt. The
microcontroller reads the FIFO and parses the request.
Transactions for the non-control end-points are even simpler. Once the end-point is enabled, it
waits for an IN or an OUT token depending whether it is programmed as an IN or OUT end-
point. For example, if it is an IN end-point, the microcontroller simply loads the data into the
end-point's FIFO and sets a bit in the control and status register. The USB hardware will
assemble the data in a USB packet and waits for an IN token. When it receives one, it auto-
matically responds by transmitting the DATA packet and completes the transaction by waiting
for the host's ACK. When one is received, the USB hardware will signal the microcontroller
that the transaction has been completed successfully. Retries and data toggles are performed
automatically by the USB hardware. When the IN end-point is not ready to send data, in the
case where the microcontroller has not filled the FIFO, it will automatically respond with a
NAK.
Similarly, an OUT end-point will wait for an OUT token. When one is received, it will store the
data in the FIFO, completes the transaction and interrupt the microcontroller, which then reads
the FIFO and enables the end-point for the next packet. If the FIFO is not cleared, the USB
hardware will responds with a NAK.
A detailed description of how USB transactions are handled is described in the following sec-
tions. First for a control end-point and then for non-control end-points.
相關(guān)PDF資料
PDF描述
AT43USB355E-AC Full-speed USB Microcontroller with Embedded Hub, ADC and PWM
AT43USB355E-AU Full-speed USB Microcontroller with Embedded Hub, ADC and PWM
AT43USB355M-AC Full-speed USB Microcontroller with Embedded Hub, ADC and PWM
AT43USB355M-AU Full-speed USB Microcontroller with Embedded Hub, ADC and PWM
AT43USB380 On-The-Go Upgrade of the AT43USB370 USB 2.0 Full-Speed Host/Function Processor
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AT43USB355 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Missed Watchdog Timer Reset
AT43USB355_02 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Full speed USB Microcontroller with Embedded Hub, ADC and PWM
AT43USB355_06 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Full-speed USB Microcontroller with Embedded Hub, ADC and PWM
AT43USB355E-AC 功能描述:8位微控制器 -MCU USB GAME CONTROL w/EMBED HUB-COM TEMP RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
AT43USB355E-AU 功能描述:8位微控制器 -MCU USB GAME CONTROL w/ EMBED HUB RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT