SIM CNTL register bits in the document (i.MX 6UltraLite Applications Processor Reference Manual Document Number: IMX6ULRM Rev. 0, 08/2015)
SIM CNTL register bits in the code( BSP 3.14.38_6ul , <linux_dir>driver/mxc/SIM/mxc_sim.c), I didn't change anything.
we can see, the first bit to the third correspond to the document, others do not.
Is the content of IMX6ULRM about EMV wrong?
Solved! Go to Solution.
I get it,the correct document about mxc_sim.c is in 45 chapters,not in 22 chapters.
Hello Huang,
The reference Manual it is correct, the Linux driver that you find it is not for the i.MX6UL it is from the i.MX25 which has the SIM module and the SIM CNTL register it is exactly the way it is described, in fact if you see in the i.MX6UL the register name is EMVSIMx_CTRL . I apologize for this inconvenience.
Have a nice day!
Have a great day,
Jaime
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
But i found the code from the BSP which had already source MACHINE=imx6ulevk. Now, I do know how to get the linux driver for the i.mx6ul.
And I print out all default values of the registers from 0x021B4000.(0xF43B4000 map to 0x021B4000)
and the default values in the document
there is a very big difference.
I get it,the correct document about mxc_sim.c is in 45 chapters,not in 22 chapters.