Hi NXP,
As title. How can I enable I2C4 automatically in RCW?
I found "Extended RCW PinMux Control Register" in reference manual.
Address: 157_0000h base + 40Ch offset = 157_040Ch.
What's the command format set in RCW?
And if we didn't enable I2C4 function in boot stage. Does that mean I can't use I2C4 control when the system is in user space.
Thanks!!
Solved! Go to Solution.
Add .pbl writing to RCW. Attached file contains RCW example for I2C4 pins enabling.
Path for this file in LSDK 2108 is the following:
flexbuild_lsdk2108/components/firmware/rcw/ls1046ardb/RR_FFSSPPPH_1133_5559
See information about files using for building in the following file:
flexbuild_lsdk2108/configs/board/ls1046ardb/manifest
Use the following command sequence for RCW, ATF and .img building:
flex-builder -c rcw -m ls1046ardb -b sd
flex-builder -c atf -m ls1046ardb -b sd
flex-builder -i mkfw -m ls1046ardb -b sd
The LS1046a RCW does not have bits for I2C4 pins assignment.
Use the DEVDISR5 Register. See the Section 12.3.10 of the LS1046a Reference Manual.
Use the SCFG_RCWPMUXCR0 register. See the Section 11.3.41.
Hi Pavel,
Yes I understand those registers. My question is how can I enable those functions in RCW?
I noticed there's a pbi section which allows me to send some commands.
Here's my command format. write 0x0157040C, 0x00000000. But it doesn't work.
Is my understanding for how to enable I2C4 wrong?
Darren
Add .pbl writing to RCW. Attached file contains RCW example for I2C4 pins enabling.
Path for this file in LSDK 2108 is the following:
flexbuild_lsdk2108/components/firmware/rcw/ls1046ardb/RR_FFSSPPPH_1133_5559
See information about files using for building in the following file:
flexbuild_lsdk2108/configs/board/ls1046ardb/manifest
Use the following command sequence for RCW, ATF and .img building:
flex-builder -c rcw -m ls1046ardb -b sd
flex-builder -c atf -m ls1046ardb -b sd
flex-builder -i mkfw -m ls1046ardb -b sd