Hi all,
maybe i'm wrong with this but... If you don't want to use these pain in the a... UV PIC, you can use an external USB controller like USBN9603-28M or USBN9604-28M from National Semiconductor with your favorite FLASH PIC.
regards
Hi all,
maybe i'm wrong with this but... If you don't want to use these pain in the a... UV PIC, you can use an external USB controller like USBN9603-28M or USBN9604-28M from National Semiconductor with your favorite FLASH PIC.
regards
I've found this schematic that helped with the wire-up between an 18F2550 and a USBN9604.
<a href="http://www.massmind.org/images/www/hobby_elec/e_pic6_f1.htm">http://www.massmind.org/images/www/hobby_elec/e_pic6_f1.htm</a>
The way all is hooked up, I had assumed that communication would be via SPI, but now do not think so. I have read the USBN9604 data sheet (a couple times) and it appears that I need to send commands in order to receive data via microwire... versus just wait for SSPBUF to fill.
Does anybody have sample code for a PIC and USBN9604? Any language will be fine, but PBP would be even nicer.
Or, even a pointer as to what to use. Such as, would SPI work fine? Or, should I do a byte level shiftin and shiftout, with commands on the first two bits as described in the microwire section of the USBN9604 data sheet?
Any help is appreciated. The finalized USB key logger code with schematic will be posted back into this forum.
Bookmarks