欢迎访问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文件第292页浏览型号90USB1287-16AU的Datasheet PDF文件第293页浏览型号90USB1287-16AU的Datasheet PDF文件第294页浏览型号90USB1287-16AU的Datasheet PDF文件第295页浏览型号90USB1287-16AU的Datasheet PDF文件第297页浏览型号90USB1287-16AU的Datasheet PDF文件第298页浏览型号90USB1287-16AU的Datasheet PDF文件第299页浏览型号90USB1287-16AU的Datasheet PDF文件第300页  
23.7 USB Reset  
The USB controller sends a USB Reset when the firmware set the RESET bit. The RSTI bit is  
set by hardware when the USB Reset has been sent. This triggers an interrupt if the RSTE has  
been set.  
When a USB Reset has been sent, all the Pipe configuration and the memory allocation are  
reset. The General Host interrupt enable register is left unchanged.  
If the bus was previously in suspend mode (SOFEN = 0), the USB controller automatically  
switches to the resume mode (HWUPI is set) and the SOFEN bit is set by hardware in order to  
generate SOF immediately after the USB Reset.  
23.8 Address Setup  
Once the Device has answer to the first Host requests with the default address (0), the Host  
assigns a new address to the device. The Host controller has to send a USB reset to the device  
and perform a SET ADDRESS control request, with the new address to be used by the Device.  
This control request ended, the firmware write the new address into the UHADDR register. All  
following requests, on every Pipes, will be performed using this new address.  
When the Host controller send a USB reset, the UHADDR register is reset by hardware and the  
following Host requests will be performed using the default address (0).  
23.9 Remote Wake-Up detection  
The Host Controller enters in Suspend mode when clearing the SOFEN bit. No more Start Of  
Frame is sent on the USB bus and the USB Device enters in Suspend mode 3ms later.  
The Device awakes the Host Controller by sending an Upstream Resume (Remote Wake-Up  
feature). The Host Controller detects a non-idle state on the USB bus and set the HWUPI bit. If  
the non-Idle correspond to an Upstream Resume (K state), the RXRSMI bit is set by hardware.  
The firmware has to generate a downstream resume within 1ms and for at least 20ms by setting  
the RESUME bit.  
Once the downstream Resume has been generated, the SOFEN bit is automatically set by hard-  
ware in order to generate SOF immediately after the USB resume.  
Host  
Ready  
SOFE=0  
SOFE=1  
or HWUP=1  
Host  
Suspend  
23.10 USB Pipe Reset  
The firmware can reset a Pipe using the pipe reset register. The configuration of the pipe and  
the data toggle remains unchanged. Only the bank management and the status bits are reset to  
their initial values.  
To completely reset a Pipe, the firmware has to disable and then enable the pipe.  
23.11 Pipe Data Access  
In order to read or to write into the Pipe Fifo, the CPU selects the Pipe number with the UPNUM  
register and performs read or write action on the UPDATX register.  
296  
AT90USB64/128  
7593A–AVR–02/06  
 复制成功!