saurabh.s
Newbie level 4
portc
Hi
I tried to send the step signlas to the driver of stepper motor using PORTC of ATMEGA128. The driver does not consume much current(less than 2m A).
The stepper didnot run. After analysis I figured out that the pins 2,3 of PORTC are not working as intended. Following are the observations.
1.When only one of the PIN2,3 is made High ( PORTC is o/p and I'm writing(via code) 1 to any one of PIN2,3) , the output voltage at both the pins is 2.02V.
2. The logical zero is o/p at both PINC2,3 when I write 0 to both pins.
3. Logical 1 is o/p at both pins when I write 1 to both pins.
I have not used PORTC as external memory interface and hence have released all the pins of PORTC from functioning of extended address.
Why could this have happened?
Hi
I tried to send the step signlas to the driver of stepper motor using PORTC of ATMEGA128. The driver does not consume much current(less than 2m A).
The stepper didnot run. After analysis I figured out that the pins 2,3 of PORTC are not working as intended. Following are the observations.
1.When only one of the PIN2,3 is made High ( PORTC is o/p and I'm writing(via code) 1 to any one of PIN2,3) , the output voltage at both the pins is 2.02V.
2. The logical zero is o/p at both PINC2,3 when I write 0 to both pins.
3. Logical 1 is o/p at both pins when I write 1 to both pins.
I have not used PORTC as external memory interface and hence have released all the pins of PORTC from functioning of extended address.
Why could this have happened?