Using the pad override settings in flexspi_nor_config_t

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the pad override settings in flexspi_nor_config_t

486 Views
houe
Contributor I

I am attempting to change the FlexSPI boot pad settings (drive strength, slew speed, etc.) on an MIMXRT1021DAG5A mcu. We are attempting to improve the signal quality (minimize overshoot and such) for our custom PCB.

However, I have come across some unexpected behavior when using the 4 pad override settings (csPadSettingOverride, sclkPadSettingOverride, dataPadSettingOverride, and dqsPadSettingOverride) in the flexspi_nor_config_t structure (found in evkmimxrt1020_flexspi_nor_config.c file).

The DQS pad settings don't seem to be getting set properly (See 1st picture below). The CS, SCLK, and data pads settings are working, but the DQS settings don't seem to take.

Some more experimentation seems to show the DQS pad settings get set to whatever the CS pad settings are (see 2nd pic below). This might be a bug in the boot loader?

I'm not sure what logic is in the boot loader (I don't think we have the source code for that), so I'm looking for some help figuring out what is going on here. Thanks.

 

dqs not taking.png

DQS taking CS settings?

dqs not taking2.png

Labels (1)
0 Kudos
4 Replies

477 Views
nickwallis
Contributor V
0 Kudos

473 Views
houe
Contributor I

That thread discusses the DQS pad and how/when it can be used as a GPIO. In my case I am using the pad as DQS - we need it. So no I don't think that thread helps answer my question.

0 Kudos

461 Views
mjbcswitzerland
Specialist V

Hi

If the ROM loader is not responding as expected to configuration values you can simply overwrite the setting that you want as soon as your code starts up. This will avoid concerns about potential ROM loader issues because you still have full control over such details.

Whether it should be noted as an errata if it is not following your setup is of course another point...

Regards

Mark
uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training or product development requirements

 

0 Kudos

456 Views
houe
Contributor I

Yes. That will be a plan B. Its not ideal because for emissions and such we would rather not have the pins configured wrong even if for a few milliseconds at boot up.

0 Kudos