Using the pad override settings in flexspi_nor_config_t

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using the pad override settings in flexspi_nor_config_t

1,081件の閲覧回数
houe
Contributor II

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

ラベル(1)
0 件の賞賛
4 返答(返信)

1,072件の閲覧回数
nickwallis
Senior Contributor I
0 件の賞賛

1,068件の閲覧回数
houe
Contributor II

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 件の賞賛

1,056件の閲覧回数
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 件の賞賛

1,051件の閲覧回数
houe
Contributor II

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 件の賞賛