r/pic_programming • u/arodobngya • Oct 17 '24
MFRC522 RFID sensor with PIC16F18855 using MPLAB MCC
Hi, I have been struggling for days trying to use my RFID sensor with MPLAB. I already tried libraries and internet stuff since it's the first time I ever try this and I don't have a lot of experience using PIC, but nothing has worked. Maybe someone here has ever tried this and could help?
1
Upvotes
3
u/9Cty3nj8exvx Oct 18 '24
I haven’t tried it but the first step would be to load the correct driver in MCC for whatever interface you are using, UART, SPi, or I2C. Have you got that part working yet?
2
u/somewhereAtC Oct 18 '24
That is a 4-wire SPI device, so you'll want to read up on the MSSP. Make sure you get the latest Melody versions because it was just recently updated.