| Electronic Components Datasheet Search |
|
W5200 Datasheet(PDF) 75 Page - WIZnet Co., Ltd |
|
|
|||||||||||||||||||||||||||||
W5200 Datasheet(HTML) 75 Page - WIZnet Co., Ltd |
|
75 / 88 page ![]() © Copyright 2013 WIZnet Co.,Ltd. All rights reserved. 75 READ Processing The READ Processing Sequence Diagram is shown in Figure 20. The READ processing is entered by driving CSn low, followed by the Address, the OP code, the Data Length and the Dummy data byte on MOSI. And then W5200 read the data byte on MISO. The Address, the OP/Data Length Sequence Diagram and the Data are shown in Figure 19. The OP code (OP) is defined type of the READ OP and WIRTE OP. On OP = 0, the read operation is selected. Otherwise, On OP = 1, the write operation is selected. In W5200 SPI mode, the Byte READ processing and the burst READ processing are provided. The Byte READ processing takes 4 instructions which is consist of the 16-bit Address, the 1-bit OP code(0x0), the 15-bit Data length and 8-bit Data. Otherwise, The Burst READ processing only takes the Data instruction after the setting of the burst read processing. To distinguish between the Byte READ and the burst READ processing, the Data length is used. If the Data length is ‘1,’ the Byte READ processing is operated. Otherwise, the Burst READ Processing is operated when the Data length is more than two. The MISO pin should be selected by driving MISO low after the falling edge of the CSn. Figure 21 READ Sequence /* Pseudo Code for Read data of 8bit per packet */ #define data_read_command 0x00 uint16 addr; // Address : 16bits int16 data_len; // Data length :15bits uint8 data_buf[]; // Array for data SpiSendData(); // Send data from MCU to W5200 SpiRecvData(); // Receive data from W5200 to MCU { ISR_DISABLE(); // Interrupt Service Routine disable |
|
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 |