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.

[OMAP-L138] Disabling UART0, and UART1 via PSC0 MDCTL register

Other Parts Discussed in Thread: OMAP-L138

Hi,

We are using the latest PSP on a LogicPD EVM board from the OMAP-L138.

We wanted to ensure that UART0 and UART1 are not consuming any power so we assumed that we can easily disable these modules by calling davinci_psc_config(..) routine in psc.c and giving the required parameters to disable UART0 and UART1.

However, what we observe is that if we try to disable UART0 and UART1 that we do not get data in UART2 anymore.

Are we missing something? What should be the method of completely disabling UART0 and UART1 to ensure that these modules do not use any power?

  • Hi Grant,

           I  assume that you are working on the release 3.20.00.14( 2.6.33 kernel). I too tested and found the same issue. So, You can go for any of the following options to resolve the issue.

    Option 1:

        PSP release package 3.21.0.0.3 (2.6.37 kernel) release is available in the Arago. I have tested and found the above issue is not there. But, system testing has not yet been done and the formal release will be made only by march end.

    Option 2:

           After the kernel gets booted, try to disable the LPSC of UART0  and UART1 using devmem2  utility. I have tested it and found to be working.

    UART 0:

    devmem2  0x01C10A24 w 0x2  //Disable the LPSC

    devmem2  0x01C10120 w 0x1 // GO command for the above to take effect

    UART 1:

    devmem2  0x1E27A30 w 0x2  //Disable the LPSC

    devmem2  0x01E27120 w 0x1 // GO command for the above to take effect

    Regards,

    N.Sugumar

     

  • Thank you, this is helpful info.