RT117x: reset all peripherals but not the core

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

RT117x: reset all peripherals but not the core

跳至解决方案
277 次查看
mastupristi
Senior Contributor I

Hi,

At particular times, in my FW I would need to reset all the peripherals but not the core. Actually I would need to get back to the state it is in as soon as the rom bootloader yields control to our FW and jumps to ResetISR (so some peripherals have to work, e.g. FlexSPI).

Of course, I also have to disable the NVIC interrupts, but for that I was thinking of doing it with a for loop (but tell me if there is a better way)

do you have any suggestions?

 

best regards

Max

标记 (4)
0 项奖励
回复
1 解答
245 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @mastupristi,

I'm afraid there isn't a straightforward way of doing this. You would have to manually de-initialize all of the modules, which implies that ideally you already know exactly what modules were initialized in the first place. Is there a particular reason why doing a SW reset would not be compatible with what you are looking for?

BR,
Edwin.

在原帖中查看解决方案

0 项奖励
回复
1 回复
246 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @mastupristi,

I'm afraid there isn't a straightforward way of doing this. You would have to manually de-initialize all of the modules, which implies that ideally you already know exactly what modules were initialized in the first place. Is there a particular reason why doing a SW reset would not be compatible with what you are looking for?

BR,
Edwin.

0 项奖励
回复