S32K344 Flash operation and interrupt

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

S32K344 Flash operation and interrupt

Jump to solution
872 Views
KWay4329
Contributor I

Hello,I have question about When DFlash/PFlash is doing the write or erase operation,all interrupts must be disabled for awhile?

For example,disable all interrupts before C40_Ip_MainInterfaceSectorErase() or C40_Ip_MainInterfaceWrite(),then enable all interrupts when operation is done.

Is there have any problem if the all interrupt is not disabled?

0 Kudos
Reply
1 Solution
840 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

If code is being executed from different flash module than programmed (RWW) then interrupts can be handled during flash programming otherwise it is needed to disable interrupt before flash programming/erasing to prevent RWW error.

View solution in original post

0 Kudos
Reply
1 Reply
841 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

If code is being executed from different flash module than programmed (RWW) then interrupts can be handled during flash programming otherwise it is needed to disable interrupt before flash programming/erasing to prevent RWW error.

0 Kudos
Reply