Hi Hans,
It was the 74HC151.
About PPS. I know you often use older PICs and they do not always have the PPS functionality.
Which PIC do you want to use?
BTW. The issue with PPS is - at least that is what I noticed - that even if you use pins at their default location you still need to apply the PPS. I would have expected that you only neede PPS if you want te reassign pins to other locations than the default
location but apparently for default it is also needed.
For example in the project I just posted I am using IIC on the standard pins of the PIC16F1765 and still I need to do the PPS, like this.
; Set IIC default pins.
include pps
pps_control_lock(FALSE)
RC0PPS = PPS_SCK ; IIC SDL to C0 (default).
RC1PPS = PPS_SDA ; IIC SDA to C1 (default).
pps_control_lock(TRUE)
So if you want to use PPS and change the input pin assignments for your UART you have to repeat the above steps. Also note that not all ports can be used for PPS, that is also mentioned in the data sheet of the PIC that you want to use.
Kind regards,
Rob