Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 5 detail

60 bytes added, 09:50, 24 April 2023
26pin's SPI test
== '''How to use Win32Diskimager to burn Linux image ''' ==
1) First prepare a TF card with a capacity of 16GB or more. The transmission speed of the TF card must be class 10 or above. It is recommended to use a TF card of SanDiskand other brands<br><br>
2) Then use the card reader to insert the TF card into the computer<br><br>
c. After the image writing is completed, click the "Exit" button to exit, and then you can pull out the TF card and insert it into the development board to start<br><br>
== '''Linux system instructions ''' ==
=== Supported Linux image types and kernel versions ===
{| class="wikitable" style="width:800px;"
3) There are a total of 17 GPIO ports in the 26pin interface, and the voltage of all GPIO ports is '''<span style="color:#FF0000">3.3v</span>'''<br><br>
== '''Instructions for the use of the android 12 system ''' ==
=== How to use the use of wireless network card ===
1) At present, the USB wireless network card model that is adapted to the image is shown below:<br>
=== 26pin's PWM test ===
1) Android only opened '''PWM15''' by default. The corresponding pins are at the position of 26Pin.<br><br>
[[Image:Pi-5-details2-pic56pic48.png]]<br><br>
2) First click theWiringOP icon to open the Wiringop App<br><br>
[[Image:Pi-5-details2-pic57pic49.png]]<br><br>
3) Then click the '''PWM_TEST''' button to enter the PWM test interface at the main interface of WiringOP<br><br>
[[Image:Pi-5-details2-pic58pic50.png]]<br><br>
4) The corresponding address corresponding to the PWM15 is '''febf0030'''. The right side of PWMCHIP0 is exactly the '''febf0030.pwm'''. If the displayed base address is wrong, please click the drop -down option to select other PWMCHIP until the '''febf0030''' is displayed on the right.<br><br>
[[Image:Pi-5-details2-pic59pic51.png]]<br><br>
5) Then confirm the PWM cycle. The default configuration is '''50000ns''', and the PWM frequency is '''20KHz'''. You can modify it by yourself.Click on the button to export '''PWM15'''<br><br>
[[Image:Pi-5-details2-pic60pic52.png]]<br><br>
6) Then drag the drag below to change the PWM duty ratio, and then check the enable to output PWM<br><br>
[[Image:Pi-5-details2-pic61pic53.png]]<br><br>[[Image:Pi-5-details2-pic54.png]]<br><br>
=== 26pin's SPI test ===
1) From the schematic diagram of the 26pin interface, the SPI available for Orange Pi 5 is spi4<br><br>
[[Image:Pi-5-details2-pic48pic55.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-pic49pic56.png]]<br><br>
3) Then click the WiringOP icon to open the WiringOP APP<br><br>
[[Image:Pi-5-details2-pic50pic57.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-pic51pic58.png]]<br><br>
5) Then click the '''OPEN''' button to initialize SPI<br><br>
[[Image:Pi-5-details2-pic52pic59.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-pic53pic60.png]]<br><br>
7) The last app will display the ID information read<br><br>
[[Image:Pi-5-details2-pic54pic61.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-pic55pic62.png]]<br><br>