IMX8MP: Power Domain Down bit is low and serial is crashing on M7 core.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX8MP: Power Domain Down bit is low and serial is crashing on M7 core.

933 次查看
Saqib
Contributor I

I am trying to write serial driver for imx8mp m7 core. M7 core has assigned to Doamin 1.

When I try to write on BRM register to set serial baud rate, the system crashes.

 

I have checked the RDC_STAT register which shows that the Power Domain status (PDS) bit is low that indicates that power down domain is OFF. 

1) How can we enable Power Down Domain ON?

2) Can we expect system crash if power down domain is off ?

0 项奖励
回复
1 回复

925 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Saqib

 

one can set necessary rdc permissions in atf imx_rdc_cfg rdc[] :

https://source.codeaurora.org/external/imx/imx-atf/tree/plat/imx/imx8m/imx8mp/imx8mp_bl31_setup.c?h=...

In case of  M7 SDK_EVK-MIMX8MP one can look at ..demo_apps/hello_world/board.c function void BOARD_RdcInit(void)

 

>2) Can we expect system crash if power down domain is off ?

 

yes

 

Best regards
igor

0 项奖励
回复