欢迎访问ic37.com |
会员登录 免费注册
发布采购

90USB1287-16AU 参数 Datasheet PDF下载

90USB1287-16AU图片预览
型号: 90USB1287-16AU
PDF下载: 下载PDF文件 查看货源
内容描述: 单片机具有ISP功能的Flash和USB控制器64 / 128K字节 [Microcontroller with 64/128K Bytes of ISP Flash and USB Controller]
分类和应用: 微控制器
文件页数/大小: 434 页 / 3172 K
品牌: ATMEL [ ATMEL ]
 浏览型号90USB1287-16AU的Datasheet PDF文件第275页浏览型号90USB1287-16AU的Datasheet PDF文件第276页浏览型号90USB1287-16AU的Datasheet PDF文件第277页浏览型号90USB1287-16AU的Datasheet PDF文件第278页浏览型号90USB1287-16AU的Datasheet PDF文件第280页浏览型号90USB1287-16AU的Datasheet PDF文件第281页浏览型号90USB1287-16AU的Datasheet PDF文件第282页浏览型号90USB1287-16AU的Datasheet PDF文件第283页  
AT90USB64/128  
An underflow can also occur during OUT stage if the host send a packet while the banks are  
already full. Typically, he CPU is not fast enough. The packet is lost.  
It is not possible to have underflow error during OUT stage, in the CPU side, since the CPU  
should read only if the bank is ready to give data (RXOUTI=1 or RWAL=1)  
22.16.2 CRC Error  
A CRC error can occur during OUT stage if the USB controller detects a bad received packet. In  
this situation, the STALLEDI interrupt is triggered. This does not prevent the RXOUTI interrupt  
from being triggered.  
22.17 Overflow  
In Control, Isochronous, Bulk or Interrupt Endpoint, an overflow can occur during OUT stage, if  
the host attempts to write in a bank that is too small for the packet. In this situation, the OVERFI  
interrupt is triggered (if enabled). The packet is hacknowledged and the RXOUTI interrupt is also  
triggered (if enabled). The bank is filled with the first bytes of the packet.  
It is not possible to have overflow error during IN stage, in the CPU side, since the CPU should  
write only if the bank is ready to access data (TXINI=1 or RWAL=1).  
22.18 Interrupts  
The next figure shows all the interrupts sources:  
Figure 22-4. USB Device Controller Interrupt System  
UPRSMI  
UDINT.6  
UPRSME  
UDIEN.6  
EORSMI  
UDINT.5  
EORSME  
UDIEN.5  
WAKEUPI  
UDINT.4  
WAKEUPE  
UDIEN.4  
USB Device  
Interrupt  
EORSTI  
UDINT.3  
EORSTE  
UDIEN.3  
SOFI  
UDINT.2  
SOFE  
UDIEN.2  
SUSPI  
UDINT.0  
SUSPE  
UDIEN.0  
There are 2 kind of interrupts: processing (i.e. their generation are part of the normal processing)  
and exception (errors).  
Processing interrupts are generated when:  
• VBUS plug-in detection (insert, remove)(VBUSTI)  
• Upstream resume(UPRSMI)  
• End of resume(EORSMI)  
• Wake up(WAKEUPI)  
• End of reset (Speed Initialization)(EORSTI)  
279  
7593A–AVR–02/06  
 复制成功!