I'm using the SPI library SPI-Py with MFRC522 RFID Library. I'm getting this error when I run REad.py. This issue is related to the SPI-Py library
can't send spi message: Invalid argument
I have enabled SPI using /boot/config.txt
dtparam=spi=on
here is my /dev/spi*
pi@bpi-iot-ros-ai:~ $ ls /dev/spidev*
/dev/spidev0.0
here is my lsmod output
pi@bpi-iot-ros-ai:~ $ lsmod
Module Size Used by
option 25650 0
usb_wwan 12492 1 option
usbserial 37170 2 option,usb_wwan
spidev 6366 0
I have made the following connections
3.3v connects to Pin 01
MOSI connects to Pin 19
MISO connects to Pin 21
SCK connects to Pin 23
GND connects to Pin 06
SDA connects to Pin 24
RST connects to Pin 16
Could someone tell me why I'm getting this error??