I am working on a project, and I was trying to get the Pi 4 working with an RFM69HCW module. I tried using spidev for this, and read the spidev documentation. I followed the steps but I keep getting this error for my scrip with spidev imported: enter image description here

I am working on a Pi 4 with Python 3 and an Adafruit RFM69HCW radio module. Can someone let me know where I am going wrong?

Thanks, T

  • 2
    The Pi appears to be irrelevant to the question which makes it off topic.
    – joan
    Jun 20, 2022 at 19:41
  • @Thira: Please confirm if you are reading the same documents as mine: (1) RFM69HCW ISM Transceiver Module v1.1 Datasheet - HopeRF cdn.sparkfun.com/datasheets/Wireless/General/RFM69HCW-V1.1.pdf (2) Descriptions of RF Transceiver Module RFM69HCW - HopeRF hoperf.com/modules/rf_transceiver/RFM69HCW.html
    – tlfong01
    Jun 21, 2022 at 3:00
  • Please give us a schematic and/or a photo showing the wiring between Rpi4B and RFM69HCW. Ref: RFM69HCW block diagram: imgur.com/gallery/y8taUEr.
    – tlfong01
    Jun 21, 2022 at 3:15
  • Are you using a bare chip or a real/fake AliExpress/TaoBao AdaFruit 433MHz 3071 module? Ref: 3071 RFM69HCW TRANSCEIVER RADIO BREAK - ¥77 item.taobao.com/…
    – tlfong01
    Jun 21, 2022 at 3:23
  • More to confirm: Are you using AdaFruit M0 Circuit Python or Rpi4B Thonny Python, Wire or SMT uFL Connector, RadioHead Packet Radio Library?
    – tlfong01
    Jun 21, 2022 at 3:39


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.