18F Serial Port
Anthony Nixon email (remove spam text)
I am using a 18 f47K40 for a project that uses the serial port on
RC6(Rx) and RC7(Rx) but cannot get the port to work.
I have many projects like this using 16F devices but I can't get this
I know the chip is functioning because of a led display working and as
far as I can tell the basic EUSART setup is the same as other chips I
I have not used the peripheral pin select before and may be that is the problem.
I am programming in assembler and all web examples are in C with
function calls that do not explain the pin setup process.
This is a snippet of the PPS code
movwf RX1PPS,BANKED ; PORTC<7> as the EUSART1 RX input,
movlw b'00001001' ; PORTC<6> as the EUSART1 TX output
Any help appreciated.
-- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
See also: www.piclist.com/techref/microchip/ios.htm?key=serial
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the