Multiple UARTs on Beaglebone Black

Steve B sbattazzo at gmail.com
Fri Jun 5 23:48:07 UTC 2015


Another question, maybe one that Ben would know. Was anything done to set
up the pinmux for the existing UART? Or did it happen to be that the
default value already enables the UART to those pins?
I suspect I may have to mess with the pinmux to make another UART work.

Steve

On Fri, Jun 5, 2015 at 12:15 PM, Steve B <sbattazzo at gmail.com> wrote:

>
>
> On Fri, Jun 5, 2015 at 11:53 AM, Joel Sherrill <joel.sherrill at oarcorp.com>
> wrote:
>
>>
>>
>> On June 5, 2015 1:50:41 PM CDT, Steve B <sbattazzo at gmail.com> wrote:
>> >Hi guys,
>> >
>> >I would like to use more than one UART on the Beaglebone Black.
>> >
>> >I see that the Console_Configuration_Ports in console-config.c only has
>> >one entry but some of the header files do have base addresses and other
>> >things for a couple more UARTs.
>> >
>> >Can I simply add a second entry to that table named "/dev/ttyS1" and
>> >open "/dev/ttyS1" and count on ns16550.c to take care of things, or
>> >will I need to also modify the other functions in console-config.c to
>> >account for other possible entries in the table?
>>
>> You should review the existing methods to see that there are correct for
>> the other serial ports. I expect that they will be ok but the base address
>> and interrupt vectors may need to change. also check the probe method to
>> make sure it is correct for the porch you're adding.
>>
>> >Or do those functions only matter if I want to have the options to use
>> >the other UARTs as stdout?
>> >
>>
>> No. Those table entries mate the generic drive with bsp specific glue
>> code and settings.
>>
>> >
>> >Thanks,
>> >
>> >Steve
>>
>> --joel
>>
>
> Thanks for the quick response! Looks like there's a little bit of tweaking
> to do.
>
> Steve
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20150605/4ca257fd/attachment-0002.html>


More information about the users mailing list