hardware-interfaces/spi/ #190
Replies: 1 comment 1 reply
-
Hi, I am using python and spidev according to this manual. My hardware requires SPI mode 3 (CPOL = 1, CPHA = 1) but when I set to spi.mode = 3 and I send bytes using xfer3 like spi.xfer3([0xFF,0xFF,0xFF,0xFF,0xFF,0xFF],0) I get the following error: The above exception was the direct cause of the following exception: Traceback (most recent call last): When I look into the log: I see that spi mode 3 is not supported. If I set mode to 0 then for instance a simple read operation works only for the first time Please explain me how to enable mode 3 or how to use Onion with device that requires SPI mode 3. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
hardware-interfaces/spi/
Introduction
https://documentation.onioniot.com/hardware-interfaces/spi/
Beta Was this translation helpful? Give feedback.
All reactions