Can Any GPIO pin be used for UART communication.

Home Forums mDot/xDot Can Any GPIO pin be used for UART communication.

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15015
    Tom Hill
    Participant

    Currently by default I use the XBEE_DOUT, XBEE_DIN pins for serial communication. Is it possible to switch to a different GPIO pins for serial communication at run time, based on certain conditions?

    Thanks,
    Yogesh

    #15016
    Mike Fiore
    Blocked

    Yogesh,

    You’d need to emulate a UART in software. We don’t have any software support for that.

    I did find this repo in mbed

    https://developer.mbed.org/users/Sissors/code/SoftSerial/

    Sissors is pretty active in the mbed ecosystem and puts out a lot of good code. You could give that repo a try.

    Cheers,

    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.