View previous topic :: View next topic |
Author |
Message |
arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
Some doubts regarding PCM 3.169 USART Bug ?? |
Posted: Wed Jul 04, 2007 11:12 pm |
|
|
Hi,
MCU: 16F648A
PCM ver.: 3.169
I am aware that the PCM 3.169 compiler has a bug, when used with 16F648A, the USART functions like getc, putc etc. do not work, I have implemented the workaround for this (posted by PCM Programmer ina earlier post).
Now I am using RS 485 instead of RS 232, does the workaround need any changes (in RS 485 an enable pin is used, in my case it is pin_b5).
Kindly advise..
thanks
arunb |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
RE: |
Posted: Thu Jul 05, 2007 12:23 am |
|
|
Thanks for the tip...
Will the code work for RS 485 as well...
arunb |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
RE: |
Posted: Thu Jul 05, 2007 1:55 am |
|
|
Hi,
I just noticed a problem in the receive routine using interrupt (INT_RDA).
While sending a stream of characters from the PC the PIC does not receive them correctly... but if the stream is slowed down , then the PIC receives the data correctly, is there any way to speed up the receive process. In the built-in getc function I didi not have this problem....
thanks
arunb |
|
|
|