Ttelmah Guest
|
|
Posted: Tue Nov 11, 2008 8:53 am |
|
|
There is a bigger problem than this....
The PIC, doesn't really support parity at all. The only support is via software, generating the extra bit if needed.
This is why it is not configurable 'on the fly', since code has to be added to provide the support. Some layouts are basically impossible (so for example, - 7bit, no parity, one stop, which the hardware cannot generate).
You can give yourself an even/odd parity software selectable, by either declaring two streams,and selecting the required one, which then results in both sets of code being generated, or simply selecting 9bits, no parity, and generating the parity bit yourself.
Best Wishes |
|