- This topic has 1 reply, 2 voices, and was last updated 2 years, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Mastering STM32 book support forum › CHAPTER 11 EX 7 100 kHz channel not working
I did everything as indicated in the book (I took the code on GIT). On the oscillogram, I see that channel 1 is working normally. However, channel 2 stays high for quite a long time, makes 4 cycles and changes the level to low, which also stays for a long time (“CH2 100 kHz. Wrong1.png”; “CH2 100 kHz. Wrong2.png”). The field of which the cycle will repeat. I could not understand what was the matter, and decided to reduce the frequency of channel 2 to 80 kHz and it helped, the channel started working (“CH2 80 kHz. Normal.png”). I think my STM32F030R8 controller has some kind of problem with working at a frequency of 100 kHz on TIM3 CH2.
Or I’m wrong?
I’ve to carefully check the example. I’ll let you know soon.