alternative Tx Rx PIC18F45J50
alternative Tx Rx PIC18F45J50
How to use alternative Tx and Rx in the source to PIC18F45J50 ???
- petar.timotijevic
- mikroElektronika team
- Posts: 1739
- Joined: 19 Feb 2014 13:46
- Location: Serbia
- Contact:
Re: alternative Tx Rx PIC18F45J50
Hi oswagar and welcome to the MikroE forum,
When you select PIC18F45J50 in compiler you can use Peripheral Pin Select Library.
Peripheral Pin Select Library
http://www.mikroe.com/download/eng/docu ... &width=970
Peripheral Pin Select Library allows remapping of peripherals on the following MCU's: 18F2xJ11, 18F4xJ11, 18F2xJ50 and 18F4xJ50.
A key difference between pin select and non-pin select peripherals is that pin select peripherals are not associated with a default I/O pin.
The peripheral must always be assigned to a specific I/O pin before it can be used. In contrast, non pin selectable peripherals are always available on a default pin, assuming that the peripheral is active and not conflicting with another peripheral.
Please see Page 7 in MCU datasheet:
http://ww1.microchip.com/downloads/en/D ... 39931d.pdf
Some input and output functions are routed through the Peripheral Pin Select (PPS) module and can be dynamically assigned to any of the RPn pins. For a list of the input and output functions, see Table 10-13 and Table 10-14, respectively. For details on configuring the PPS module, see Section 10.7 “Peripheral Pin Select (PPS)”.
Best regards,
Peter
This should be posted in MikroC Pro fo PIC group of topic not in MikroC Pro for FT90x.oswagar wrote:How to use alternative Tx and Rx in the source to PIC18F45J50 ???
When you select PIC18F45J50 in compiler you can use Peripheral Pin Select Library.
Peripheral Pin Select Library
http://www.mikroe.com/download/eng/docu ... &width=970
Peripheral Pin Select Library allows remapping of peripherals on the following MCU's: 18F2xJ11, 18F4xJ11, 18F2xJ50 and 18F4xJ50.
A key difference between pin select and non-pin select peripherals is that pin select peripherals are not associated with a default I/O pin.
The peripheral must always be assigned to a specific I/O pin before it can be used. In contrast, non pin selectable peripherals are always available on a default pin, assuming that the peripheral is active and not conflicting with another peripheral.
Please see Page 7 in MCU datasheet:
http://ww1.microchip.com/downloads/en/D ... 39931d.pdf
Some input and output functions are routed through the Peripheral Pin Select (PPS) module and can be dynamically assigned to any of the RPn pins. For a list of the input and output functions, see Table 10-13 and Table 10-14, respectively. For details on configuring the PPS module, see Section 10.7 “Peripheral Pin Select (PPS)”.
Best regards,
Peter