Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Orange Pi 4PRO spidev

Featured Replies

Hi. Tell me how to fix spidev?

work package on Orange Pi PC2
image.png

package not working on Orange Pi 4 Pro
image.png

both boards are connected to atmege168.
SpiMode:0, SpiSpeed:"200kHz"

I see that in the non-working version up to the package mosi=0 (in the working version mosi=1)

and clk starts 10 us after setting CS (in the working version it starts after 25us)

I don’t understand how to fix it?

I have a mega connected to spi x.0, and a st7789 screen to spi x.1

everything runs on Orange Pi Lite. I use Orange Pi PC2 to debug code

I bought an Orange Pi 4 Pro for debugging (faster cpu and more memory), the display started up right away, but it doesn’t work with mega.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.