I have been using K22F processors for some time. Recently I needed 5 UARTS so I stepped up to the K22FX512A processor. Although the EmbSysRegisters show the IRC48m control registers (CLK_CLK_RECOVER_CTRL and CLK_CLK_RECOVER_IRC_EN) they are missing in the MK22FA12.h in the SDK1.30. The registers are in MK22F12.h in the SDK1.30. Does anybody know why they are missing in the SDK?
Also The SDK1.30 Processor Expert does not show the IRC 48 in the Clock management/Clock setting/Clock configurations/MCG settings/MCG mode PEE/MCG external ref. clock source dialog box.
Ok so now I get it. The FX512AVLL is not a step up from the FN512VLL. They are very differnt chips. Thanks Jorge.
Hi Dave Starkey
MK22FX512AVLL doesn't include the internal 48MHz clock, please check the following link to the Reference Manual.
https://www.nxp.com/docs/en/reference-manual/K22P100M120SF5V2RM.pdf#page=168
I believe that you are checking the MK22FN256 reference manual: https://www.nxp.com/docs/en/reference-manual/K22P121M120SF8RM.pdf
Hope this helps.
Regards
Jorge Alcala
Jorge,
Thanks for responding.
Yes indeed the reference manual show the IRC48. BUT... The support for the module seems to be
missing in PE and the 1.30 SDK.
Support for the module does appear in the EmbSysRegistors, but when i set the bits they dont seem to stick.
specifically the USB/USB0/CLK_RECOVER_CTL bit 7 seems to turn itself off.
My big question is why is support for this module missing in the SDK.