Hi,
i want to connect my board with an external device using the serail port.
How can i configure the mux pin of UART1 to acts as UART?
Your answers will be very helpful.
Best Regards
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
i want to connect my board with an external device using the serail port.
How can i configure the mux pin of UART1 to acts as UART?
Your answers will be very helpful.
Best Regards
Mohamed,
I assume you have already looked at chapter 23.3 in the OMAP4 TRM for information about the UART port? See the first link in the Resources sidebar on this page for the link to the public TRMs.
The pin muxing is done in the x-loader board file. For example, for Blaze Tablet, this is the file x-loader/board/omap44XXtablet/omap44xxtablet.c. If you need help configuring the pin muxing, you can also reference the Pad Configuration Tool, located at the same link as the OMAP4 TRMs.
Regards,
Gina
Thank you Gina for your answer fast,
here is what i found in my omap44XXtablet.c of x-loader directory, however i havn't any idea for how to enable the UART1 and how can i get the tool wich allow me to build the MLO file.
MV(CP(UART3_CTS_RCTX) , ( PTU | IEN | M0)) /* uart3_tx */ \
MV(CP(UART3_RTS_SD) , ( M0)) /* uart3_rts_sd */ \
MV(CP(UART3_RX_IRRX) , ( IEN | M0)) /* uart3_rx */ \
MV(CP(UART3_TX_IRTX) , ( M0)) /* uart3_tx */ \
Best Regards,
For building the x-loader, you can follow the instructions here: http://www.omappedia.com/wiki/4AI.1.7_OMAP4_Icecream_Sandwich_Release_Notes#Building_X-LOADER_for_OMAP4470 (It is the same instructions, even if you are using OMAP4430 or OMAP4460, instead of OMAP4470.)
You have to check which pads you have connected your UART device to and then modify the corresponding pad configuration in omap44XXtablet.c appropriately. Which pads is it connected to?
Regards,
Gina
Hi Mohammed,
You can follow the build steps as mentioned in one of the OMAP4 software releases such as ICS in the following link below to build the MLO after appropriate modifications. Once it is build, you can flash the new MLO using fastboot.
http://omapedia.org/wiki/L27.IS.2.P1_OMAP4_Icecream_Sandwich_Release_Notes#Building_X-LOADER
As far as changes to enable UART1, as per Gina's comments earlier, you have to go through in detail the Pad Configuration chapter in OMAP TRM in order to understand further details.
Thanks & Best Regards,
Venkat
hi agin Gina,
what do you mean by pad configuration ?
For information, i am using the serial port of my board named UART1 RS232.
Best Regards,
Hi Venkat,
i will take a look on this chapter.
Thank you for your answer
Best Regards,