Microprocessors

Base Knowledge

  • C programming language.
  • Digital and analog electronics.

Teaching Methodologies

  • Theoretical classes – the expositive method is used, complemented with a theoretical-practical approach through which exercises are illustrated and solved.
  • Laboratory classes – a Project-based-learning approach is used; there is a set of practical assignments in which the intended functional and temporal specifications are described, and students are challenged to develop, test and validate application code that meets these specifications.

Learning Results

  • To understand the operation principle of a microprocessor / microcontroller.
  • To learn how to program an 8-bit microcontroller.
  • To learn how to program an embedded system based on an 8-bit microcontroller.

Program

Theoretical Component

  • Overview of the design of microprocessor/microcontroller (µP/µC) based systems.
  • Cross development tools.
  • Data and code memories.
  • Case study – 8051 microcontroller (µC):
    • External architecture: Pinout; Data, control and address buses.
    • Internal architecture.
    • Address spaces – Input/Output Space, Data Space and Code Space.
    • Internal Peripherals – Timer Circuit, Interrupt Management System, and Serial Receiver/Transmitter.
    • 8051 µC Programming (C language and in-line assembly).
    • Multiprocessor systems with master-slave architecture.
  • Overview of other commercial microcontrollers.

Laboratory Component

  • Development of several laboratory projects based on a microcontroller compatible with µC 8051.
  • Development of a final project at the end of the semester, which involves all the skills acquired in the course.
  • Classes take place in the Microprocessors Laboratory.

Curricular Unit Teachers

Internship(s)

NAO

Bibliography

Recommended

  • Silicon Labs, C8051F340 Datasheet (online https://www.silabs.com/documents/public/data-sheets/C8051F34x.pdf).
  • SDCC Compiler User Guide (online http://sdcc.sourceforge.net/doc/sdccman.pdf).

Complementary (at ISEC library)

  • D. Ibrahim. Microcontroller projects in C for the 8051. Newnes. ISBN 0-7506-4640-3.
  • M. Predko. Programming and customizing the 8051 microcontroller. McGraw-Hill. ISBN 0-07-913646-X.
  • S. Mackenzie. The 8051 Microcontroller. Prentice Hall. ISBN 0-02-373660-7.
  • S. Yeralan, A. Ahluwalia. Programming and Interfacing the 8051 Microcontroller. Addison Wesley. ISBN 0-201-63365-5.
  • K. Ayala. Practical Applications of the 8051 Microcontroller. West Publishing Company. ISBN 0-314-20188-2.
  • V. Gonçalves. Sistemas Electrónicos com Microcontroladores. ETEP. ISBN 972-8480-04-0.
  • A. Tavares, C. Lima, J. Cabral, J. Mendes, P. Cardoso. Programação de Microcontroladores. ETEP. ISBN 978-972-8480-32-5