Posted on April 11, 2018 at 11:16
Good day Sirs, I have the following issue:
MCU: STM32L152ZE
Software library: Standart Peripherial Library (supporting old project)
I have need to count external pulses on PB3 input using TIM2 CH2.
Pul...
Posted on October 29, 2014 at 15:24
Good afternoon, I have deal with STM32L152ZD RTC in alarm mode( alarm B), I need to make it interrupt every rtc_period seconds. Clocking source is LSE with frequency 32768 Hz, RTC working good, but interrupts ...
Posted on July 28, 2014 at 14:07
Good afternoon, I am trying to init UART5 on STM32L152 and it is work wrong.
In the end of the
sw_uart5_init function
0xAA (0b10101010) value issent to the UART5 data register. The transmission result, r...
Posted on July 11, 2014 at 15:58The original post was too long to process during our migration. Please click on the attachment to read the original post.
Posted on February 14, 2013 at 13:47The original post was too long to process during our migration. Please click on the attachment to read the original post.
Posted on April 12, 2018 at 10:56
Dear
JW,
following your recomendation I have created minimal project and it works, timer conts external pulses... but counts with pulses loss at start.
EXTERNAL PULSES ON PIN: 6 11 16 21 26 251
TIMER COU...
Posted on April 11, 2018 at 19:03Using external wire jumper and voltmeter found:PB3 connected to VDD(3.3V) IDR3=1PB3 connected to GND IDR3=0.I think no bad solder.Still no idea,Daniil Kupchyk
Posted on April 11, 2018 at 14:52
Thanks for attention,waclawek.jan!
Here the read values of TIM2 and GPIOB registers from debugger.
TIM2 DMAR register value is a surprise. DMA not used in this project, blank project - only timer init.
...
Posted on October 30, 2014 at 10:35
One problem has been detected, we have to use some kit of masks,
RTC_AlarmMask_DateWeekDay
make interrups available.
RTC_AlarmStruct.RTC_AlarmMask = RTC_AlarmMask_DateWeekDay;
Now i...
Posted on October 30, 2014 at 08:28
Problem has been detected: ^)
// [5] Turn on alarm mask, RTC will make an event each time it count to the seconds value in RTC_AlarmTime.
// RTC_AlarmMask_Seconds not working - right way is to use R...