- Jay Patel
The goal of this project is to explore all the functionality of the SAM D20 microcontroller and understand the operation of the underlying ARM Cortex M0+ chip. The projects aimed at building applications like a de-bouncing circuit, a calculator, etc. Understanding and analyzing the different functionalities of the microcontroller to engineer a product with minimal complexity was the primary goal.
The following topics were coverd in depth. Embedded system design challenge and metrics. Processor and IC technologies. Software and hardware architectures for embedded system design. Design flow and tools. The design of standard peripherals, microcontrollers, single-purpose and general-purpose processors. Advanced concepts of interfacing and communication protocols in embedded systems
- SAM D20 J18 32-bit ARM® Cortex®-M0+ Microcontroller
- Extension Board
- H-Bridge Motor
Atmel Studio Installation Guide HERE
The following steps guide to create a new project in Atmel Studio
- Open Atmel Studio
- Click on File a. Go to New → Project
- Click on GCC C ASF Board Project C/C++ a. Name the file b. Select the location of the file to save by clicking on the Browse button Click 'ok'
- Board Selection winow will appear
a. Click on the Device Family to select SAMD
b. Find ATSAMD20J18 in the list
c. Once that is clicked on, two options will appear at the bottom of the screen
- Select the User Board template - ATSAMD20J18. d. Click 'ok'
- Atmel Studio will then create and load in the new project
- In the Solution Explorer window, find the src file and expand it.
a. Open the 'main.c' file
b. This is the file where all the code goes in
- All the files shown in this projects are thee main.c files.
- GPIO: General Purpose Input Output related projects
- ADC/DAC: Analog to Digital Conversion and Digital to Analog Conversion related projects
- TC-PWM: Timer Control and Pulse Width Modulation related projects
- Filters-MotorSpeedMeasurement: Implementation of digital filters and motor speed measurement related projects
- Motor Control: DC motor control related projects
-
Special thanks to Dr. Youngsoo Kim at San Jose State University for his significant efforts in explaining all the difficult concepts of embedded systems.
-
Many thanks to Alan Chen and Marcus Garcia for their help in debugging various problems I faced executing the projects.