欢迎访问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文件第254页浏览型号90USB1287-16AU的Datasheet PDF文件第255页浏览型号90USB1287-16AU的Datasheet PDF文件第256页浏览型号90USB1287-16AU的Datasheet PDF文件第257页浏览型号90USB1287-16AU的Datasheet PDF文件第259页浏览型号90USB1287-16AU的Datasheet PDF文件第260页浏览型号90USB1287-16AU的Datasheet PDF文件第261页浏览型号90USB1287-16AU的Datasheet PDF文件第262页  
21.6.2  
Host mode  
When the USB interface is configured in device mode, internal Pull Down resistors are activated  
on both UDP UDM lines and the interface detects the type of device connected.  
21.7 Memory access capability  
The CPU has the possibility to directly access to the USB internal memory (DPRAM).  
The memory access mode is performed using 2 sfr’s: UDPADDH and UDPADDL.  
To enter in this mode:  
• the USBE bit must be cleared.  
• the DPACC bit and the base address DPADD10:0 must be set.  
Even if the USBE bit is cleared, the DPACC bit and DPADD10:0 field can be used by the  
firmware.  
Then, a read or a write in UEDATX (device mode) or in UPDATX (host mode) is performed  
according to DPADD10:0 and the base address DPADD10:0 field is automatically increased.  
The endpoint FIFO pointers and the value of the UxNUM registers are discarded in this mode.  
The aim of this functionality is to use the DPRAM as extra-memory.  
When using this mode, there is no influence over the USB controller.  
Unused  
[DPADDH - DPADDL]  
Endpoint 1 to N  
Endpoint 0  
USB DPRAM  
21.8 Memory management  
The controller does only support the following memory allocation management:  
The reservation of a Pipe or an Endpoint can only be made in the growing order (Pipe/Endpoint  
0 to the last Pipe/Endpoint). The firmware shall thus configure them in the same order.  
The reservation of a Pipe or an Endpoint “ki” is done when its ALLOC bit is set. Then, the hard-  
ware allocates the memory and insert it between the Pipe/Endpoints “ki-1” and “ki+1”. The “ki+1  
Pipe/Endpoint memory “slides” up and its data is lost. Note that the “ki+2” and upper Pipe/End-  
point memory does not slide.  
Clearing a Pipe enable (PEN) or an Endpoint enable (EPEN) does not clear neither its ALLOC  
bit, nor its configuration (EPSIZE/PSIZE, EPBK/PBK). To free its memory, the firmware should  
258  
AT90USB64/128  
7593A–AVR–02/06  
 复制成功!