Hi Filip, As Kiste said some PICs require to always set PPS even for default pin assignments.
An example is given below - for a PIC16F1976 - that shows that works if you use the JAL PPS library (no need for Great Cow Basic 😉). Of course the names depend on the PIC, you can find them in the device file of your specific PIC. -- Re-assign the pins. Note: This must always be done to let it work even for -- the default assignment. include PPS pps_control_lock(FALSE) RC6PPS = PPS_TX1 -- TX1 re-assigned to C6 (default) RX1PPS = PPS_RC7 -- C7 re-assigned to RX1 (default) RD3PPS = PPS_TX2 -- TX2 re-assigned to D3 RX2PPS = PPS_RD2 -- D2 re-assigned to RX2 pps_control_lock(TRUE) Hope this helps. Kind regards, Rob ________________________________ Van: 'Evan Venn' via jallib <[email protected]> Verzonden: donderdag 24 maart 2022 11:13 Aan: [email protected] <[email protected]> Onderwerp: Re: [jallib] Help with PIC16F18313 Setup the PPS using PPSTOOL? PPSTOOL is part of Great Cow BASIC but the tool can be used for any compiler. Just select the capability and select the port - it gens the PPS output for you. On Wed, 23 Mar 2022, 19:09 [email protected]<mailto:[email protected]>, <[email protected]<mailto:[email protected]>> wrote: Hi all, I need help configuring the TX pin of this MCU; F18313. Can anyone help about this? This pin is not a "stand-alone" function pin. Only RX is available and ready to use. Am using an FTDI cable for RS232-5V. Tried to use serial_hardware lib with no luck. Is it more suitable to use serial_software lib instead? Thank you very much. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/e05c27d8-a032-4678-9ba8-41f84f5ae08dn%40googlegroups.com<https://groups.google.com/d/msgid/jallib/e05c27d8-a032-4678-9ba8-41f84f5ae08dn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/CADfhC%2BKQHyE1%2B5ub-DZWW72z1K9JiUZga0Y6RGVi9coB0Tgd%2BA%40mail.gmail.com<https://groups.google.com/d/msgid/jallib/CADfhC%2BKQHyE1%2B5ub-DZWW72z1K9JiUZga0Y6RGVi9coB0Tgd%2BA%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/DB6P195MB018344F3DF7E561A17B3EDECE6199%40DB6P195MB0183.EURP195.PROD.OUTLOOK.COM.
