IMX93-A55 and M33 started at the same time M core cannot control the GPIO

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

IMX93-A55 and M33 started at the same time M core cannot control the GPIO

ソリューションへジャンプ
1,727件の閲覧回数
ChumingYang
Contributor III

A core SDK version :6.1.55

M core SDK version:2.14

The first test:using flash.bin(make by make SOC=iMX9 flash_singleboot_m33) to start both A and M cores,then M core cannot control the GPIO(Test using M-core GPIO routine),However, other peripherals such as the SPI IIC work properly

The secord:using flash.bin(make by make SOC=iMX9 flash_singleboot) to start A cores,start M kernel using elf link file,then The M core can control GPIO normally

The third:In the uboot phase, load the firmware for gpio control (.bin format) to m33 and run m33 to control gpio normally

The above test methods are based on IMX93-EVK test,Do you have the general idea and solution of the positioning problem? Thank you

#IMX9352

0 件の賞賛
返信
1 解決策
1,662件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @ChumingYang 

 

You are correct.

Zhiming_Liu_0-1713766853157.png

If yes, what can be judged by ATF module initialization success

-->You can try to read GPIO_BASE + 0x10/0x14/0x18/0x1c status.

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,667件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

The first test:using flash.bin(make by make SOC=iMX9 flash_singleboot_m33) to start both A and M cores,then M core cannot control the GPIO(Test using M-core GPIO routine),However, other peripherals such as the SPI IIC work properly

--> The difference between test1 and test2&3 is that, test1 will load M33 firmware before loading A55 firmware. Please check your M-core GPIO routine rules, the current M-core GPIO routine you use may need load A55 firmware before M33 core.

0 件の賞賛
返信
1,664件の閲覧回数
ChumingYang
Contributor III

I've confirmed your point by adding a 5 second delay to the M-core GPIO routine(before RGPIO_PININIT)

By reading the RM, I suspect that GPIO control in the M core is required after the initialization of the ATF security module in the A core is complete,Is this correct? If yes, what can be judged by ATF module initialization success

 

0 件の賞賛
返信
1,663件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @ChumingYang 

 

You are correct.

Zhiming_Liu_0-1713766853157.png

If yes, what can be judged by ATF module initialization success

-->You can try to read GPIO_BASE + 0x10/0x14/0x18/0x1c status.

0 件の賞賛
返信
1,656件の閲覧回数
ChumingYang
Contributor III

Thank you very much. I will continue to test in this direction. In addition, I am also very interested in the following questions

https://community.nxp.com/t5/i-MX-Processors/How-to-extend-the-buffer-size-of-A55-in-iMX9352-when-us... 

 

0 件の賞賛
返信