S32K142 use IIC channels in flexio module

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

S32K142 use IIC channels in flexio module

629 Views
lingyunzhi
Contributor I

We try to use PTA0,PTA1(FLEXIO) and PTE4, PTE5(FLEXIO) at the same time to get two IIC channels, but it goto assert as follow:

Catch(05-30-11-51-33).jpg

please help us to verify that, can we use two iic channels in flexio module?

the attachment is the source code.

 

thanks!

0 Kudos
3 Replies

615 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @lingyunzhi,

There is only one instance of FlexIO on the MCU.

You should be able to use one FlexIO driver and generate two configurations in it.

danielmartynek_0-1654003566491.png

 

Regards,

Daniel

 

 

0 Kudos

615 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @lingyunzhi,

There is only one instance of FlexIO on the MCU.

You should be able to use one FlexIO driver and generate two configurations in it.

danielmartynek_0-1654003566491.png

 

Regards,

Daniel

 

 

0 Kudos

600 Views
lingyunzhi
Contributor I

Hi danielmartynek,

Yes, one FlexIO driver and generate two configurations, the problem has already been solved.

Thank you for reply.

0 Kudos