Hi hi. I Discover that. Everytime I opened the project the output was changed to A0 ???
Thank´s
Jorgen
MFRC522 multible card/tag
Moderator: Benj
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: MFRC522 multible card/tag
Howdy,
Can someone do a teleportation from ATMEGA32 to PIC16F877A?
Thank you in advance!
Can someone do a teleportation from ATMEGA32 to PIC16F877A?
Thank you in advance!
-
- Valued Contributor
- Posts: 773
- Joined: Fri Jun 06, 2014 3:53 pm
- Has thanked: 185 times
- Been thanked: 204 times
- Contact:
Re: MFRC522 multible card/tag
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
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
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.
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.
-
- Valued Contributor
- Posts: 773
- Joined: Fri Jun 06, 2014 3:53 pm
- Has thanked: 185 times
- Been thanked: 204 times
- Contact:
Re: MFRC522 multible card/tag
Hello,
How should PIC16F877A be interfaced with the RC522 module? Below is the ported file from Atmega32 to PIC16F877A.
How should PIC16F877A be interfaced with the RC522 module? Below is the ported file from Atmega32 to PIC16F877A.
- Attachments
-
- Card_Test v2 877A.fcfx
- (22.22 KiB) Downloaded 9 times
-
- Valued Contributor
- Posts: 773
- Joined: Fri Jun 06, 2014 3:53 pm
- Has thanked: 185 times
- Been thanked: 204 times
- Contact:
Re: MFRC522 multible card/tag
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
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
Hello,
I did the porting to the PIC16F877A, now I'm trying to do my homework and understand the flowchart.
I did the porting to the PIC16F877A, now I'm trying to do my homework and understand the flowchart.
- Attachments
-
- Card_Test v3 5Card Working 877A.fcfx
- (26.88 KiB) Downloaded 9 times
-
- Valued Contributor
- Posts: 773
- Joined: Fri Jun 06, 2014 3:53 pm
- Has thanked: 185 times
- Been thanked: 204 times
- Contact: