Dear
I am trying to enable the 32KHz i.MX8MM 32KHz clock at GPIO1_IO00 (ALT5 : CCM_REF_CLK_32K) for a custom board.
=========================================================================
=========================================================================
But, I could not see any clock in this pin on Oscilloscope.
[Q]
- How can I allocate REF_CLK_32K to GPIO1_IO00?
- Is any additional setting needed to output 32KHz from REF_CLK_32K?
Thanks.
Hello JaeHo PARK,
Are you using the Pins Tool for i.MX to setup the muxing options for your board? If not, I would highly recommend that you do to aide on your design. You can find this tool on the link below:
https://www.nxp.com/design/designs/pins-tool-for-i-mx-application-processors:PINS-TOOL-IMX
The register in which you would setup the ALT5 option to get the CCM_REF_CLK_32K signal to the GPIO1_IO00 pin.
#define BOARD_INITPINS_IOMUXC_SW_MUX_CTL_PAD_GPIO1_IO00_VALUE 0x00000005 /*!< Register name: IOMUXC_SW_MUX_CTL_PAD_GPIO1_IO00 */
The Pins tool can help you creating the necessary code.
I hope this helps!
Regards,
Thanks for your response.
I did use the tool above your mention.
And, I edited my dts file.
But, I could not see 32KHz in this pin.