Page 2 of 2

Re: MFRC522 multible card/tag

Posted: Fri Apr 10, 2020 9:57 pm
by jgu1
Hi hi. I Discover that. Everytime I opened the project the output was changed to A0 ???

Thank“s :D

Jorgen

Re: MFRC522 multible card/tag

Posted: Sat Jun 22, 2024 2:16 pm
by samtin
Howdy,
Can someone do a teleportation from ATMEGA32 to PIC16F877A?
Thank you in advance!

Re: MFRC522 multible card/tag

Posted: Sun Jun 23, 2024 6:23 am
by chipfryer27
Hi

Have you tried to convert it yourself?

Flowcode is chip independent so it is usually quite easy to port from one device to another, assuming the new target is capable (RAM/ROM/Ports/Peripherals/Speed etc).

If you go to Build and select the 877A as your new target you may get warnings about port pins. For example if the original file had Port F pin 2 and the new target doesn't, then you will get a warning. Simply select a new port and pin for each warning. If using a peripheral such as a UART then obviously that needs to be set specifically for your new chip.

The above sounds harder than it is and it shouldn't take long to do (assuming the 877A is capable).

Hope this helps.

Regards

Re: MFRC522 multible card/tag

Posted: Sun Jun 23, 2024 11:07 am
by samtin
Hello,
Thank you very much for your answer. I tried, I also made the connections to the PIC16F877A but it doesn't work. I was very careful with porting and as you mentioned I only changed the processor. It is possible that I am wrong somewhere, but I don't know where.

Re: MFRC522 multible card/tag

Posted: Sun Jun 23, 2024 1:20 pm
by chipfryer27
Hi

If you post your chart we can have a look.

Regards

Re: MFRC522 multible card/tag

Posted: Mon Jun 24, 2024 11:45 am
by samtin
Hello,
How should PIC16F877A be interfaced with the RC522 module? Below is the ported file from Atmega32 to PIC16F877A.

Re: MFRC522 multible card/tag

Posted: Mon Jun 24, 2024 2:33 pm
by chipfryer27
Hi

If you download the file Jorgen kindly shared in a previous post

https://www.matrixtsl.com/mmforums/view ... 54#p100454

and then change the target to your 877A you will be well on the way. You will need to reassign a couple of pins (but not many). I've no access to hardware at present so can't actually test anything but if you forward your chart once changed to 877A we can help.

Regards

Re: MFRC522 multible card/tag

Posted: Mon Jun 24, 2024 4:08 pm
by samtin
Hello,
I did the porting to the PIC16F877A, now I'm trying to do my homework and understand the flowchart.

Re: MFRC522 multible card/tag

Posted: Tue Jun 25, 2024 9:56 am
by chipfryer27
Hi

Not been able to have a look yet, but hope to tonight.

Regards