iButton is up and running on the PIC after much head bashing.
Lessons:
1. Make extra sure to check your banksel
2. Reset flags as late as possible. I reset a flag...then reset some timing registers which automatically set the flag!
3. The PIC executes an instruction in the 600-1000 ns range. Plan accordingly
4. The iButton is very time sensitive, especially in its 5 us pause time.
David out
Thursday, May 8, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment