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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

480 Views
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 Kudos
1 Reply

472 Views
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 Kudos