LS1046A How to enable I2C4 automatically in RCW

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LS1046A How to enable I2C4 automatically in RCW

ソリューションへジャンプ
2,507件の閲覧回数
Darren_P
Contributor II

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!!

0 件の賞賛
返信
1 解決策
2,476件の閲覧回数
Pavel
NXP Employee
NXP Employee

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

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,498件の閲覧回数
Pavel
NXP Employee
NXP Employee

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.

 

0 件の賞賛
返信
2,483件の閲覧回数
Darren_P
Contributor II

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

0 件の賞賛
返信
2,477件の閲覧回数
Pavel
NXP Employee
NXP Employee

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

0 件の賞賛
返信