Hi nxp:
I want use PD9 PD12 for uart function, what value do I need to config for the register of MC_ME.PCTL91.B.RUN_CFG?
I referred to the document "MPC5744P.pdf", what part describes the correspondene between the value and function mode?
Thanks!
Hi,
MC_ME.PCTL91.B.RUN_CFG selects which run peripheral configuration registers (ME_RUN_PC0…7) will be used. Thus you can specify if the peripheral (kere LINFlex_1) will have clock gated during the software running modes DRUN, TEST, SAFE, and RUN0…3. See more in chapter 59.4.7 Peripheral Clock Gating of the RM.
It has nothing with selecting functionality for a specific pins. This is done by setting respective SIUL MSCR and if needed IMCR register. Table 4-7. Pin muxing gives you SSS value that has to be written to MSCR / IMCR registers.
You can refer e.g to https://community.nxp.com/docs/DOC-329477 example a do modification for LINFlex1 and your desired pins.
BR, Petr