for the STM32l412 MCU -
Is it possible to get LPUART interrupt while write & erase page on the internal NVM flash?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-06 3:43 AM
when performed NVM operations (write on page and erase page),
i lost some recieved bytes in my LPUART Rx line.
- when i uncomment the part of writing on the nvm, the lpuart works fine.
can any one please tell me if there is a way to use this modules together?
Thanks a lot,
Yoni
Solved! Go to Solution.
- Labels:
-
LPUART
-
STM32L4 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-06 6:58 AM
While erase operations are ongoing, access to the flash bank will block the cpu until the erase is finished.
If you want to run code while erasing flash pages, you'll need to move that code to RAM, or use separate banks (if available on your chip).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-06 6:58 AM
While erase operations are ongoing, access to the flash bank will block the cpu until the erase is finished.
If you want to run code while erasing flash pages, you'll need to move that code to RAM, or use separate banks (if available on your chip).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-06 9:57 AM
Thanks a lot TDK !
it helped a lot
