| Electronic Components Datasheet Search |
|
MCP251863T-E/SS Datasheet(PDF) 71 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP251863T-E/SS Datasheet(HTML) 71 Page - Microchip Technology |
|
71 / 106 page ![]() 2022 Microchip Technology Inc. and its subsidiaries DS20006624A-page 71 MCP251863 5.1 SFR Access The SFR access is byte-oriented. Any number of data bytes can be read or written with one instruction. The address is incremented by one automatically after every data byte. The address rolls over from 0xFFF to 0x000. The following SPI instructions only show the different fields and their values. Every instruction follows the generic format illustrated in Figure 5-1. 5.1.1 RESET Figure 5-2 illustrates the RESET instruction. The instruction starts with nCS going low. The Command (C[3:0] = 0b0000) is followed by the Address (A[11:0] = 0x000). The instruction ends when nCS goes high. The RESET instruction should only be issued after the device enters Configuration mode. All SFR and State Machines are reset same as during a Power-on Reset (POR), and the device transitions immediately to Configuration mode. The Message Memory is not changed. The actual reset happens at the end of the instruction when nCS goes high. 5.1.2 SFR READ – READ Figure 5-3 illustrates the READ instruction, while accessing SFR. The instruction starts with nCS going low. The Command (C[3:0] = 0b0011), is followed by the Address (A[11:0]). Afterwards, the data byte from address A (DB[A]) is shifted out, followed by the data byte from address A+1 (DB[A+1]). Any number of data bytes can be read. The instruction ends when nCS goes high. 5.1.3 SFR WRITE – WRITE Figure 5-4 illustrates the WRITE instruction, while accessing SFR. The instruction starts with nCS going low. The Command (C[3:0] = 0b0010), is followed by the Address (A[11:0]). Afterwards, the data byte is shifted into address A (DB[A]), next into address A+1 (DB[A+1]). Any number of data bytes can be written. The instruction ends when nCS goes high. Data bytes are written to the register with the falling edge on SCK following the 8th data bit. FIGURE 5-2: RESET INSTRUCTION FIGURE 5-3: SFR READ INSTRUCTION FIGURE 5-4: SFR WRITE INSTRUCTION Note: The bit fields in the IOCON register must be written using the single data byte SFR WRITE instructions. 0b0000 0x000 nCS Low nCS High 0b0011 A<11:0> DB[A] DB[A+1] DB[A+n-1] nCS Low nCS High 0b0010 A<11:0> DB[A] DB[A+1] DB[A+n-1] nCS Low nCS High |
|
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 |