Posted on May 17, 2011 at 12:46Hi all, I wish to output a fixed number of square wave pulses (e.g. 100) at a fixed frequency (e.g. 1 MHz). Using the example values, this effectively would mean toggling a port pin every 500ns! How would I go about th...
Posted on May 17, 2011 at 12:25Hi smart.avr In my code, I'm accessing the RCC Control register directly. The HSI is bit 0. Not using the libraries, but here's my code: #define STM32_RCC_CR_HSION 1 //Turn on the internal oscillator RCC->CR = RCC->C...
Posted on May 17, 2011 at 12:25Dear All, I am trying to get FLASH programming & erasing working. I have successfully got the ST Flash example program to work. I have my own RCC clock setup. When I use that, the flash does not program properly. Since...
Posted on May 17, 2011 at 12:25Hi In order to get the USART to work, you need to configure the TX pin to be alternate function push pull and the RX pin to be input floating. Look at the ST example 2 for USART (Use the USART1 interrupts to communicat...