Abstract

With the improvement of science and technology, the application of ARM is more and more extensive, Cortex-M3 is a new product launched by ARM. Cortex-M3 is a 32-bit processor core, using ARMv7-M architecture, which has high advantages in low cost and low power consumption. In this paper, the ARM Cortex-M3 and STM32 microcontrollers are studied. By selecting a semiconductor STM32 F103ZET6 development board, the basic module GPIO of STM32 is studied, and then the timer is used to generate PWM (pulse width modulation) output. PWM is an effective technique that uses the digital output of a microprocessor to get command of analog circuits, and is widely applied in many fields from measurement and communication to rate of work command and conversion. Therefore, the study of PWM technology has very important practical significance [1] [2]. The time of the timer is the period of the PWM. By calculating the square wave frequency and duty cycle, the timer and IO port are configured, and finally the PWM output is completed.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call