Hello, all,
I also have a problem with the spi function read() of the orangepi_PC_gpio_pyH3-master library.
I use the image Armbian_5.30_Nanopim1_Ubuntu_xenial_default_3.4.113_desktop.7z
with Nanopi M1.
GPIO works perfectly, but SPI works just function write(). function read() causes the stack smashing error.
And the function xfer() causes a segmentation fault.
I have a clean system with just installed image and pyH3 library.
These problems are with both Python 3 and 2. I tested this with OrangePi PC with the same result.
I2C functions also do not work (segmentation fault)
What do i do wrong ?
I would be grateful for help.