How to enable the control of IO Expander PCA6416A on i.MX6ULL custom board

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

How to enable the control of IO Expander PCA6416A on i.MX6ULL custom board

1,371 Views
bych
Contributor II

Dear NXP Support team,

 

I would like to know how to enable the control of IO Expander PCA6416A on i.MX6ULL custom board.

 

I've tried to modify imx6ul-14x14-evk.dtsi, adding pca6416 node to &i2c2 as below.

 

pca6416: pca6416@20 {
compatible = "nxp,pca6416";
reg = <0x20>;
status = "okay";
};

 

When I check with "i2cdetect -y 1" command, it shows as "UU" at register address 0x20.

 

But, when it is UU, it means the register has been already used or taken by other device.

I wanted to make it as "20", not "UU", so that I can access to the register via i2c communication.

So I've change the status to "disabled". But this time, it showed nothing.

 

Please guide me how I should change DTS to make the register showing as "20" so that I can access to the register.

 

OR Please give me any advice to enable control of IO Expander PCA6416A via i2c communication.

 

*I've attached some parts of i.MX6ULL custom board's schematic to help explaining the issue.

 

Thank you.

0 Kudos
Reply
3 Replies

1,278 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Sorry to miss your thread, could you tell us which version BSP are you using?

0 Kudos
Reply

1,273 Views
bych
Contributor II
I'm using LF6.6.52_2.2.0 which is latest and released for Yocto Project 5.0 (Scarthgap).
0 Kudos
Reply

1,271 Views
Rita_Wang
NXP TechSupport
NXP TechSupport
0 Kudos
Reply