TKT-3500 Microcontroller systems · 2011-09-06 · Lect 1 (Wk 35): Introduction to the course and...
Transcript of TKT-3500 Microcontroller systems · 2011-09-06 · Lect 1 (Wk 35): Introduction to the course and...
TKT-3500
Microcontroller
systems
- Course info
Teemu LaukkarinenDepartment of Computer Systems
Tampere University of Technology
Fall 2011
Copyright Tampere University of Technology Department of Computer Systems
#2/11
Course outline
Lectures by Teemu Laukkarinen, [email protected] Tuesday 9-12 TB224 (period 1)
Tuesday 10-12 TB224 (period 2)
First lecture Tue Aug. 30th 2010
Voluntary but heartly recommended
In Finnish, although material in English
Project work guidance by Teemu Laukkarinen, Markku Hänninen, Heikki Kultala Mandatory
Exam dates No yet decided
WWW http://www.tkt.cs.tut.fi/kurssit/3500
Copyright Tampere University of Technology Department of Computer Systems
#3/11
Course info
This course belongs Master studies (DI-
tutkinto).
It is targeted for 3rd-nth study year
This course can be included (at least) in the
following majors
Sulautetut järjestelmät,
Ohjelmoitavat alustat ja laitteet
Tietokone- ja prosessoritekniikka
Langattomat sensoriverkot
Copyright Tampere University of Technology Department of Computer Systems
#4/11
Course material
Lecture slides and lectures
Robert Reese, Microprocessors: From Assembly to C with the PIC18Fxx2, Charles River Media, 2005 Saatavuus hämärä
http://www.abebooks.co.uk/servlet/BookDetailsPL?bi=4779800717&searchurl=bt.x%3D54%26bt.y%3D17%26sts%3Dt%26tn%3Dmicroprocessors%2Bfrom%2Bassembly%2Bto%2Bc%2Busing%2Bthe
journal/conference papers?? (To be decided) Copyright of papers is owned by IEEE
You must follow IEEE terms and conditions
Can be downloaded from tut.fi –domain
Self-study additional information (not required for passing the course)
Copyright Tampere University of Technology Department of Computer Systems
#5/11
Preliminary lecture Contents in fall 2011
Lect 1 (Wk 35): Introduction to the course and microcontrollers
Lect 2 (Wk 36): PIC18LF8722, C language programming - part 1
Lect 3 (Wk 37): Serial interfaces – part 1 (USART, RS-232), Interrupts
Lect 4 (Wk 38): Timers and other peripherals
Lect 5 (Wk 39): Serial interfaces – part 2 (I2C, SPI)
Lect 6 (Wk 40): External modules
Lect 7 (Wk 41): C language programming - part 2, Assembly
Exam week (w42) - No lecture
Lect 8 (Wk 43): HW design
Lect 10 (Wk 44): AD- and DA conversion
Lect 11 (Wk 45): General/MCU programming design principles and methods
Lect 11 (Wk 46): “Advanced” C methods, open source world
Lect 12 (Wk 47): Dependability
Lect 13 (Wk 48): Power consumption, Conclusions
No lecture on week 49 (6.12. Independence day)Possible additional stuff: embedded linux, small RTOSes..
Copyright Tampere University of Technology Department of Computer Systems
#6/11
Exam
Typically many small questions (2-3 point
each) and a few larger (6 points each)
Questions from lecture notes
Perhaps some question from excercises
The course project must be successfully
completed before you can attend an exam
Questions will be in Finnish
Copyright Tampere University of Technology Department of Computer Systems
#7/11
Exercises
Assistants: Teemu Laukkarinen
Markku Hänninen
Heikki Kultala
Contact: [email protected], [email protected]
The projects work consists of a set of small exercises Less last week’s panic, we hope…
Deadline usually in two weeks
Exercises: In TC419, Tue 14-16 (Markku), Wed 12-14 (Teemu), Fri 10-12 (Heikki) All needed software is installed on the PCs of the class and can
be used whenever the class is not reserved for other courses
Ensure that you have the access rights to lab Return form to Timo Rintakoski (TH308)
Copyright Tampere University of Technology Department of Computer Systems
#8/11
Exercises (2)
Project work is carried out in groups of 1-2 students
Attending the exercise hours is voluntary The following assignment is introduced
Tools and algorithms are introduced
Hints are given
Questions are answered
However, working exercise must be demostrated to assistants during exercise hours
Completing each of the exercises is mandatory The returns have to be in time
The returns have to be accepted
Can and should be done also in own time
Copyright Tampere University of Technology Department of Computer Systems
#9/11
Exercises (3)
Completed project work is valid for three successive exams
10 mandatory exercises
Includes demostration and source code return
3 bonus exercises (+ feedback)
2-3 bonus points / exercise
Max 6 bonus points to the exam
Cannot be used to ’upgrade’ a failed (grade 0) exam
More detailed description about the project work will be given during
the first exercises
Starts at the 2nd week!
Introductory questions on the first week
Schedule follows lectures but exercises can be started as
soon as they are published in the web pages
Exercise demonstrated or returned late will result in 1 point
reduction to the exam for every starting week the exercise is
late
Copyright Tampere University of Technology Department of Computer Systems
#10/11
Preliminary schedule for exercises (1)
Week 35 – Introductory questions Week 36 – MPLAB tutorial Week 37 – USART and interrupts Week 38 – Timers, watchdog, and configuration bits Week 39 – SPI (+ accelerometer) Week 40 – SPI (+ accelerometer) 2nd week Week 41 – I2C (+ temperature sensor) and assembly Week 42 – exam week Week 43 – I2C (+ temperature sensor) and assembly 2nd
week Week 44 – Motor control Week 45 – Introduction to PCB design Week 46 – AD converter, floating point arithmetic Week 47 – Measurements Week 48 – Bonuses and boomerangs Week 49 – Bonuses and boomerangs Week 50 – exam week
Copyright Tampere University of Technology Department of Computer Systems