Article count:1803 Read by:2224028

Featured Content
Account Entry

MPLAB® Harmony 3.0 Tutorial: Basics 08

Latest update time:2019-09-24
    Reads:


MPLAB® Harmony Basics (08)

—— Using Harmony 3 to help
Motor application development

Microchip Technology

32-bit Product Department



To help you use the latest version of MPLAB® Harmony 3 software framework, our 32-bit product department experts have written a series of tutorials . Today, we recommend the eighth tutorial.



This article will list in detail the steps to configure SAME70 using Harmony 3, such as system clock, interrupt, AFEC, PWM, QEI, UART, IO pins. After a simple configuration/automatic code generation, the MCU initialization program, hardware abstraction layer, and hardware driver required for motor control are complete.


According to the configuration of this article:


AFEC sampling is triggered by the PWM module; after all analog channels have been converted, an AFEC interrupt request is generated; and the dual sampling and holding mode can achieve simultaneous sampling of two analog signals.


The PWM module outputs three complementary PWM signals.


The UART module is used to support X2CScope communication. X2CScope is a serial port debugging plug-in in MPLAB X; it can be used to easily track and modify all global variables in the program, and realize functions such as software oscilloscope and real-time numerical display.

Please read the original article and download this article now!



Latest articles about

 
EEWorld WeChat Subscription

 
EEWorld WeChat Service Number

 
AutoDevelopers

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building,Block B, 18 Zhongguancun Street, Haidian District,Beijing, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号