RT1021的GPIO_SD_B1_05外部下拉导致程序烧录/运行出错

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

RT1021的GPIO_SD_B1_05外部下拉导致程序烧录/运行出错

Jump to solution
566 Views
jarman_zhou
Contributor I

1.GPIO_SD_B1_05外部下拉后,使用NXP MCUBootUtility v3.5.0烧录程序会出错。

2.悬空或者外部上拉,烧录运行都正常。再改成下拉程序也不能运行

3.外部上拉后,在代码中配置成GPIO模式会卡死

0 Kudos
1 Solution
517 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @jarman_zhou ,

You can set it here, in the .Max Frequency field.

jingpan_0-1686191121157.png

 

regards,

Jing

View solution in original post

0 Kudos
4 Replies
555 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @jarman_zhou ,

I guess this is because GPIO_SD_B1_05 is flexspi_A DQS. To have the flash running higher than 60M, this pin must floating. To verify this, you can set flexspi frequency lower than 60M to see if the problem disappear.

 

Regards,

Jing

 

0 Kudos
529 Views
jarman_zhou
Contributor I

Hi, @jingpan

我修改了寄存器MCR0的RXCLKSRC位后可以对IO口进行配置

但是怎么解决烧录的问题?

0 Kudos
518 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @jarman_zhou ,

You can set it here, in the .Max Frequency field.

jingpan_0-1686191121157.png

 

regards,

Jing

0 Kudos
541 Views
jarman_zhou
Contributor I

Hi, @jingpan 

1.我查看原理图,这个引脚并没有连接到flash,为什么需要将其配置成DQS?

4.png

 

2.如果要修改flash的运行频率在哪里修改?修改过后对性能是否有影响呢?

0 Kudos