Equipment Course material - Part II

 

[Under Construction]

Home
News
Biography
Grad Student Info
Class Info
Publications
Useful Links

 

Part II Course Contents (Textbook 2)        


 Chapter 1 8051 Architecture Overview ………………….1

1.0 Introduction 2                 Covered  09/21

1.1 Overview of 8051 Micro-controller 2             Covered  09/21

1.2 On-Chip Memory Organization 5             Covered  09/21

1.3 Special Function Registers 11             Covered  09/21

1.4 Multiplexing Data and Address Bus 17         Covered  09/21

1.5 Tutorial Questions 19            

Chapter 2 Intro to Silicon Labs’ C8051F020 …..…….. 21

2.0 Introduction 22             Covered  10/05

2.1 CIP-51 22             Covered  10/05

2.2 C8051F020 System Overview 24             Covered  10/05

2.3 Memory Organization 26             Covered  10/05

2.4 I/O Ports and Crossbar 29             Covered  10/05

2.5 12-Bit Analog to Digital Converter 31             Covered  10/05

2.6 8-Bit Analog to Digital Converter 32             Covered  10/05

2.7 Digital to Analog Converters and Comparators 32             Covered  10/05

2.8 Voltage Reference 33             Covered  10/05

2.9 Tutorial Questions 38

Chapter 3 Instruction Set ……………………………….. 39

3.0 Introduction 40             Covered  10/12

3.1 Addressing Modes 40         Covered  10/12

3.2 Instruction Types 43             Covered  10/19

3.3 Tutorial Questions 69

Chapter 4 ASM Directives ...…………………………….. 71

4.0 Introduction 72

4.1 Address Control 72

4.2 Symbol Definition 74

4.3 Memory Initialization/Reservation 75

4.4 Segment Control 78

4.5 Example Program Template 80

4.6 Tutorial Questions 81

Chapter 5 System Clock, Crossbar and GPIO ...……. 83

5.0 Introduction 85                     Covered  11/2

5.1 Oscillator Programming Registers 86         Covered  11/2

5.2 Watchdog Timer 88                

5.3 Digital Crossbar 90

5.4 GPIO 93                              Covered  10/19

5.5 Crossbar and GPIO SFRs 96          Covered  10/19

5.6 Ports 4 through 7 103              Covered  10/19

5.7 Tutorial Questions 106

Chapter 6 C8051F020 C Programming ………….……109

6.0 Introduction 110             Covered  11/16

6.1 Register Definitions, Initialization and Startup Code 110         Covered  11/16

6.2 Programming Memory Models 111            

6.3 C Language Control Structures 115             Covered  11/16   

6.4 Functions 122             Covered  11/16

6.5 Interrupt Functions 123             Covered  11/16

6.6 Re-entrant Functions 127        

6.7 Pointers 127             Covered  11/16

6.8 Summary of Data Types 129         Covered  11/16

6.9 Tutorial Questions 130             Covered  11/16

Chapter 7 Expansion Board for C8051F020 Target Board …………………………………………. 131

7.0 Introduction 132

7.1 Starting a Project 134

7.2 Blinking Using Software Delays 135

7.3 Blinking Using a Timer 138

7.4 Programming the LCD 142

7.5 Reading Analog Signals 151

7.6 Expansion Board Pictures 153

7.7 Circuit Diagram of the Expansion Board 154

7.8 Expansion Board Physical Component Layout 155

Chapter 8 Timer Operation and Programming ….…. 157

8.0 Introduction 158             Covered  12/14

8.1 Functional Description 159         Covered  12/14

8.2 Timer Programming 160         Covered  12/14

8.3 Timer SFRs 161         Covered  12/14

8.4 Timers 0 and 1 Operating Modes 161         Covered  12/14

8.5 Timers 2, 3 & 4 Operating Modes 164         Covered  (Timer 3 only) 12/14

8.6 CKCON Register 170             Covered  12/14

8.7 Timers 0 and 1 SFRs 171         Covered  12/14

8.8 Timer 2 SFRs 173

8.9 Timer 3 SFRs 175             Covered  12/14

8.10 Timer 4 SFRs 176

8.11 Timer 2 - C Programming Example 178         Covered  12/14

8.12 Tutorial Questions 181

Chapter 9 ADC and DAC ………………………………. 183

9.0 Introduction 185

9.1 12-Bit ADC (ADC0) 186

9.2 Data Word Conversion Map (12-bit) 188

9.3 Programming ADC0 189

9.4 ADC0 SFRs 195

9.5 8-Bit ADC (ADC1) 199

9.6 Data Word Conversion Map (8-bit) 201

9.7 Programming ADC1 201

9.8 ADC1 SFRs 206

9.9 12-Bit DACs (DAC0 and DAC1) 208

9.10 Programming the DACs 210

9.11 DAC0 SFRs 212

9.12 DAC1 SFRs 213

9.13 Tutorial Questions 214

Chapter 10 Serial Communication ……………..……… 215

10.0 Introduction 216

10.1 UART0 and UART1 217

10.2 Programming the UARTs 219

10.3 Operation Modes 220

10.4 Interrupt Flags 225

10.5 UARTx SFRs 227

10.6 Blinking LED at Different Frequencies –

C Programming Example 229

10.7 Tutorial Questions 233

Chapter 11 Interrupts ……………………………………. 235

11.0 Introduction 236

11.1 Interrupt Organization 236

11.2 Interrupt Process 239

11.3. Interrupt Vectors 239

11.4 External Interrupts 240

11.5 Interrupt Latency 241

11.6 Interrupt SFRs 241

11.7 Tutorial Questions 249

 

Send mail to ymk (at) k-space.org with questions or comments about this site.
Last modified: February 14, 2012