PICcoder.co.uk Forum  


::post new topic::
Using RP for 2nd Uart
Date: 2009/02/28 17:26 By: IanJ Status: Visitor  
 
Hi all,

Having experience with various microcontrollers over the years, PIC's are completely new to me.

I'm looking at using an 18F26J11 from the 18F46J11 family, and what's new to me is remappable peripherals (RP).

So my question is this.......can I set up the 2nd serial port (EUSART) on *any* of the RP pins, or are there specific preferred pins to use.
Similarly for PWM outputs that I want to make use of.

I'm looking at using the 18F26J11 28pin DIP, and here's my I/O:-

1 MCLR PIC in-line programming
2 RA0 Dig.Out to Buzzer (active high)
3
4
5
6
7 VCAP Power supply system
8 VSS 0vdc
9 OSC1 Xtal
10 OSC2 Xtal
11 RC0 Dig.Out - Red LED
12 RC1 Dig.Out - Yellow LED
13 RC2 Dig.Out - Green LED
14 SCL1 I2C bus to LCD/Keypad
15 SDA1 I2C bus to LCD/Keypad
16
17
18 RX1 RS232 input (Ch.1 Rx)
19 VSS 0vdc
20 VDD 3.3vdc supply
21 RP3 Mapped to TX2, 2nd serial output (Ch.2 Tx)
22 RP4 Mapped to RX2, 2nd serial input (Ch.2 Rx)
23 RP5 Mapped to PWM1 output for servo 2
24 RP6 Mapped to PWM2 output for servo 2
25 RB4 Dig.In from Pcb switch S2
26 RB5 Dig.In from Pcb switch S1
27 PGC PIC in-line programming
28 PGD PIC in-line programming

Any help appreciated.

Ian.
reply | quote

::post new topic::