[i.mx8mm] How can I allocate REF_CLK_32K to GPIO1_IO00?

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

[i.mx8mm] How can I allocate REF_CLK_32K to GPIO1_IO00?

999 Views
bbq56go
Contributor I

Dear

I am trying to enable the 32KHz i.MX8MM 32KHz clock at GPIO1_IO00 (ALT5 : CCM_REF_CLK_32K) for a custom board. 

=========================================================================

pastedImage_5.png

pastedImage_1.png

=========================================================================

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.

Labels (1)
Tags (2)
0 Kudos
2 Replies

894 Views
gusarambula
NXP TechSupport
NXP TechSupport

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,

0 Kudos

894 Views
bbq56go
Contributor I

Thanks for your response.

I did use the tool above your mention.

pastedImage_1.png

And, I edited my dts file.

pastedImage_2.png

But, I could not see 32KHz in this pin.

0 Kudos