PMIC invalid for custom imx8qm-mek

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

PMIC invalid for custom imx8qm-mek

2,452 Views
rahulM
Contributor IV

Hi NXP,

We are developed custom imx8qm-mek based board.

Imx8qm-mek uses pf8100 and our custom board uses pf8200.

Please let help me for board-bring up with pf8200.

Error: Found Dual PF8100 PMIC Card Rev:0x31
PMIC INVALID!
PMIC INVALID!

Please let me know where to change pmic settings.

we are using NXP.imx8-SCU DDR Test tool.

Thanks and Regards 

Subramanya N M

 

0 Kudos
8 Replies

2,164 Views
ajmalmali
Contributor II

Hi

Were you able to solve the issue?

We have developed a custom board with imx8qm SoC.

For the SCU part, we have kept the schematics as it is(same pads) in the case of the MEK.

The only difference is that we have used pf8200 instead of pf8100 on our custom board. 

 

We are also facing the same issue.

We understand that the same driver can be used for pf8100 and pf8200. Is our understanding correct?

Please support.

 

I am using SCU f/w version 1.5.1.

Any support is highly appreciated.

 

Thanks and Regards

Ajmal

0 Kudos

2,158 Views
rahulM
Contributor IV

Hi Ajmalmali,

We are able to solve this issue.

Thanks and Regards,

Subbu

 

0 Kudos

2,150 Views
ajmalmali
Contributor II

Hi Rahul/Subbu

Thank you for the quick reply.

Did you make any other configuration other than the below in the "board.h" file?

#define PMIC pf8100 --> pf8200

#define PMIC_CRC

Any other configuration we need to check regarding PMIC.
The PMIC is shown as invalid in our case.
Please support.

Thanks and Regards
Ajmal

0 Kudos

2,144 Views
rahulM
Contributor IV

Hi Ajmal,

Since PF8200 is secure write based.

So enable following Macros in board.c

uncomment #define PMIC_CRC and #define PMIC_SECURE_WRITE

After this your device should boots. Your DDR stress test has to Enable.

Thanks and Regards,

Subbu

 

0 Kudos

2,137 Views
ajmalmali
Contributor II

Hi Rahul/Subbu

 

We had made those changes. Still, the PMIC is shown as invalid.
As in your below post, do we need to make the below changes?
"

In platform/board/mx8qm_val/board.h

#define EP_PROG_ID 0x49AU  before--> 0x0417U
#define EQ_PROG_ID 0x38BU before---> 0x0418U

and platform/board/pmic.h

#define PF8100_A0_REV 0x31U before--> 0x10U

"

Thanks and Regards

Ajmal

0 Kudos

2,133 Views
rahulM
Contributor IV

Hi Ajmal,

Yes you have to make those changes, other wise it will through unvalid id.

Regards,

Subbu

0 Kudos

2,441 Views
rahulM
Contributor IV

Hi NXP,

Please let me know.

I made some changes in platform/board/mx8qm_val/board.h

#define EP_PROG_ID 0x49AU  before--> 0x0417U
#define EQ_PROG_ID 0x38BU before---> 0x0418U

and platform/board/pmic.h

#define PF8100_A0_REV 0x31U before--> 0x10U

Please let me know what all changes has to be done for PF8200 in scfw version 1.2.1 

Please find the attached screenshot from ddr_tester

Please reply ASAP, your solutions are well appreciated.

rahulM_0-1625047913394.png

Thanks and Regards,

Subramanya N M

 

0 Kudos

2,415 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

PF8200 is already supported in the SCFW porting kit 1.2 release.

It will need to use CRC in i2c read/write operation with PF8200.

 

You can  try to add “#define PMIC_CRC” in their SCFW board.h file, and then the PMIC driver will use read/write function with CRC feature.

0 Kudos