Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SPI lost last bit ON Pi PC and PC2

Featured Replies

Hello, 

I try to communicate via SPI, if i try receive data over SPI on MISO pin I got message without last bit so I should receive 0x23 and i got 0x22. 

SPI is set on MODE 3. It has same behaviour on PI PC and PC2. If i try on RPi it works fine. Do you have anybody some advice ?

Regards

Jan

Information for you and somebody who might be able to help you. The system packages are outdated.

 

ii  armbian-config                        20.05.2                              all          Armbian configuration utility
ii  armbian-firmware                      20.05.2                              all          Linux firmware
ii  armbian-focal-desktop                 20.11.1                              all          Armbian desktop for Ubuntu focal
ii  hostapd                               3:2.9-102~armbian20.05.2+1           armhf        IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
ii  htop                                  2.2.0-3~armbian19.11.9+1             armhf        interactive processes viewer
ii  linux-base                            4.5ubuntu3                           all          Linux image base package
ii  linux-dtb-current-sunxi               20.05.2                              armhf        Linux DTB, version 5.4.43-sunxi
ii  linux-focal-root-current-orangepipc   20.05.2                              armhf        Armbian tweaks for focal on orangepipc (current branch)
ii  linux-image-current-sunxi             20.05.2                              armhf        Linux kernel, version 5.4.43-sunxi
ii  linux-libc-dev:armhf                  5.4.0-33.37                          armhf        Linux Kernel Headers for development
ii  linux-u-boot-orangepipc-current       20.05.2                              armhf        Uboot loader 2020.04

 

  • Author

I ofc try it on the newest armbian, no change.

I check on logical analyzator and on osciloscope, edges and values were right.

Is it possible, that SPI decode bad on mode 3?

I am using  spi dev on ioctl, decrease the speed doesnt help. 

Regards

Jan

Guest
This topic is now closed to further replies.

Account

Navigation

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.