RT 1176 FlexSPI RW frequency DQS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

RT 1176 FlexSPI RW frequency DQS

跳至解决方案
1,449 次查看
yosri_c
Contributor III

hi,

we have a question regarding the flash NOR RW freq .

we currenty working on a custom board using the RT1176 , we are implementig a  flashloader a bootsel and a bootloader as we want to boot from  IS25LP128 SERIAL FLASH MEMORY WITH 133MHZ MULTI I/O SPI & QUAD I/O 

so the boot flow is perfect when running on 60Mhz serialClkFreq , but we need to raise that to 133Mhz 

after Refernce manual lookup , we found that we need a to mux a FLEXSPI DQS pin and change the sampling to  readSampleClksrc= kFlexSPIReadSampleClk_LoopbackFromDqsPad .

but when looking for pin mux options we found 3 choices basicaly AD_17 ,  SD_B2_05 and EMC_B2_18 

we tried three of them and none worked (no boot) 

is there anything else we're missing ! 

thank you 

Yosri 

#i.MX-RT1176  

标记 (1)
0 项奖励
回复
1 解答
1,341 次查看
HangZhang
NXP Employee
NXP Employee

Hi @yosri_c 

Not all FlexSPI Pinmux combinations can be used to connect to serial NOR Flash for boot.
About boot pin, please refer to the system boot chapter in the RM manual.

Hope this will help you.

BR

Hang

在原帖中查看解决方案

7 回复数
1,360 次查看
yosri_c
Contributor III

hi @HangZhang ,

okay thank you for the reply ,

we're just  conserned and want to know the use of the PIN GPIO_EMC_B2_18 is it deprecated and doesn't support DQS functionality anymore ? 

because we still have it in the refernce manual as a DQS pin .

Thank you so much indeed for clarifying this 

yosri_c_0-1716202436791.png

yosri_c_1-1716202526872.png

 

0 项奖励
回复
1,342 次查看
HangZhang
NXP Employee
NXP Employee

Hi @yosri_c 

Not all FlexSPI Pinmux combinations can be used to connect to serial NOR Flash for boot.
About boot pin, please refer to the system boot chapter in the RM manual.

Hope this will help you.

BR

Hang

1,337 次查看
yosri_c
Contributor III

hi ,

i read the section and that's why i asked , the GPIO_EMC_B2_18 pin was used in a previous RM as FlexSPI_DQS_A pin , and then i read about it in another thread that it will be depracated !

my question was , does  this pin support the DQS function  or not anymore 

RT1176 - flexSPI DQS connection for max R/W speed - NXP Community )

 

Thank you 

0 项奖励
回复
1,261 次查看
HangZhang
NXP Employee
NXP Employee

Hi @yosri_c

According to the rt1170 RM, it can be used as FLEXSPI1_A_DQS pin.

HangZhang_0-1716455370755.png

 

But for Boot, it can not be used as DQS pin.

Hope this will help you.

BR

Hang

0 项奖励
回复
1,429 次查看
HangZhang
NXP Employee
NXP Employee

Hi @yosri_c 

When the transmission rate is relatively high, in order to transmit data more accurately, DQS is provided by flash.

So you can try to config

config.rxSampleClock = kFLEXSPI_ReadSampleClkExternalInputFromDqsPad.

And config the pin mux that you mentioned.

Hope this will help you.

BR

Hang

1,416 次查看
yosri_c
Contributor III

hi, 

thank you for the answer . as i mentionned we already changed the sampling config to kFLEXSPI_ReadSampleClkExternalInputFromDqsPad.

we changed the  .serialClkFreq = kFlexSpiSerialClk_133MHz 

we muxed the pin 

IOMUXC_SetPinMux(
         IOMUXC_GPIO_AD_17_FLEXSPI1_A_DQS,   // GPIO_EMC_B2_18 is configured as FLEXSPI1_A_DQS
       1U);                                    //  Software Input On Field: Force input path of pad GPIO_EMC_B2_18
 
   IOMUXC_SetPinConfig(
       IOMUXC_GPIO_AD_17_FLEXSPI1_A_DQS,  //  GPIO_EMC_B2_18 PAD functional properties :
       0x07U);                           
 
 
but still we couldn't boot 
0 项奖励
回复
1,364 次查看
HangZhang
NXP Employee
NXP Employee

Hi @yosri_c 

Are you using the Primary Pin Group or the Secondary Pin Group?

According the i.MX RT1170  Reference Manual. For the secondary pin group, the Maximum Flash
frequency supported on this port is 100MHz.

HangZhang_1-1716188749780.png.

And have you chosen this frequency?

HangZhang_2-1716189032826.png

Hope this will help you.

BR

Hang