Originally Posted by mister_e
The good ol' F88.
I want to write the code on the 2550, but it wont fit in my programmer and I have not yet made a header, or the pcb for my project, if I had, I could have used ISP on the 2550.....
So I just grabbed a F88 off my serial relay project and erased it, started on that one.
I cant see why if the Pic running at 5v can drain enough current through port A to make the PC serial port see data, why it cant make a max 232 see data when its pumping 5v into a 5v input..............
Other odd thing is all my port a's and port b's have 1k resistors and leds on, that way I can 'see' when data is being thrown out, on port B the led is brighter than on port A.......
Setting the port pins high with the 'high portx.y' cause the leds to be the same brightness, on either port a or b.
If there the same brightness, it cant be the pic's port is not sourcing as much current, they the same, but with a serout command they are not the same brightness, so whats going on!
either its a pic chip thing, or a compiler thing setting something different, or not setting something 'extra' that port A needs to source as much current in serout mode as port B does.
I would like to know whats going on, as both should work and only one is, but I'm not letting it slow me down I can live with only using port B for now while I test the code snippets, and I was using port B on the final board design anyway, was just annoyed at losing nearly a day to find a solution thats a problem caused by an 'undocumented feature'
Now I need to find a way to store 150 bytes of 9600 baud incoming data and pics have no strings IIRC
Its no doubt in a manual somewhere.................
Bookmarks