Examples are added as course progresses. Examples might be improved or expanded after the lecture to reflect outcomes of in class discussion. Actual examples discussed in class may be slightly different. Some examples may require editing compiler locations in configuration files in order to run on your computer.
| Subject | Ethernet Board | USB Board | RTC & Display Board |
|---|---|---|---|
| Manufacturer | Ethernet-DK.pdf | C8051F34x-DK.pdf | C8051F411-EK.pdf |
| Very minimal Blinky demo program | E11_FIRST | N/A | |
| Minimum project template at full CPU speed | E12_BASIC | N/A | |
| Project template with serial port console | E13_CONSOLE | U13_CONSOLE | |
| Project template with serial port console for Keil | E13_CONSOLE_KEIL | U13_CONSOLE_KEIL | |
| Project template with serial port console | E13_CONSOLE_NOECHO | ||
| Modifying Flash memory and accessing scratch pad | E14_FLASH | U14_FLASH | |
| Demonstration of one time waiting on a timer | E15_WAIT_TIMER | U15_WAIT_TIMER | |
| Demonstration of scheduling a short repetitive task using a timer and communicating with it from main program | E16_INT_TIMER | U16_INT_TIMER | |
| More elaborate use of a timer interrupt for handling keyboard input and generating digital output | E16_INT_TIMER_ELABOR | ||
| 6 Channel PWM generator based on a timer and timer interrupt | E17_GENPWM_INT | N/A | |
| 6 Channel PWM generator based on a PCA and PCA interrupt | E18_GENPWM_PCAI | N/A | |
| 6 Channel PWM generator based on a PCA and PCA interrupt with 16-bit sfr operations | E18_GENPWM_PCAI_ALT | N/A | |
| 6 Channel square wave generator based on a PCA and PCA interrupt | E19_GENFRQ_PCAI | N/A | |
| 6 Channel PWM generator based on a PCA and direct output to pins | E20_GENPWM_PCAX | N/A | |
| Demonstration of non-reentrant arithmetic operations | E22_REENTRANCE | ||
| Mixed Signal | |||
| AD in-thread measurements | E21_MEASURE_WAIT | ||
| AD in-thread measurements | E21_MEASURE_WAIT_8CHAGAIN | N/A | N/A |
| AD timer interrupt synchronized measurements | E22_MEASURE | ||
| AD timer interrupt synchronized multichannel measurements | E23_MEASURE8 | N/A | |
| DA application with timer interrupt synchronized function generator | E24_PROGGEN | N/A | N/A |
| AD and DA application with timer interrupt synchronized 1 channel DSP filter | E25_DSP_FRAMEWORK | N/A | |
| AD and DA application with timer interrupt synchronized 9 channel in and 2 channel out | E26_CTRL_FRAMEWORK | N/A | |
| Menu-driven user interface with LCD and buttons (works only with Old Keil, SDCC port broken) | N/A | N/A | L01_F411EK_OKEIL |
| Menu-driven user interface with LCD and buttons (works only with Old Keil, SDCC port broken) | N/A | N/A | L01_F411EK_SDCC |
| USB Human Interface Device - mouse | N/A | UU1_MOUSE.zip | N/A |
| USB Human Interface Device - keyboard | N/A | UU2_KEYBOARD.zip | N/A |
| USB Human Interface Device - gamepad | N/A | TBA | N/A |
| USB Human Interface Device - joystick | N/A | TBA | N/A |