Mike Mansheim email (remove spam text)
> I am running this chip in the internal 4Mhz mode. I am looking at RA1
> with an input signal train swinging between 0 & 3 volts as observed on
> a CRO. I cannot get the program to recognise a high level. The chip is
> powered from 5 volts.
I worry that I'm missing something when a reason seems simple, but...
According to the 16F628 data sheet, RA1 is a schmitt trigger input, which
means an input high must be at least 0.8Vdd, which would be 4V. So the
3V simply isn't high enough.
Note that this is different from a chip that I use a lot (F87x), where
most of portA, including RA1, are TTL inputs, where the 3V would be a
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
See also: www.piclist.com/techref/microchip/devices.htm?key=16F
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the