Hello,I know that there are voltage/wait states limits for the FLASH memory. Do they apply also for the EEPROM memory? I don't believe so, also the StdLib function FLASH_SetLatency() doesn't have analogous EEPROM function and etc. Also I didn't find ...
Hello.I'm using STM32L151C8T6 for some simple task. In the beginning I used MSI clock and everything was fine. But I decided to switch to HSI and now I got problems using USART1, namely I think that the USART1 periphery isn't properly initialized due...
Posted on May 26, 2017 at 01:19
Hello. I'm trying to use the RTC Alarm interrupt to execute code at a specific time interval.
I did everything, but the interrupt code never gets executed. However, all registers seems to be properly set.
Fin...
Posted on March 09, 2017 at 11:01
Hello!
I would like to use the ADC with DMA in order to do the following:
- manually start the ADC in (discontinuous) scan mode
- sample 3 channels
- put the adc result with DMA to some array.
- no...
Posted on December 28, 2016 at 10:22The original post was too long to process during our migration. Please click on the attachment to read the original post.
The other bug was if statement as follows:if( SysTickVar < basicTimer )
IWDG_ReloadCounter();
continue;I added IWDG_ReloadCounter() and forgot to add the {} brackets. basicTimer stood with value 0 and the consequences of that are obvious.
Thanks a lot! I knew I had to verify Vdd and the wait states, but to be honest I was lazy to do that. However my excuse is that the MCU runs at 16 MHz and Vdd is 3.5V when debugging. Despite that your comment is pretty important to be kept on mind.
At the end of the while() loop I'm calling sysinit() and Dummy_USART_Init() again because if the Vdd drops below some level, the MCU enters STOP mode. I commented out RCC_DeInit() in the beginning of sysinit() and now the MCU runs much more stable. (...
Posted on February 01, 2018 at 09:32
Argh, I solved the problem some time after I posted my question and because half an year has passed I forgot the details, but the key moment is as follows:
If you're looking my code in the first post, in th...