iomux register read and write

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

iomux register read and write

1,037 Views
shaoxiao_guo_dn
Contributor I

I am using memtool to read the value from iomux register;

for example, I want to read the SPI2_CS0 with the address of 0x401C0, but failed with bus error.

But I can read the 0x5A000000 (version id register for spi) successfull.

So what is the problem? can you guys help?

Thanks. 

0 Kudos
4 Replies

947 Views
Rita_Wang
NXP TechSupport
NXP TechSupport
0 Kudos

947 Views
shaoxiao_guo_dn
Contributor I

Thank you for your reply!

But this is not the answer I want.

Maybe I am not familiar with the memory map;

But I want to know why these register cannot be read through memtool?

0 Kudos

947 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you tell us which product are you using? And which version of BSP are you using ?

0 Kudos

947 Views
shaoxiao_guo_dn
Contributor I

We are using a customized board with iMX8QM;

The base BSP is from yocto with the following command:

repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.78-1.0.0_ga.xml

DISTRO=fsl-imx-xwayland MACHINE=imx8qxpmek source fsl-setup-release.sh -b fsl-imx-xwayland

0 Kudos