| Electronic Components Datasheet Search |
|
USB5532B Datasheet(PDF) 16 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
USB5532B Datasheet(HTML) 16 Page - Microchip Technology |
|
16 / 68 page ![]() USB5532B DS00001679C-page 16 2012 - 2015 Microchip Technology Inc. 4.1.4.1 ERASE EXAMPLE To perform a SCTR_ERASE, 32BLK_ERASE, or 64BLK_ERASE, the device writes 0x20, 0x52, or 0xD8, respectively to the first byte of the command buffer, followed by a 3-byte address. The length of the transfer is set to 4 bytes. To do this, the device first drops SPI_CE_N, then counts out 8 clocks. It then puts out the 8 bits of command, followed by 24 bits of address of the location to be erased on the SPI_DO pin. When the transfer is complete, the SPI_CE_N goes high, while the SPI_DI line is ignored in this example. 4.1.4.2 BYTE PROGRAM EXAMPLE To perform a Byte Program, the device writes 0x02 to the first byte of the command buffer, followed by a 3-byte address of the location that will be written to, and one data byte. The length of the transfer is set to 5 bytes. The device first drops SPI_CE_N, 8 bits of command are clocked out, followed by 24 bits of address, and one byte of data on the SPI_DO pin. The SPI_DI line is not used in this example. FIGURE 4-6: SPI ERASE SEQUENCE FIGURE 4-7: SPI BYTE PROGRAM SPI_CEN SPI_CLK 16 23 24 31 15 12 3 4 05 7 6 ADD. SPI_DO SPI_DI 8 Command MSB MSB ADD. ADD. HIGH IMPEDANCE SPI_CEN SPI_CLK 16 23 24 31 15 39 12 3 4 05 7 6 0x00 SPI_DO SPI_DI 8 0xDB MSB MSB 0xFE /0xFF Data MSB LSB 32 HIGH IMPEDANCE 0xBF |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |