We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Onion SPI Python library : Transfer function ?



  • Hello,

    I try to communicate between the Omega2+ and a nrf24l01+ RF module, using the Onion SPI Python Module. I have succesfully configure the module and I can read all the registers, but my problem is to receive data.
    Indeed, I need to send one byte (0x61) and then use a transfer function to read the RX fifo like : data1 = spi.transfer(0x00), data2=spi.transfer(0x00) ... where 0x00 are dummy bytes.
    There is this function in C library but not in Python, so I can't collect the received data. My question is, is there a way to do this ?
    I tried with spi.write() / spi.writeBytes() of the Python library without succes, it return "None", and I don't see how I can do this with the spi.read()'s function because it's not a register with an address that I have to read.

    Thanks in advance !



Looks like your connection to Community was lost, please wait while we try to reconnect.