User Activity

Posted on May 05, 2014 at 21:04Howdy,   On the STM32F103, if I configure PB15 as AF_PP, and SPI2 as CPHA=0, CPOL=0, then enable SPI transmit a few words, and then disable SPI2, would the output on PB15 stays at the last state (which is 0 because CPO...
Posted on September 04, 2013 at 17:19Hi there,    If PortD is originally configured as input and then the following code is executed, how long will it take 0x5AA5 to appear on portD after the ->CRL assignment completes?  Can't seem to find this in t...
Posted on August 24, 2013 at 18:41Hi there,    If I setup both ADC1 and ADC2 in independent mode and set ADC1 to scan channels 1,2,3 using DMA and setup ADC2 for analog watchdog on channel 2 having different sampling times for channel 2 between the ...
Posted on August 01, 2013 at 03:43Howdy,     So I enabled DMA1, on STM32F103, copying two 32-bit words (set and clear PF.15) from flash to GPIOF->BSRR at 25kHz.  I then run this code with all interrupts disabled while(1) {     GPIOF->BSRR = 1 << 14;...
Posted on July 31, 2013 at 05:48Howdy,     Need to output a 25kHz squarewave.  Besides the obvious using a timer ISR, what other ways this can be accomplished? 1. Timer PWM?  As far as I know, no timer can output a PWM out to PF.15.  Am I wrong? 2. ...