Open main menu

Wiki-Orange Pi β

Changes

Orange Pi Zero 3

89 bytes added, 10:51, 12 July 2023
26pin SPI test method
<li><p>The SPI that can be used in 26pin is SPI1, and the corresponding device node is '''/dev/spidev1.1'''</p>
<p>[[File:media/image360.png|576x133px]]</p></li>
<li><p>Here is a demonstration to test the SPI1 interface through the '''w25q64''' module, first connect the w25q64 module to the SPI1 interface</p></li></ol> '''It doesn’t matter if there is no w25q64 module, because there is a SPIFlash connected to SPI0 on the development board, and the configuration of SPI0 is also enabled by default in Android, so we can also directly use the onboard SPIFlash test.'''
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<big>'''It doesn’t matter if there is no w25q64 module, because there is a SPIFlash connected to SPI0 on the development board, and the configuration of SPI0 is also enabled by default in Android, so we can also directly use the onboard SPIFlash test.'''</big>
|}
</li></ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>Then open the wiringOP APP on the desktop</p></li>
</div></li>
<li><p>Then click the '''OPEN''' button to initialize the SPI</p></li></ol>
[[File:media/image376.png|295x168px]]
</ol>
<ol start="7" style="list-style-type: decimal;">
<li><p>Then fill in the bytes that need to be sent, such as reading the ID information of the onboard SPIFlash, fill in the address 0x9f in data[0], and then click the '''TRANSFER''' button</p>
<p>[[File:media/image377.png|294x169px]]</p></li>
<li><p>Finally, the APP will display the read ID information of the onboard SPI Flash</p></li></ol>
[[File:media/image378.png|299x217px]]
</ol>
<ol start="9" style="list-style-type: decimal;">
<li><p>If it is to read the w25q64 module connected to 26pin SPI1, then the read ID information is shown in the figure below</p>
<span id="pin-i2c-test-method"></span>
 
=== 26pin I2C test method ===