Raspberry Pi 4 & MESA 7i92

More
6 years 7 months ago #162121 by PCW
Replied by PCW on topic Raspberry Pi 4 & MESA 7i92
Wrong pin?

You might verify that you have the correct pin by looking at the GPIO 14 state
or the encoder input A pin state in halshow

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago - 6 years 7 months ago #162126 by ajsinfotech

hm2/hm2_7c81.0: IO Pin 014 (P1-21): Encoder #0, pin A (Input)

Sorry but, we are talking about P1-21 physical pin right? Why 14?
I addressed the pin as:
hm2_7c81.0.encoder.00.input-a
I do not use 21 nor 14 pin in the sentence.

Anyway pin 21 shows as an output in halshow:
hm2_7c81.0.gpio.021.in false
It shouldn't be true?

Pin 14 shows as an input in halshow:
hm2_7c81.0.gpio.014.in true
Last edit: 6 years 7 months ago by ajsinfotech.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago - 6 years 7 months ago #162128 by PCW
Replied by PCW on topic Raspberry Pi 4 & MESA 7i92
hm2/hm2_7c81.0: IO Pin 014 (P1-21): Encoder #0, pin A (Input)

hm2/hm2_7c81.0: IO Pin 021 (P2-03): StepGen #4, pin Step (Output)

Encoder 0 'A' is on GPIO14 and P1 physical pin 21
(if unconnected it should read high since its an input with a pullup)

Stepgen 4 step pin is on GPIO21 and and P2 physical pin 3
(if idle, that is not during a step pulse, it should read low)
Last edit: 6 years 7 months ago by PCW.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #162130 by ajsinfotech
I agree with you all.

My problem is when I tied my RPM pulse generator to P1-21 it never drives low, it remains high all the time (checked with a scope).
I'll check it again.

Thanks!

Please Log in or Create an account to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum