1 of 1 people found this helpful
Thanks! Your sugestion works
But, still I didn't get correct value of Slave data, always I got 0x000000FF or dummy byte sent to receive data from salve.
One more thing I surprised is that, if I connect SalveSel pin and map it appropriately, then I didn't receive any byte on MISO, but If I select Slave Device = 0, then only this works.
FYI: I've connected RC522 (RFID Reader) via SPI, as I move RFID tag close to reader, I either receive 0x000000FF or dummy byte I sent!
I used UART to display byte I received from slave.
Please share the project and the pin connection details so that we can reproduce the issue that you are facing.
Also can you please explain this statement 'If I select Slave Device = 0, then only this works'.
Thanks and Regards,
Rakshith M B
If I configure Slave Device = 00, then only I get the response byte (of course false byte!).
If I configure Slave Select pin = 1 and then map it to the appropriate line, then nothing I received as a response byte.
But, I need to study the query-response cycle of RC522 that I need to interface with PSoC 4.
Let me give some time, I'll further update you if I shall face the issue again.
Thanks for the support!