Course Code: CENG 252
Academic Year: 2022-2023
This course provides an introduction to embedded controllers as they are used in real-time systems. The characteristics of real-time processes are examined. Assembly language and C program code are used in multi-file projects to program a derivative of the MC9S12 microcontroller. Students learn how to create, edit and make projects in the FreeScale CodeWarrior Integrated Development Environment. Lab projects are done to learn how to write single and multi-file Assembly and C language programs, programs with Assembly code invoked from a C file and parameter passing from C to Assembler. Various modules of MC9S12 are investigated, including A/D conversion, pulse width modulation and timer functions, including input capture and output compare.