How to change QuadSPI configuration parameters

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

How to change QuadSPI configuration parameters

865件の閲覧回数
masaru_kamimura
Contributor I

Hello iMX7D engineer.

I want to change the QuadSPI configuration parameters in the program.

I think each parameter can be set in some register.


Now I want to change the following parameters.

I can't find a way out of it in the Reference Manual.

- Serial Clock Frequency

   I want to change 01 to 00.
   01 49MHz -> 00 18MHz

- Mode of operation of serial Flash

   I want to change 04 to 01.

   04 Quad -> 01 Single


What bit in what register should I change?
I would be happy if there was a correspondence table for each parameter and each register.

pastedImage_5.png

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

793件の閲覧回数
IvanRuiz
NXP Employee
NXP Employee

Hello,

Thank you for contacting us.

The corresponding information is also available in the same reference manual you already referred to, chapter 6.6.6.3. Nevertheless, there is a typo in the reference manual; the correct address shall be 0x1000 not 0x400 and every parameter size shall be taken into account when setting the QSPI (table 6-50).

Hope it helps!

BR,

Ivan.

0 件の賞賛

793件の閲覧回数
masaru_kamimura
Contributor I

Hi Ivan

Thank you for your information.

I want to know how to change and set the register.

Serial Clock Frequency -> What register to change?

Mode of operation of serial Flash -> What register to change?

Please let me know if you know.

Best regards

Kamimura

0 件の賞賛

793件の閲覧回数
IvanRuiz
NXP Employee
NXP Employee

Hello,

Please refer to the table 6-50 in the reference manual. The offsets are still respected but the correct SPI address is 0x1000 in FLASH as mentioned before, so if you want to write e.g. to DQS Loop back, the offset is 0 so it will go from base address + 4 bytes. Then you will find the address for the next parameter e.g. Hold delay, with offset 4. Please refer to that table and write to the correct address for the parameters you are interested on.

BR,

Ivan.

0 件の賞賛