View Single Post
  #3   Spotlight this post!  
Unread 25-02-2007, 14:18
Dave K.'s Avatar
Dave K. Dave K. is offline
Engineer/Mentor
FRC #0930
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: WI
Posts: 91
Dave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to behold
Re: Gear Tooth Pulse Height ??

Quote:
Originally Posted by Lloyd Burns View Post
If you are going to a digital input (no an analog one), they typically require more than 2 V for reliable operation. If the input is typical CMOS (not TTL or TTL-compatible CMOS), the figure is 'more than half of the internal supply voltage'. I haven't taken apart a new RC, but that is probably 5 V, meaning around 2.5 volts.
Table 1-4 in the microcontroller datasheet details which pins are Schmitt trigger inputs, and which one's are TTL. Cross referencing the digital I/O definitions found in 'ifi_aliases.h' will provide the information as to which I/O pin corresponds to which pin on the CPU.

Section 28.3 of the datasheet details the minimum logic thresholds for each pin type.

Maximum Logic Low voltage:

TTL: 0.15Vdd (0.75V)
Schmitt: 0.20Vdd (1.0V)

Minimum Logic High voltage:

TTL: 0.25Vdd + 0.8V (2.05V)
Schmitt: 0.8Vdd (4.0V)


Thus, User I/O pins 1 and 2 (RB2 & RB3) would use Schmitt logic thresholds when used as interrupts. User I/O 3-6 (RB4-7) would use TTL logic thresholds for the interrupt-on-change inputs.

The other user inputs vary in type.
__________________
--Dave