8,367
edits
Changes
Created page with "1) From the schematic diagram of the 26pin interface, the SPI available for Orange Pi 5 is spi4<br><br> Image:Pi-5-details2-pic55.png<br><br> 2) Here is the w25q64 module..."
1) From the schematic diagram of the 26pin interface, the SPI available for Orange Pi 5 is spi4<br><br>
[[Image:Pi-5-details2-pic55.png]]<br><br>
2) Here is the w25q64 module to test the SPI interface, and first access the w25q64 device at the SPI4 interface.<br><br>
[[Image:Pi-5-details2-pic56.png]]<br><br>
3) Then click the WiringOP icon to open the WiringOP APP<br><br>
[[Image:Pi-5-details2-pic57.png]]<br><br>
4) The main interface of the WiringOP APP shows as shown in the figure below, click the SPI_TEST button to open the SPI test interface<br><br>
[[Image:Pi-5-details2-pic58.png]]<br><br>
5) Then click the '''OPEN''' button to initialize SPI<br><br>
[[Image:Pi-5-details2-pic59.png]]<br><br>
6) Then fill in bytes that need to be sent, such as reading the ID information of W25Q64, fill in the address 0x9F in data [0], and then click the '''TRANSFER''' button<br><br>
[[Image:Pi-5-details2-pic60.png]]<br><br>
7) The last app will display the ID information read<br><br>
[[Image:Pi-5-details2-pic61.png]]<br><br>
8) The MANUFACTURER ID of the w25q64 module is EFh, the Device ID is 4017h, and the value read above is corresponding (H represents hexadecimal)<br><br>
[[Image:Pi-5-details2-pic62.png]]<br><br>
[[Image:Pi-5-details2-pic55.png]]<br><br>
2) Here is the w25q64 module to test the SPI interface, and first access the w25q64 device at the SPI4 interface.<br><br>
[[Image:Pi-5-details2-pic56.png]]<br><br>
3) Then click the WiringOP icon to open the WiringOP APP<br><br>
[[Image:Pi-5-details2-pic57.png]]<br><br>
4) The main interface of the WiringOP APP shows as shown in the figure below, click the SPI_TEST button to open the SPI test interface<br><br>
[[Image:Pi-5-details2-pic58.png]]<br><br>
5) Then click the '''OPEN''' button to initialize SPI<br><br>
[[Image:Pi-5-details2-pic59.png]]<br><br>
6) Then fill in bytes that need to be sent, such as reading the ID information of W25Q64, fill in the address 0x9F in data [0], and then click the '''TRANSFER''' button<br><br>
[[Image:Pi-5-details2-pic60.png]]<br><br>
7) The last app will display the ID information read<br><br>
[[Image:Pi-5-details2-pic61.png]]<br><br>
8) The MANUFACTURER ID of the w25q64 module is EFh, the Device ID is 4017h, and the value read above is corresponding (H represents hexadecimal)<br><br>
[[Image:Pi-5-details2-pic62.png]]<br><br>