Week #3: (2/4-8) WAM Chapters 5 & 6

Post Reply
rjagodowski
Posts: 2368
Joined: Fri Sep 04, 2015 6:59 pm

Week #3: (2/4-8) WAM Chapters 5 & 6

Post by rjagodowski »

This week we will discuss Chapters 5 & 6 in the What's A Microcontroller text. The text can be downloaded here.

Note that the RCTIME command starts an internal timer (counter) in the BS2 when the capacitor begins to discharge. Note, at this point the input pin of the BS2 sees the capacitor voltage as a Logic 1. When the voltage across the capacitor reaches 1.4 volts, the BS2 will now interpret the voltage at it's input pin to be a Logic 0 (this is an internal design spec of the BS2). At this point, the BS2 stops the timer and the resultant count is the number of 2 uSec time slices the capacitor needed to discharge to 1.4 volts from it's initial state.

Here are some handouts about the RCTIME command used in these chapters:
RCTime Command.pdf
(458.42 KiB) Downloaded 136 times
RCTIME_SyntaxManual.pdf
(168.1 KiB) Downloaded 140 times
Post Reply

Return to “EET-260 Lecture”