Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New bone_eqep2b.dts has errors. #4

Open
VoltVisionFrenchy opened this issue Jun 25, 2014 · 5 comments
Open

New bone_eqep2b.dts has errors. #4

VoltVisionFrenchy opened this issue Jun 25, 2014 · 5 comments

Comments

@VoltVisionFrenchy
Copy link

I think the new bone_eqep2b.dts that was added has incorrect comments.
The author updated the P8 pin numbers, but not the GPIO numbers, therefore they are not correct. Thx! ( I would try to fix it, but I am new to Github and I dont know how)...

@pdp7
Copy link
Contributor

pdp7 commented Jun 26, 2014

I think they are the same GPIO numbers but brought out to different pins on the header?
I've been using eqep2 with alternate header pins P8_11 & P8_12 after seeing this post from BeagleBoard mailing list:
https://groups.google.com/forum/#!msg/beagleboard/0ewLcdUtA_E/sVEoDGkL9FcJ
And this device tree config for eQEP2:
https://17376924468624948387.googlegroups.com/attach/57f40b690c2851b1/LoadeQEP.txt?part=0.1&view=1&vt=ANaJVrGPwHIS2WLiOv6ixKKbzR46eHqySZLgFoyqQ_d_WnwWpd6WHjAYJi1DUftPPemLjzWziNVQ5BXCSQEDe6COpc_1ZPRU5ZAgS0AyU5ycCZ0_vLyWF3g

@jadedanemone
Copy link

The comments are definitely wrong, even in my original postings, even though they're all a little different. I'd fix it, but my computer just kicked the bucket. Take a look at the BBB SRM. All of the eqep2b pins are on GPIO1.

@pdp7
Copy link
Contributor

pdp7 commented Jun 27, 2014

Right, I chatted with VoltVisionSteve on freenode #beagle-gsoc and I believe this should be the correct GPIOx_y numbers:

                        0x038 0x24  /* P8_16 = GPIO1_14 = EQEP2_index, MODE4 */
                        0x03C 0x24  /* P8_15 = GPIO1_15 = EQEP2_strobe, MODE4 */
                        0x030 0x34  /* P8_12 = GPIO1_12 = EQEP2A_in, MODE4 */
                        0x034 0x34  /* P8_11 = GPIO1_13 = EQEP2B_in, MODE4 */

@pdp7
Copy link
Contributor

pdp7 commented Jun 27, 2014

@VoltVisionFrenchy
Copy link
Author

Drew,
Thanks for chiming in! Actually that Table you reference is from the SRM, not the TRM.... But hopefully they all match! I originally found the conflict by looking at the same SRM (from the BBB main wiki page). Thx again!

Respectfully,
Steve French
President, Volt Vision

800.664.7256.office
814.730.0003.cell
www.voltvision.com

Sent from my iPhone

On Jun 27, 2014, at 11:06 AM, Drew Fustini notifications@github.com wrote:

Here is the TRM page that I looked at the pin table from:
https://plus.google.com/photos/117542001281850354871/albums/6028753166053143281/6029361863734888530?banner=pwa&pid=6029361863734888530&oid=117542001281850354871


Reply to this email directly or view it on GitHub.

pdp7 pushed a commit to pdp7/beaglebot that referenced this issue Jul 1, 2014
pdp7 pushed a commit to pdp7/beaglebot that referenced this issue Jul 1, 2014
pdp7 pushed a commit to pdp7/beaglebot that referenced this issue Jul 1, 2014
pdp7 pushed a commit to pdp7/beaglebot that referenced this issue Jul 1, 2014
pdp7 pushed a commit to pdp7/beaglebot that referenced this issue Jul 1, 2014
teknoman117 added a commit that referenced this issue Aug 4, 2014
correcting GPIO pin typos in the comments (refer to issue #4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants