RT117x: reset all peripherals but not the core

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

RT117x: reset all peripherals but not the core

ソリューションへジャンプ
337件の閲覧回数
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 解決策
305件の閲覧回数
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 返信
306件の閲覧回数
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 件の賞賛
返信