Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 5 detail

42 bytes added, 09:50, 24 April 2023
26pin's SPI test
[[Image:Pi-5-details2-pic48.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>