Project

General

Profile

How Can I use UART0 & UART2 in MityDSP-L138F?

Added by jong sung choi almost 12 years ago

Hi I'm currently using your MityDSP-L138F SOM with custom baseboard which I designed.
In Our Baseboard UART0 connected to GPS receiver and UART2 connected to Modem some reason.

I'm successfuly compiled kernel, file system, and u-boot and porting to SOM with MDK_2012-08-10 by reference.
So I'm modifying u-boot & kernel to use UART0 & UART2 reference wiki article below.
http://support.criticallink.com/redmine/boards/10/topics/2085
http://support.criticallink.com/redmine/boards/10/topics/927

I'm not familiar with the SW code. So let me help.
a. how can I disabled ethernet and re-assign the MII_RXD2 and MII_RXD3 to UART0_TXD and UART0_RXD?
b. how can I modified pin-mux to use UART2?

thank you


Replies (3)

RE: How Can I use UART0 & UART2 in MityDSP-L138F? - Added by Michael Williamson almost 12 years ago

You should be able to disable the ethernet device by setting the ethernet configuration in u-Boot to indicate no ethernet according to this wiki page.

To modify the pin mux settings to turn on UART0_TX/RX, look at the baseboard-industrialio.c file in arch/arm/mach-davinci. You should really have your own baseboard file that properly describes your machine/board.

You will need to add a davinci_cfg_reg_list() call with a pointer to an array for the multiplexer settings you are after.

-Mike

RE: How Can I use UART0 & UART2 in MityDSP-L138F? - Added by jong sung choi almost 12 years ago

hi mike. thank you but
I just did you notice to me "Network configuration" article.
It can changed Ethernet config 2 to 3 or 3 to 2 but it can not changed 2 or 3 to 0. is it normal?

RE: How Can I use UART0 & UART2 in MityDSP-L138F? - Added by jong sung choi almost 12 years ago

jong sung choi wrote:

hi mike. thank you but
I just did you notice to me "Network configuration" article.
It can changed Ethernet config 2 to 3 or 3 to 2 but it can not changed 2 or 3 to 0. is it normal?

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)