adrianomarto / soft_uart

Software-based serial port module for Raspberry Pi.
GNU General Public License v3.0
159 stars 83 forks source link

How can I load multiple instance of this driver? #2

Closed vicary closed 6 years ago

vicary commented 6 years ago

I want to enable multiple pairs of GPIO as UART, running in a very low baud rate (i.e. <1200).

According to this link https://pinout.xyz/pinout/1_wire one can theoretically load multiple instance under different parameters, does this module support this kind of loading?

adrianomarto commented 6 years ago

Hi Vicary, This module has not been designed to be loaded multiple times. But you could modify it to make it possible. You might want to take a look at this: http://codeintherightway.blogspot.com/2017/09/soft-uart-implementation-for-raspberry.html?showComment=1517897799896#c5449776426724801132 Kind regards, Adriano.

vicary commented 6 years ago

Thank you!