Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 3B

No change in size, 15:34, 22 August 2023
40pin SPI Test
::[[File:pi3b-img264-1.png]]
<ol start="12" style="list-style-type: decimal;">
<li><p>In the linux system, the SPI in the 40 pin is closed by default, and it needs to be opened manually before it can be used. The detailed steps are as follows:</p>
<ol style="list-style-type: lower-alpha;">
</li></ol>
<ol start="23" style="list-style-type: decimal;">
<li>First check whether there is a '''spidev3.0''' device node in the Linux system. If it exists, it means that the SPI3 has been set. You can use it directly</li>
|}
</ol>
<ol start="34" style="list-style-type: decimal;">
<li>Do not shorten the two pins of the SPI3 MOSI and MISO, and run the output result of the spidev_test as shown below. You can see that the data of TX and RX is inconsistent</li>
|}
</ol>
<ol start="45" style="list-style-type: decimal;">
<li>Then the two pins of the SPI3 MOSI (No. 19 pins in the 40pin interface) and MISO (No. 21 in the 40PIN interface) run the output of SPIDEV_TEST as follows.You can see that sending and receiving data is the same.</li>