RFID and the SX
I am attempting to get an RFID reader module to work properly and am afraid I cannot do it. My code is heavily based on the RFID_Security sample code on the web site here: http://www.parallax.com/dl/src/prod/RFID_Security.SXB and it will only work in debug mode. I dont have to watch any variables or anything, just be in debug mode. Using the original code with pin numbers changed to fit my application results in the same thing. I do not have an LCD so I just made that an unused pin when using the original code. The enable pin is RC.0 and the SOUT pin of the RFID module is RC.1. From watching the light on the RFID reader it appears the SX chip isnt getting the right data stream from the module and deciding the card is bad after the first few bytes. Any help would greatly be appreciated.
Thanks
Jared
Post Edited (Jared Woolston) : 7/16/2007 7:26:23 PM GMT
Thanks
Jared
Post Edited (Jared Woolston) : 7/16/2007 7:26:23 PM GMT
Comments
- Sparks
I hope this helps.
- Sparks
It sounds like it tried to adjust the fuses and got stuck unexpectedly. It might be worth another attempt but it would really only serve as a Band-Aid solution.
- Sparks
Just wanted to let you know I plugged in a 50MHz resonator i had lying around and retimed the program and it worked immediately. thanks for the help, its been a while since ive used the sx and i completely forgot about the unreliability of the internal oscillator.
Jared
Thanks for the update.
- Sparks