LPC54S018 Flash Reset pin

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

LPC54S018 Flash Reset pin

跳至解决方案
1,828 次查看
mh_n
Contributor III

Hello,

I have noticed from the LPC54S018 schematics (Screenshot below) that for the NOR Flash, the "nRESET" is connected to P2_12. I would like to know how that pin is controlled and set. (I have not been able to find anything referencing it in the pin_mux of software examples or the documentations). 
The reason for this question is that we are using a LPC54S016 which does not have the P2_12 pin. It would be great if someone can let me know how the P2_12 in an LPC54S018-EVK board is being controlled, so we can make this work on the LPC54S016.
 

mh_n_0-1674081418506.png

 

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,787 次查看
RaRo
NXP TechSupport
NXP TechSupport

Hello @mh_n,

Actually, the LPC54S018's examples or pin_mux files are not using the W25Q128JVFIM QSPI (SPIFI) NOR Flash's nRESET pin; that is why you are not finding something useful regarding PIO2_12 pin as nRESET.

Also, you can make a RESET by a software sequence, so you may not need to use the nRESET pin; in the examples the RESET could be set trough two consecutive commands: Enable Reset (66h) & Reset (99h).

A deeper explanation of the nRESET pin and the software sequence is in W25Q128JV_DTR Datasheet: Chapter 6.1.7 Software Reset & Hardware /RESET pin.

Best regards, Raul.

在原帖中查看解决方案

3 回复数
1,809 次查看
RaRo
NXP TechSupport
NXP TechSupport

Hello @mh_n,

As you can see in the following table from LPC540xx/LPC54S0xx Datasheet:

RaulRomero_0-1674245323304.png

The PIO2_12 it is working as a GPIO pin. The configuration needed for work with the QSPI NOR Flash as nRESET is made by software. So, you should try using another GPIO pin to use as PIO2_12 for the nRESET signal.

Regards, Raul.

0 项奖励
回复
1,802 次查看
mh_n
Contributor III

Hello @RaRo ,

Thank you for your reply,

That makes sense; However, I thought that I should be able to find something regarding PIO2_12 pin in the pin_mux of the software examples since that pin is controlled by the software. But I could not find any.

Am I thinking of this in a wrong way? 

Regards,

Mohammad

0 项奖励
回复
1,788 次查看
RaRo
NXP TechSupport
NXP TechSupport

Hello @mh_n,

Actually, the LPC54S018's examples or pin_mux files are not using the W25Q128JVFIM QSPI (SPIFI) NOR Flash's nRESET pin; that is why you are not finding something useful regarding PIO2_12 pin as nRESET.

Also, you can make a RESET by a software sequence, so you may not need to use the nRESET pin; in the examples the RESET could be set trough two consecutive commands: Enable Reset (66h) & Reset (99h).

A deeper explanation of the nRESET pin and the software sequence is in W25Q128JV_DTR Datasheet: Chapter 6.1.7 Software Reset & Hardware /RESET pin.

Best regards, Raul.