(Prerequisites: Grade of C or better in ECE 3714, CSE 1384, and credit or registration in CSE 2383). Three hour lecture. Three hour laboratory. Architecture of microprocessor-based systems. Study of microprocessor operation, assembly language, arithmetic operations, and interfacing.
Mode of delivery: face-to-face with lecture and labs (F2F sections) or asynchronous lecture and lab (distance sections)
Learning objectives: after successfully completing this course, the students will be able to:
Translate C code snippets to PIC24 assembly language (3a, 3e, 3k)
Write C programs that perform hardware interfacing tasks for the PIC24.
Build a single board microcontroller system that contains a PIC24, a serial EEPROM, an 8-bit digital-to-analog converter, and an asynchronous serial interface.
Explain the protocols used in I2C, SPI, and asynchronous serial communication and use peripherals that have these interfaces
Interacting with the PIC24 Family in Assembly and C by Bryan Jones (this e-book is accessed through the Canvas page under resources).
Zybooks: C Programming (this e-book is accessed through the Canvas page under resources)
Grades are determined by:
3 tests: 30% (test 1: 10%, test 2: 10%, test 3: 10%)
Homework: 10% (Zybooks 4%, Ebook 6%)
Final exam (NOT optional; can replace the lowest test grade): 20%
Laboratory assignments: 30%
One laboratory practicums: 10%
A: ≥90
B: <90 - 80
C: <80 - 70
D: <70 - 60
F: <60
The final exam will be administered according to the University exam schedule:
Final exam: Monday, May 12, 2025, 12:00 - 3:00 PM
All regrade requests must be made within one week of receipt of the returned grade. All grades are posted on Canvas. Note that the overall grade shown on Canvas may not be accurate until all grades (including the final exam) have been entered.
Lecture topics (45 contact hours)
Review of number systems (binary, decimal, hexadecimal) (2 hours)
Refresher on digital logic (1 hours)
Introduction to stored program machines (2 hours)
Modification of a primitive microcontroller using simulation tools (3 hours)
PIC24 assembly language (10 hours)
Introduction
Processor architecture
Basic addressing forms
Data movement instructions
Instructions which operate on 8- and 16-bit data
Basic control flow instructions
Extended precision and signed operations
Control flow for extended precision and signed operations
Assembly language structures (2 hours)
Pointers and arrays
Combined addressing modes for pointer usage
Stacks in Assembly (2 hours)
Use in subroutines
Parameter passing conventions
PIC24 hardware introduction (3 hours)
Basic interfacing with a PC over a serial connection (1 hours)
PIC24 general purpose digital I/O configuration (2 hours)
Interrupts (6 hours)
Interrupt service routines
Introduction to timers
Asynchronous serial I/O (3 hours)
UART peripheral
RS-232 protocol
Synchronous serial I/O (5 hours)
SPI bus
I2C bus
Data converters (3 hours)
Covering analog to digital
Digital to analog conversion
Laboratory topics (30 contact hours)
PIC24 assembly language (9 hours)
Processor architecture
Basic addressing forms
Data movement instructions
Instructions which operate on 8- and 16-bit data
Basic control flow instructions
Extended precision and signed operations
Control flow for extended precision and signed operations
Assembly language structures (3 hours)
Pointers and arrays
Combined addressing modes for pointer usage
Stacks in Assembly (3 hours)
Use in subroutines
Parameter passing conventions
PIC24 general purpose digital I/O configuration (3 hours)
Tasks (3 hours)
Timers (3 hours)
Synchronous serial I/O (3 hours)
Data converters (3 hours)
The following policies for course communication apply for all students:
You are required to check your MSU email account regularly. This is considered an official means of communication by MSU for distance education students.
The course materials will be accessed through Canvas.
All class announcements will be posted on the Canvas website.
Assignment submissions will utilize Canvas unless otherwise specified by the instructor.
You are required to have access to a computer that connects to the internet.
Students should not discuss specific exam questions.
Students are encouraged to discuss homework together in a group, but the assignment should be completed individually.
The following policies for course communication apply to students enrolled in distance sections:
All deadlines are given in the Central time zone.
Faculty office hours will be hosted in WebEx. Students can join using a computer or smartphone app.
Students can correspond with each other via the general course discussion board. Please note that collaboration on individual assignments is not acceptable.
Students should expect to log in to Canvas no less than 3 times per week to access course information, lectures, and updates.
Instructor-provided class materials are the only resources allowed while taking quizzes. All quizzes, homework, laboratory assignments, and exams are INDIVIDUAL assignments. If you share quiz questions, copy another student's work, or allow another student to copy your work, then you are guilty of academic dishonesty.
All students must provide laptops which meet the Bagley College of Engineering's computer specifications. In addition, all students must have Internet access.
Distance students will also need:
Webcam and microphone (computer or smartphone) to upload video responses to assignments or participate in virtual meetings / office hours.
Video recording and editing software (Camtasia is available to download free from MSU ITS)
As stated in Academic Operating Policy 12.09, “A policy should include, but is not limited to, how the instructor defines class attendance, particularly as it pertains to in-class responsibilities that go beyond the student’s mere presence in the classroom, how attendance relates to student learning outcomes, the extent of credit or penalty, how excused and unexcused absences are measured, and how all absences are recorded.”
This course is a face-to-face instructional class. Please refer to Academic Operating Policy 12.09 regarding attendance expectations and accommodations.
If you attend the class but forget to bring your student ID card, forget to scan your ID card, etc., you will be counted as absent. To apply for an excused absence browse to the Dean of Students website then click or "Submit Absence(s) Verification" or bring your documents to the Dean of Students (dos@msstate.edu) for verification purposes. After the documents are verified by the Dean of Students, submit the verified document to your instructor.
Distance students are expected to “attend” every class meeting by watching assigned lecture videos and reading assigned material. Both lecture and lab meetings are asynchronous, which means you can “attend” (e.g., watch videos) at a time convenient for your weekly schedule. However, you must attend class and turn in assignments according to the weekly class schedule and assignment due dates.
Tests are given outside class hours, to provide additional time for students to work on the problems. They take place in the Micro Lab, Simrall 329; see Canvas for dates. Each test is 2 hours. If you cannot make the test date, e-mail the instructor at least one week in advance to schedule an alternate time. The final will take place in the classroom. The time and date are given in the MSU exam schedule. You are expected to use calculators on all tests and the final. You may use any type of calculator except for software applications on your computer. You may bring a single, double-sided page of notes to all tests and the final exam. The notes must be handwritten.
The exams for this course will be administered through the Honorlock proctoring system. This system will prevent the use of outside web resources, additional devices, and textbooks or notes from being used during the exam. This system will also prevent cheating by speaking to other students in class, both online or in the same room. Additional measures may be taken such as no back-tracking to previously answered questions, randomized answers, questions on test randomly pulled from large question pools, and randomized question order.
Honorlock statement
We will be using Honorlock, an online proctoring service, to proctor your exams this semester. You will need a computer, webcam, photo ID, and a stable Internet connection. You do not need to create an account, pay a fee, or schedule an appointment in advance. To get started, you will need Google Chrome and to download the Honorlock Chrome Extension. You can download the extension at http://www.honorlock.com/extension/install. You should also review the information provided in Mississippi State University’s Honorlock Resources for Students guide. It's very important to check your system compatibility and Internet connection speed in advance as described in the guide. Honorlock support is available 24/7/365 at https://honorlock.com/support. If you encounter any issues, you are strongly urged to contact them by live chat within the Honorlock session.
If you connect a new device to your PIC, such as an accelerometer, gyro, humidity sensor, MP3 player, etc., you can receive up to 50 bonus points to be added to one of test grades. See the bonus project page for more information.
For information about the labs and practicum, see the Lab Policy Summary. In Lab 0, the lab TAs will review the lab policies. Before the practicum occurs, the TAs will update the practicum page with current information.
In the event that face-to-face classes are suspended due to the pandemic or its effects, the instructor will continue instruction in a manner that best supports the course content and student engagement. In this event, all instructors will notify all students of the change via their university email address (the official vehicle for communication with students). At that time, they will provide details about how instruction and communication will continue, how academic integrity will be ensured, and what students may expect during the time that face-to-face classes are suspended. If a student becomes unable to continue class participation, the student should contact their instructor and advisor for guidance.
Mississippi State University has an approved Honor Code that applies to all students. The code is as follows:
"As a Mississippi State University student I will conduct myself with honor and integrity at all times. I will not lie, cheat, or steal, nor will I accept the actions of those who do."
Upon accepting admission to Mississippi State University, a student immediately assumes a commitment to uphold the Honor Code, to accept responsibility for learning, and to follow the philosophy and rules of the Honor Code. Students will be required to state their commitment on examinations, research papers, and other academic work. Ignorance of the rules does not exclude any member of the MSU community from the requirements or the processes of the Honor Code. For additional information please visit the MSU Honor code website.
Students are encouraged to find and work in study groups to complete homework assignments, discuss lab assignments, and prepare for tests. In a group, students may share portions of a solution to an assignment, discuss their approach, and make solution suggestions to others in the group. However, the solution for each problem must be determined only by that student, rather than a copy of others' efforts. If you COPY ANOTHER STUDENT'S WORK, or ALLOW ANOTHER STUDENT TO COPY YOUR WORK, then you are guilty of academic dishonesty.
MSU is committed to complying with Title IX, a federal law that prohibits discrimination, including violence and harassment, based on sex. This means that MSU’s educational programs and activities must be free from sex discrimination, sexual harassment, and other forms of sexual misconduct. If you or someone you know has experienced sex discrimination, sexual violence and/or harassment by any member of the University community, you are encouraged to report the conduct to MSU's Director of Title IX/EEO Programs at 325-8124 or by e-mail to titleix@msstate.edu. Additional resources are available at http://www.msstate.edu/web/security/title9-12.pdf, or at http://students.msstate.edu/sexualmisconduct.
Mississippi State University values the safety of all campus community members. Students are encouraged to register for Maroon Alert texts and to download the Everbridge App. Visit the Personal Information section in Banner on your mystate portal to register. To report suspicious activity or to request a courtesy escort via Safe Walk, call University Police at 662-325-2121, or in case of emergency, call 911. For more information regarding safety and to view available training resources, including helpful videos, visit ready.msstate.edu.
Mississippi State University is committed to providing equitable access to learning opportunities for all students. The Disability Resource Center (01 Montgomery Hall) collaborates with students who have disabilities to arrange reasonable accommodations. If you have, or think you may have, a disability, please contact drc@saffairs.msstate.edu or 662-325-3335 to arrange a confidential discussion regarding equitable access and reasonable accommodations. Disabilities may include, but are not limited to, conditions related to mental health, chronic health, attention, learning, autism, brain injury, vision, hearing, mobility, speech, or intellectual disabilities. In the case of short-term disabilities (e.g., broken arm), students and instructors can often work to minimize barriers. If additional assistance is needed, please contact the Disability Resource Center.
The Mississippi State University Syllabus contains all policies and procedures that are applicable to every course on campus and online. The policies in the University Syllabus describe the official policies of the University and will take precedence over those found elsewhere. It is the student's responsibility to read and be familiar with every policy. The University Syllabus may be accessed at any time on the Provost website under Faculty and Student Resources and at https://www.provost.msstate.edu/faculty-student-resources/university-syllabus.
Copyrighted materials within the course are only for the use of students enrolled in the course for purposes associated with this course and may not be retained or further disseminated.
Course materials must not be posted on any website or added to any database without the instructor’s written permission. Do not distribute test problems, homework, or any other materials. Do not post course materials on websites such as chegg.com, slader.com, etc. Violations of this policy will be referred to the Honor Court.