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

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

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

跳至解决方案
568 次查看
jarman_zhou
Contributor I

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

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

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

0 项奖励
1 解答
519 次查看
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 项奖励
4 回复数
557 次查看
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 项奖励
531 次查看
jarman_zhou
Contributor I

Hi, @jingpan

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

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

0 项奖励
520 次查看
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 项奖励
543 次查看
jarman_zhou
Contributor I

Hi, @jingpan 

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

4.png

 

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

0 项奖励