How to use FlexIO to read 24c02?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use FlexIO to read 24c02?

Jump to solution
432 Views
zzqq
Contributor III

How to use FlexIO to read 24c02?

pastedImage_1.png

pastedImage_2.png

0 Kudos
1 Solution
290 Views
zzqq
Contributor III

Dear:

         Can you help me test it?

View solution in original post

0 Kudos
7 Replies
290 Views
zzqq
Contributor III

I can't read the data from 24c02.

0 Kudos
290 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

What do you see on scope? It is trying to write to the 24c02?

You have to use pull-up. Internal pull-ups are disable in this example.

You can enable them in PORTA[PCR] registers.

Regards,

Daniel

0 Kudos
290 Views
zzqq
Contributor III

pastedImage_1.png

0 Kudos
291 Views
zzqq
Contributor III

Dear:

         Can you help me test it?

View solution in original post

0 Kudos
290 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The configuration is correct.

Only generate Processor expert code, it should work.

Regards,

Daniel

0 Kudos
290 Views
zzqq
Contributor III

pastedImage_1.png

0 Kudos
290 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Can you be more specific? What exactly you need to know?

If you need to use pins 6/7 instead of pins 0/1 which are selected in this example by default, you must change routing of the pins in the pin_mux driver as well.

Regards,

Daniel

0 Kudos