[uClinux-dev] How to use UART3 in M5329EVB
Sankar_Purushothaman at infosys.com
Tue Feb 17 00:39:39 EST 2009
Hi Matt Waddel,
Thanks for your clarification.
The Tx and Rx pins are available in the J1A connector of the M5329EVB board as J1A.A23(uP_AC97_SD_OUT0) and J1A.A24(uP_AC97_SD_IN0).
I have traced them from the 5329 fire engine to the ZOOM base board.
I am making the changes to the config.c for the UART functionality. Hope this will work out.
Thanks and Regards
From: uclinux-dev-bounces at uclinux.org [mailto:uclinux-dev-bounces at uclinux.org] On Behalf Of Matt Waddel
Sent: Monday, February 16, 2009 11:48 PM
To: uClinux development list
Subject: Re: [uClinux-dev] How to use UART3 in M5329EVB
Sankar Purushothaman wrote:
> I am using M5329EVB and we are using uClinux OS (given by freescale) to
> the target. I am able to use UART1 and 2 of 5329, but I am not able to
> use the UART3. I noticed in the schematics that the UART3 is used as
> PSSI port with an audio chip. I also noticed that the audio chip is not
> selected through the chip select pin when I switch on the board, it is
> Even though the Tx and Rx pins are available to the Zoom board, when i
> try to send some data to the UART3 in the software, I am not seeing any
> signal change in the Tx pin of 5329.
I don't see where the GPIO Tx and Rx pins are available for ttyS2. I
think they are hardwired to the codec.
> Can somebody clarify the following,
> 1. Is ttyS2 provided in uClinux, the driver for UART3? (ttyS0 and ttyS1
> are working fine and tested)
If you get past the hardware issues, you'll need to setup the GPIO
pins for /dev/ttyS2. Depending on the kernel version it's either in
arch/m68knommu/platform/532x/config.c or drivers/serial/mcfserial.c.
I think the addition is going to be something like:
MCF_GPIO_PAR_SSI = 0x0A00
> 2. Do we need to do any other configuration to make it work as it is
> multiplexed with PSSI port?
I also believe you're going to need some hardware to buffer the serial
lines. ttyS0 and ttyS1 include these chips already.
> 3. Is there any sample code available for using the UART3 with uClinux?
> 4. What is the maximum baud rate of all the UARTs? when I try to use
> 230K it is giving compilation error.
> My application requires all the 3 UARTs to be working simultaneously.
> Has anybody faced the same problem, kindly help me out.
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
> for the use of the addressee(s). If you are not the intended recipient, please
> notify the sender by e-mail and delete the original message. Further, you are not
> to copy, disclose, or distribute this e-mail or its contents to any other person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
> every reasonable precaution to minimize this risk, but is not liable for any damage
> you may sustain as a result of any virus in this e-mail. You should carry out your
> own virus checks before opening the e-mail or attachment. Infosys reserves the
> right to monitor and review the content of all messages sent to or from this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> This message was resent by uclinux-dev at uclinux.org
> To unsubscribe see:
uClinux-dev mailing list
uClinux-dev at uclinux.org
This message was resent by uclinux-dev at uclinux.org
To unsubscribe see:
More information about the uClinux-dev