as far as I understand 4MHz is not enough for the 9600 baud. Page 135 in the PBP manual. Second to last paragraph.
as far as I understand 4MHz is not enough for the 9600 baud. Page 135 in the PBP manual. Second to last paragraph.
well i m using a vb application to send the byte and it is sent as hexadecimal
well i ll look for the 4 MHZ oscillator for such a high bauderate.
hey guys about the 4MHZ not enough for the 9600 baude rate r u sure about it
?
i mean is there anything wrong with the pbp code i attached above?
I am learning about this too. I have some problems my self in a different area, but as stated in the manual:
" An oscillator speed faster than 4MHz may be required for reliable operation at 9600 baud and above."
That is only why I said something about it. I remember seeing it and thought that it could help with suggestions. Good Luck.
i can't safely said it will not work @4MHZ, but by the warnings...
Why not using DEBUG instead as suggested before WICH WILL FOR SURE provide a faster baudrate even @4MHZ
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
TRISA=255
TRISB=0
DEFINE DEBUGIN_REG PORTA ' Serial data come in
DEFINE DEBUGIN_BIT 0 ' PORTA.0
DEFINE DEBUGIN_MODE 0 ' true driven mode
DEFINE DEBUG_BAUD 9600 ' 9600 BAUD
DataIn var byte
START:
DEBUGIN DataIn
PORTB=DaraIn
goto start
does this code for 16F84 plays the role of a serial to parallel converter?
Bookmarks