Course Information
Instructor - Prof. Tinoosh Mohsenin
Lecture: Tuesday, Thursday, 1:00 - 2:15
Discussion: Tuesday, Thursday, 4:00 - 5:15
Office Hours: by appointment
TA : Mohammad Akram
UTA : Kenneth Addo
Grader : Rachit Sood
Lecture
Thanks to previous instructors Alex Nelson, Prof. Robucci and Prof. Hamid Mahmoudi for preparing the original slides and other material for the class.
Discussions
Date |
Notes |
Info |
---|---|---|
9/6/2022 & 9/8/2022 | CMPE311:Guidelines, Discussion1, LED Blink Assembly Code, Part List, AVR Butterfly Pin Connections, Link to Download Atmel(Microchip) Studio (Free) | |
9/13/2022 & 9/15/2022 | Discussion 2 slides, Discussion2 | sample code |
9/20/2022 & 9/22/2022 | Discussion 3 | UART.asm |
9/27/2022 & 9/29/2022 | Discussion 4 | C Example |
10/04/2022 & 10/06/2022 | Discussion 5 | main file for uart test uart.c uart.h |
10/11/2022 & 10/13/2022 | Discussion 6 | Discussion 6 C Code, LCD Driver.c, LCD Driver.h |
10/18/2022 & 10/20/2022 | LinkedList.c | |
10/25/2022 & 10/27/2022 | Discussion 7 | Interrupt C Code, LCD Driver.c, LCD Driver.h |
11/1/2022 & 11/3/2022 | Discussion 8 | Timer C Code |
11/8/2022 & 11/10/2022 | Discussion 9 | ADC C Code, ADC Tutorial Extra |
Projects
All Projects will be assigned through Blackboard, please check your Blackboard.
Date Assigned |
Date Due |
Project Link |
Reading References |
---|---|---|---|
09/04/2022 | Part 1 - 9/11/2022 Part 2: 9/18, 11:59 PM No UART, Part 3: 09/25 with UART |
Assignment 1 | ATMega169 Datasheet, AVR Instructions,Butterfly User Guide to find the register location for joystick and buzzer |
09/25/2022 | Part 1 - 10/02/2022 Part 2 - 10/09/2022 |
Assignment 2 | Uart.c, Uart.h, Demo Example |
10/11/2022 | 10/23/2022 | Assignment 3 | input.txt, Demo Example |
10/26/2022 | 11/15/2022 | Assignment 4 | HW4 part connections |
Resources
Type |
Links |
---|---|
AVR Assembly | Beginner AVR Assembler - AVR Assembler Begginer Guide AVR Command Set - AVR Assembler Command Set |
AVR Assembler Macros | Useful Macros, How to use Macros |
Subroutines | Writing Subroutines |
AVR Parts | Parts List, JTAG Connection |
AVR Butterfly | ATMega169P Datasheet, Butterfly User Guide |
Valgrind | Quick-Start Guide |
C Examples | MIT OpenCourseWare, AVR C Code Examples |