| 数据搜索系统,热门电子元器件搜索 |
|
PM0068 数据表(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0068 数据表(HTML) 9 Page - STMicroelectronics |
|
9 / 31 page ![]() PM0068 Reading/programming the STM32F101xF/G and STM32F103xF/G embedded Flash memo- Doc ID 17100 Rev 2 9/31 In case of non-availability of a high frequency clock in the system, Flash memory accesses can be made on a half cycle of HCLK (AHB clock), the frequency of HCLK permitting (half- cycle access can only be used with a low-frequency clock of less than 8 MHz that can be obtained with the use of HSI or HSE but not of PLL). This mode can be chosen by setting a control bit in the Flash access control register. Note: Half-cycle access cannot be used when there is a prescaler different from 1 on the AHB clock. Access time tuner In order to maintain the control signals to read the Flash memory, the ratio of the prefetch controller clock period to the access time of the Flash memory has to be programmed in the Flash access control register. This value gives the number of cycles needed to maintain the control signals of the Flash memory and correctly read the required data. After reset, the value is zero and only one cycle is required to access the Flash memory. 2.2.2 D-Code interface The D-Code interface consists of a simple AHB interface on the CPU side and a request generator to the Arbiter of the Flash access controller. D-code accesses have priority over prefetch accesses. This interface uses the Access Time Tuner block of the prefetch buffer. 2.2.3 Flash access controller Mainly, this block is a simple arbiter between the read requests of the prefetch/I-code and D- Code interfaces. D-Code interface requests have priority over I-Code requests. 2.3 Flash program and erase controller (FPEC) The FPEC block handles the program and erase operations of the Flash memory. The FPEC consists of twelve 32-bit registers. ● Flash access control register (FLASH_ACR), common to bank 1 and bank 2 ● FPEC key register (FLASH_KEYR), dedicated to bank 1 ● Option byte key register (FLASH_OPTKEYR), common to bank 1 and bank 2 ● Flash control register (FLASH_CR), dedicated to bank 1 and option bytes programming ● Flash status register (FLASH_SR), dedicated to bank 1 ● Flash address register (FLASH_AR), dedicated to bank 1 ● Option byte register (FLASH_OBR), common to bank 1 and bank 2 ● Write protection register (FLASH_WRPR), common to bank 1 and bank 2 ● FPEC key register2 (FLASH_KEYR2), dedicated to bank 2 ● Flash control register2 (FLASH_CR2), dedicated to bank 2 ● Flash status register2 (FLASH_SR2), dedicated to bank 2 ● Flash address register2 (FLASH_AR2), dedicated to bank 2 An ongoing Flash memory operation will not block the CPU as long as the CPU does not access the Flash memory. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |