Skip to main content
Graduate
December 13, 2023
Solved

Typo RM0440

  • December 13, 2023
  • 4 replies
  • 1317 views

What is right? 7 or 8 bits?

no way.jpg

    This topic has been closed for replies.
    Best answer by STTwo-32

    Hello @Tobe @Tesla DeLorean 

    This typo has been solved on the RM0440 Rev8

    Best Regards.

    STTwo-32

    4 replies

    Technical Moderator
    December 13, 2023

    Hello @Tobe and thank you for reporting this.

    I will check this internally and come back to you as soon as possible.

    Best Regards.

    STTwo-32 

    Graduate II
    December 13, 2023

    8-bits

    ...
     /* Proceed to erase the page */ 
     MODIFY_REG(FLASH->CR, FLASH_CR_PNB, ((Page & 0xFFU) << FLASH_CR_PNB_Pos)); 
     SET_BIT(FLASH->CR, FLASH_CR_PER); 
     SET_BIT(FLASH->CR, FLASH_CR_STRT); }
    Technical Moderator
    December 29, 2023

    Hello @Tobe 

    In fact, the Flash memory (FLASH) for category 2 devices is a 128 Kbyte single bank memory with a page size of 2 Kbyte. That means we have 64 pages (page 0 to page 63). So, you need only 6 bits.

    Internal ticket has been created to correct the typo in the next release. 

    Internal ticket number: 169676(This is an internal tracking number and is not accessible or usable by customers). 

    Sorry for my late feedback. 

    Best Regards.

    STTwo-32

    STTwo-32Answer
    Technical Moderator
    March 7, 2024

    Hello @Tobe @Tesla DeLorean 

    This typo has been solved on the RM0440 Rev8

    Best Regards.

    STTwo-32