View previous topic :: View next topic |
Author |
Message |
mpfj
Joined: 09 Sep 2003 Posts: 95 Location: UK
|
Perphieral Pin Select support |
Posted: Wed Mar 11, 2009 4:44 am |
|
|
Several of the newer devices have the new PPS registers.
By the looks of things, there's no support for these new registers at the moment, so can anyone help me in working out how to specify the #use rs232 line for UART2 on any of the peripheral pins ?
I'm guessing that if I specify non-hardware pins, the compiler will use a software uart, rather than the hardware one ?
Thanks
Mark |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Wed Mar 11, 2009 8:03 am |
|
|
They are basically supported by the #PIN_SELECT preprocessor command with PCD. |
|
|
mpfj
Joined: 09 Sep 2003 Posts: 95 Location: UK
|
|
Posted: Wed Mar 11, 2009 8:10 am |
|
|
Ah ... I should have stated that I'm using a PIC18F46J11, which isn't covered by PCD.
I'm currently using 4v087. |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Wed Mar 11, 2009 9:16 am |
|
|
Quote: | I should have stated that I'm using a PIC18F46J11 | Yes.
I'm not aware of specific support for these devices in PCH. But you can configure PPS through special function registers. I previously did with PIC24, because some PPS functions didn't work correctly in PCD. |
|
|
mpfj
Joined: 09 Sep 2003 Posts: 95 Location: UK
|
|
Posted: Wed Mar 11, 2009 9:26 am |
|
|
Just got a reply from CCS themselves.
PPS will be supported in 4v088. |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Wed Mar 11, 2009 9:47 am |
|
|
Also UART2 interrupts are missing in V4.087. |
|
|
|