I am trying to communicate with NRF52832 on MRFC522 vscode. My Write and Read functions are not working

Below I have my read and write functions. Are my SPI configuration settings correct? I want to read the RFID card ID value.

Parents
  • Hello,

    I don't have the SPI device that you are trying to interface (MRFC522), but have you tried to analyze the SPI pins using a logic analyzer? Do you see any data on the lines? And does the MRFC522 send any data back on the MISO line?

    Best regards,

    Edvin

Reply
  • Hello,

    I don't have the SPI device that you are trying to interface (MRFC522), but have you tried to analyze the SPI pins using a logic analyzer? Do you see any data on the lines? And does the MRFC522 send any data back on the MISO line?

    Best regards,

    Edvin

Children
No Data