PDA

View Full Version : Recommend PPS for 16F1578



markedwards
- 26th October 2022, 22:48
I don't use MPLAB and haven't had any luck getting the MPLAB MCC tool to operate.
I need the configuration for TX out on PIC16F1578 RB7. I thought it would default to RB7 but appears on RB3.
Maybe there is another way than using the MPLAB MCC?

I'm guessing RB7PPS= ???

Thanks

richard
- 27th October 2022, 00:24
I'm guessing RB7PPS= ???



RB7PPS=9 ;according to mcc

mpgmike
- 27th October 2022, 00:26
Referencing Table 12.2 on page 141 of the data sheet, and Register 12-2 on page 139 of the data sheet:


RB7PPS = $09

markedwards
- 27th October 2022, 02:19
A great big Thank You for the clarification.
I looked at the RxyPPS in 12-2 and didn't see xy = B7 and so RB7PPS.
I was looking at 12-3 and didn't know how Bit0 thru Bit3 was determined.