imx6 uart module clock

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6 uart module clock

1,330 Views
deepanrajanbara
Contributor IV

hi,

I am working on Imx6 with Linux Kernel and what we require is the wanted to the debug uart to work at 4Mbps but the baudrate given defaultly is  115200 . In reference to i.MX 6Dual/6Quad Applications Processor Reference Manual, Rev. 2, 06/2014.it was found that in order to change the baudrate the module clock must be change according to reference clock but not able to locate the module clock value or the reference clock value for Uart in u-boot level.so if anyone know how to configure the Uart please reply.

Thankyou

Labels (6)
Tags (1)
0 Kudos
4 Replies

780 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

You first can try to change the next:

/include/configs/mx6sabre_common.h   :#define CONFIG_BAUDRATE                    115200

It might be probable that you might need to change the clock source of the module. But first try this change.

Please let me know how it goes.

Best Regards,

Alejandro

0 Kudos

780 Views
deepanrajanbara
Contributor IV

Hi,

Actually i changed

#define CONFIG_BAUDRATE                4000000

But for 4000000 baudrate do i need to change the register value.when i run with this u-boot the terminal comes with junk characters in teraterm with baudrate 115200.how do i set the baudrate in teraterm or minicom with 4000000 baudrate.

Thankyou,

Deepanraj

0 Kudos

780 Views
igorpadykov
NXP Employee
NXP Employee

Hi Deepanraj

you can check some fixes for high baudrates below

[PATCH 0/5] serial: imx: fixes (Linux Serial)

Best regards

chip

0 Kudos

780 Views
deepanrajanbara
Contributor IV

Actually i am not able to find the patch file

0 Kudos