Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx

Ads

Discussion Groups

Discussion Groups | Piclist | Re: 12f625 problem

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

12f625 problem - nanoboticslover - Feb 13 11:04:00 2004

Hi!
I'm using 12f625 to capture the encoder waveform but
unfortunately the GPIO pin 2 has been acting so strange. It can not
be configure as input since it always shows high although it is
input. Does anyone encounter this problem? Please enlighten me if
you have any idea. Cheer
bryan





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )


Re: 12f625 problem - John Remington - Feb 13 13:43:00 2004

did you turn the analog feature off? --- nanoboticslover <> wrote:
> Hi!
> I'm using 12f625 to capture the encoder waveform but
> unfortunately the GPIO pin 2 has been acting so strange. It can not
> be configure as input since it always shows high although it is
> input. Does anyone encounter this problem? Please enlighten me if
> you have any idea. > Cheer
> bryan

__________________________________





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: 12f625 problem - Chad Russel - Feb 13 21:03:00 2004

I don't find any 12F625.

--- nanoboticslover <> wrote:
> Hi!
> I'm using 12f625 to capture the encoder waveform but
> unfortunately the GPIO pin 2 has been acting so strange. It can not
> be configure as input since it always shows high although it is
> input. Does anyone encounter this problem? Please enlighten me if
> you have any idea. > Cheer
> bryan

=====
My software has no bugs. Only undocumented features.

__________________________________






(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: 12f625 problem - Dwayne Reid - Feb 14 14:15:00 2004

At 07:03 PM 2/13/2004, Chad Russel wrote:
>I don't find any 12F625.
>
> > I'm using 12f625 to capture the encoder waveform but
> > unfortunately the GPIO pin 2 has been acting so strange. It can not
> > be configure as input since it always shows high although it is
> > input.

I had assumed it was a typo error: that the original poster was speaking of
either 12f675 or a 12f629 - both are similar to each other and the problem
would affect both.

I would look for problems with the following bits & registers: TOCS, ANSEL,
CMCON.

T0CS: timer 0 clk select - probably not the problem but check it anyways.
ANSEL: pertains to 12f675 - probably not the problem because the pin would
read 0 instead of 1
CMCON: most likely problem: GPIO2 can be configured to be the output of the
comparitor.

Try writing 0x07 to CMCON and see what happens.

dwayne --
Dwayne Reid <>
Trinity Electronics Systems Ltd Edmonton, AB, CANADA
(780) 489-3199 voice (780) 487-6397 fax

Celebrating 20 years of Engineering Innovation (1984 - 2004)
.-. .-. .-. .-. .-. .-. .-. .-. .-. .-
`-' `-' `-' `-' `-' `-' `-' `-' `-'
Do NOT send unsolicited commercial email to this email address.
This message neither grants consent to receive unsolicited
commercial email nor is intended to solicit commercial email.




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )