It is about the same price as the PIC12f675, give or take 10 cents.
http://www.microchipdirect.com/Produ...rds=pic12f1822
It is about the same price as the PIC12f675, give or take 10 cents.
http://www.microchipdirect.com/Produ...rds=pic12f1822
Got some 12F615 chips today, and when I remembered to configure the internal oscillator for 8MHz it produced nice 19200 baud using SEROUT2:
serout2 tx,32,1,[69,10,13] ' test serial output
Thanks all!
"Do or do not, there is no try" Yoda
I had a project 2 winters ago with the 12F675 sending commands to an HF transceiver at 19200 with the chips internal oscillator.
I ended up bit-banging the output.
I wouldn't have attempted this if it hadn't been for the fact that the commands were easy to derive.
Basically, commands included: Select next Frequency band UP, Select next Frequency band DOWN, shut off transmit power, turn ON transmit power, scan up frequency, scan down frequency.
The challenge was the commands were 32bit segments.
I used the OSCAL command and a digi-oscope to get the bit-widths correct for that baud rate.
I may have the code stashed away in notes somewhere, but not sure since that was so long ago.
Anyway, just to give a report that the chip can output serial at that speed.
But at that time, I was using PICBASIC (not the picbasic-pro) compiler.
Good luck! and have fun![]()
Bookmarks