Arduino Asked on December 9, 2021
I am using MCP23017 as a GPIO expander with Arduino in my project. I have too many serial devices and no pins left on Arduino for UART communication.
I am wondering if I can use this MCP23017 GPIO expander pins for UART communication or not?
I can think of one way.
In theory you could use the GPIO pins of the mcp23017 to control a couple of 2-way multiplexers. With these multiplexers you could split your Rx/Tx pins to more than one serial bus.
May it be obvious that you cannot used the split busses at the same time. So depending on your specific use-case this may or may not be a solution.
Answered by bask185 on December 9, 2021
No. No you can't. Serial takes precise timing and fast reactions. Things you can't do with a remote device like that.
Instead there are SPI UART devices specifically for the job, such as the MAX3107.
Answered by Majenko on December 9, 2021
2 Asked on December 21, 2020 by renangm
0 Asked on December 21, 2020 by amy
1 Asked on December 19, 2020
1 Asked on December 19, 2020 by victorpacheco3107
1 Asked on December 13, 2020 by johnny-derpp
1 Asked on December 4, 2020 by michael-stachowsky
1 Asked on December 1, 2020 by shubham-bajaj
3 Asked on December 1, 2020 by user63158
1 Asked on November 30, 2020 by britton-kerin
1 Asked on November 10, 2020 by don
1 Asked on November 6, 2020 by omar_hussein
2 Asked on October 28, 2020 by thunder-dornhofer
1 Asked on October 20, 2020 by chetan-niradwar
1 Asked on September 15, 2020 by jabawokjayuk
Get help from others!
Recent Questions
Recent Answers
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP