Menu

Can the MCLR pin be used as SDI

Help
2021-05-13
2021-05-14
  • David Stephenson

    For use in SPI communication. The datasheet is a little vague (though the PPS tool allows it).
    Anyway, has anybody successfully done this. I am running out of pins on a 14-pin device and rather than use a 20-pin I could maybe squeeze the functionality out of the MCLR pin.
    [edit] I am using a 16F18326, but the question could apply to any PPS enabled chip.

     

    Last edit: David Stephenson 2021-05-13
  • Anobium

    Anobium - 2021-05-13

    If ppstool says i can be assigned is good. Check the config prereqs. And, then try it.

     
  • Geoffrey Younger

    Hi, Evidently there is a weak pullup on the mclr pin, so I went to my archive and found the attached jpeg. You could use this as an output - which might freeup another more appropiate pin!
    I have not used this circuit.
    Regards, Geoff

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.