STM32F103 - IAP (In Application Programming) - Clock and Speed?
Currently have a STM32F103 running HSE + pll with a SysClk of 72 mhz.
I want to use one of the upper flash memory blocks for storing application information - which means I need to erase and program the flash memory from my application (I do this all the time when using an STM32F4xx micro).
I am referencing App Note PM0074 - Programming manual - STM32F10xxx Flash memory.
microcontrollers
Page 10 has the statement "For write and erase operations on the Flash memory (write/erase), the internal RC oscillator (HSI) must be ON."
There are no other statement relating to clock or speed anywhere.
Q1. Can I continue to use HSE+PLL and operate at 72 mhz and just turn on the HSI but not directly use it?
Q2. Do I have to switch the clock FROM HSE+PLL to HSI before I can erase/program flash memory?
Q3. If I have to switch to HSI - do I need to operate at the internal 8 mhz frequency?
Thanks in advance for any insight - the documentation (this app note and others) are NOT very clear on the clocking requirements.
