jhofman Posted January 22, 2021 Share Posted January 22, 2021 Armbianmonitor: http://ix.io/2MUh 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 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted January 22, 2021 Share Posted January 22, 2021 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 0 Quote Link to comment Share on other sites More sharing options...
jhofman Posted January 23, 2021 Author Share Posted January 23, 2021 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 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.