This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

pstorage read and write time for one page

i need to know the read and write time in (ms). for one page

please any ony help me

Parents
  • Hi Satheesh,

    you can find the specifications for the Non-Volatile Memory (FLASH) Controller in the nRF51822 Product Specification(Section 8.22), found here.

    Best regards

    Bjørn

  • In section 11.8.1 Flash Programming I have found the time to write one word. By I cannot find information about flash read operations, although this relevant when I need to calculate a CRC over a large flash data block or about a large code block. Do you have this information or do I need to start a measurement?

  • We do not have any spec for reading a word from flash, but reading a word directly using the address, should be very short, i.e. should only be a few instruction (few clock cycles needed), just to clock the data from flash to CPU's register and then to RAM via AHB bus. I don't think the NVMC module is involved here as it is only used when you write or erase flash. Reading from flash is just direct access from CPU to AHB.

    I would suggest to toggle a pin when you do a read from flash (access the flash word directly with its address) and toggle it again after you finish, and use a logic analyzer to check the width pulse, i.e. the time it took to read the word from flash. 

Reply
  • We do not have any spec for reading a word from flash, but reading a word directly using the address, should be very short, i.e. should only be a few instruction (few clock cycles needed), just to clock the data from flash to CPU's register and then to RAM via AHB bus. I don't think the NVMC module is involved here as it is only used when you write or erase flash. Reading from flash is just direct access from CPU to AHB.

    I would suggest to toggle a pin when you do a read from flash (access the flash word directly with its address) and toggle it again after you finish, and use a logic analyzer to check the width pulse, i.e. the time it took to read the word from flash. 

Children
No Data
Related