You guys are right as usual. It had define OSC 64 for historical reasons.
Here's the story: This is the guts for a lung ventilator.
I designed all the boards, and do firmware everywhere else, but another programmer does this one board.
It originally had 18F13K22 with 16Meg PLL to 64, worked great. The other programmer insisted he had to have another UART for debug because he doesn't like to bitbash (even for debug?), and picked this chip as a replacement. I now need to change the simple routine that tests the hardware.
It doesn't run at 64M, max 32, but no one bothers to tell me, and it still has a 16M oscillator![]()
Bookmarks