Problem with SPEED field in SW PAD Control Register when using flexio2

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

Problem with SPEED field in SW PAD Control Register when using flexio2

1,375 Views
anthonyama
Contributor III

Hi All,

I'm using Flexio2 of imxrt1064 for transfer display data to LCD module via Intel 8080 bus.

I set Pin Mux for these pins( LCD Pins ) as Flexio2, and then set Pin Config called SW PAD Control
Register with SPEED field is 「10 : SPEED_2_fast_150MHz — fast(150MHz)」

anthonyama_0-1636109480936.png

With this speed, outgoing data lost, and LCD displayed incorrect.

If I change speed to 「00」or 「01」, this problem does not occur, and LCD displays correct.

My setting of Core clock frequency and AHB is 132Mhz, Flexio2 frequency is 120Mhz.

【Questions】

1. What does SPEED mean?

2. Mhz of Speed is based on what ( AHB or Flexio2 frequency, or other? )

3. When a pin set MUX as a flexio2 pin (120Mhz), and set speed of PAD 50Mhz, How does this pin frequency become? 

Thanks & Best regards!

Labels (1)
0 Kudos
7 Replies

1,359 Views
jay_heng
NXP Employee
NXP Employee

See Operating Frequency section of GPIO chapter in latest RM (v1) for DSE/SRE/SPEED configuration.

1.Speed means the max toggle frequency supported in the PAD

2.Final output is based on FlexIO

3.In this case, it is 50MHz, so we need to increase speed value

0 Kudos

1,323 Views
anthonyama
Contributor III

Hi @jay_heng  and All

Could you support me this issue?

0 Kudos

1,345 Views
anthonyama
Contributor III

Hi @jay_heng 

Thanks for your reply. I still have some questions.

>>3. When a pin set MUX as a flexio2 pin (120Mhz), and set speed of PAD 50Mhz, How does this pin frequency become? 

>3.In this case, it is 50MHz, so we need to increase speed value

If pin set MUX as a flexio2 pin (120Mhz), and set speed of PAD 150Mhz, How does this pin frequency become? I think it is 120Mhz, is it right ?

And as description of my problem,

>AHB is 600Mhz, Flexio2 is 120Mhz, PAD of SPEED is 150Mhz, operation would be OK.

if Final output is based on FlexIO, why operation is not OK when AHB have been changed to 132Mhz?

All these cases have the same VDD_SOC (DCDC.REG3.TRG = 0x0E ) is 1.15v.

Could you explain detail the cause of my problem?

 

Thanks & Best regards!

0 Kudos

1,306 Views
jay_heng
NXP Employee
NXP Employee
0 Kudos

1,312 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
Hope you are well.

SPEED is a selectable bit field that sets electrical characteristics of a pin in a given frequency range. This field provides additional 2-bit slew rate control. These options can either increase the output driver current in the higher frequency range or reduce the switching noise in the lower frequency range.
The operational frequency on GPIO pads is dependent on slew rate (SRE), speed (SPEED), and supply voltage (OVDD). See Operating Frequency table in the GPIO block guide for more details (table 12-2).

If you have more questions do not hesitate to ask me.
Best regards,
Omar

0 Kudos

1,272 Views
anthonyama
Contributor III

Hi @Omar_Anguiano 

I have seen Operating Frequency table as you recommended.

As my issue, 2 cases of setting (SPEEDーDSEーSRE)

   0xB0 0111 0000

   0x70 1011 0000

have the same Operating Freq, but the results are different when I change AHB clock (see my description and questions). I think something (not only Flexio, but also AHB clock?) is influencing it.

What do you think about this?

Btw, could you explain about R_fixture and OVDD ?

anthonyama_0-1637645753223.png

0 Kudos

1,161 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

I apologize for my delayed reply.
AHB clock has an impact on modules that are fed by that source so if this value is changed we expect different behavior.
R_Fixture is the resistance of the pad while OVDD is the IO supply.

If you have more questions do not hesitate to ask me.
Best regards,
Omar

0 Kudos