piclist 2017\10\06\230528a >
Thread: 18F Serial Port
picon face BY : Anthony Nixon email (remove spam text)

Hi all,

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
one working.

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
have used.

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


movlw b'00010111'
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

seeking: panel surgery
<CADkYAvqz9HTbDcNUPsiaT1KovtJW7nXPDoLMYXzYs+ZZP3TYBg@mail.gmail.com> quoted-printable

See also: www.piclist.com/techref/microchip/ios.htm?key=serial
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) 18F Serial Port

month overview.

new search...