2018-04-10 03:25 AM
Hi,
I'm building an UHF RFID reader using ST25RU3993 and I have a problem reading the registers. The idea is to connect the IC to NodeMCU or Arduino (both are programmed using Arduino IDE at this stage).
I connected MISO to MISO and MOSI to MOSI (I�m assuming there is an error in the datasheet Figure 3 p.15)
After enabling the IC (EN = 1) and waiting 1 second I try to read registers, but the IC does not respond to my SPI messages. I can see NCS, CLK and MOSI signals on the oscilloscope, but the MISO is always LOW. My code reads registers 0x00 to 0x24. The SPI was set to MODE1 (NodeMCU outputs data on rising edge and captures it on Falling edge as instructed in the datasheet p.15).
I tried different frequencies: 1kbps, 100kbps, 1Mbps, 2Mbps and 5Mbps.
According to the datasheet the IC should be in NORMAL mode and therefore the SPI communication should be possible after enabling the device.
I also see voltages at some of the pins (voltage regulators) so the device is powered up and is working. At least some parts of it. I have been assembling the board at home so there is a possibility that I fried it. I don�t want to buy a new chip before I�m sure this one is damaged.
Is there anything that I�m doing wrong? Did I forget about some procedure?
Please help!
#uhf-rfid-reader-st25ru3993 #registersSolved! Go to Solution.
2018-04-11 09:21 AM
Problem solved. It was a silly hardware error.
Arduino ProMini 3V reads the registers.
2018-04-10 03:41 AM
I forgot to mention that I send MSB first.
2018-04-11 09:21 AM
Problem solved. It was a silly hardware error.
Arduino ProMini 3V reads the registers.
2018-05-07 09:32 AM
Hi,
I'm doing the same over here. I had faced several problems in the beginning, I had to port several parts of the code, but now I'm able to initialize the ST25RU3993 using NodeMCU at ArduinoIDE.
I hope to get the inventory round working soon.