pratik2703
Posts: 21
Joined: Sun Jul 04, 2021 6:05 am

spi.bits_per_word = 16 , gives error Using spidev

Tue Jul 27, 2021 7:46 am

i want 16 clock continuously but when i check in logic analyzer only 8 clock in my RPI
how to set 16 clock in my RPI
how to transfer 16 bit using RPI
(two 8 bit split process is not possible in my case)
Last edited by pratik2703 on Tue Jul 27, 2021 9:37 am, edited 1 time in total.

User avatar
joan
Posts: 15697
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: spi.bits_per_word = 16 , gives error

Tue Jul 27, 2021 8:49 am

Use pigpio and the auxiliary SPI device.

http://abyz.me.uk/rpi/pigpio/cif.html#spiOpen

pratik2703
Posts: 21
Joined: Sun Jul 04, 2021 6:05 am

Re: spi.bits_per_word = 16 , gives error

Tue Jul 27, 2021 9:36 am

joan wrote:
Tue Jul 27, 2021 8:49 am
Use pigpio and the auxiliary SPI device.

http://abyz.me.uk/rpi/pigpio/cif.html#spiOpen
PIGPIO WORK IN PYTHON ?

Return to “Interfacing (DSI, CSI, I2C, etc.)”