IO pin configuration of Beaglebone Black
- speedy061
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
07 May 2014 18:05 #46682
by speedy061
IO pin configuration of Beaglebone Black was created by speedy061
Hi,
I like to configure the HAL of LinuxCNC to run with my IO cape for the BeagleBone black.
Unfortunately my cape is not pin compatible to any of the capes in the machinekit image of Charles Steinkühler.
I thought I could use an existing HAL driver an only modify the IO Pins, but this is not as easy as I thought it would be.
My problem is, that I do not understand the entries in the HAL configuration file.
For example the following lines:
# P8.12 GPIO1_12
setp [PRUCONF](DRIVER).stepgen.00.steppin 0x4C
Obviously the command line connects the steppin of the axis to the port P8.12 of the beaglebone.
What I do not understand is, where the 0x4C is comming from. It does not correspond to any of the information I have about the beaglebone.
What to I have to do, if I like to change the port to another GPIO and which number I have to enter instead of 0x4C?
Any information is appreciated.
Andy
I like to configure the HAL of LinuxCNC to run with my IO cape for the BeagleBone black.
Unfortunately my cape is not pin compatible to any of the capes in the machinekit image of Charles Steinkühler.
I thought I could use an existing HAL driver an only modify the IO Pins, but this is not as easy as I thought it would be.
My problem is, that I do not understand the entries in the HAL configuration file.
For example the following lines:
# P8.12 GPIO1_12
setp [PRUCONF](DRIVER).stepgen.00.steppin 0x4C
Obviously the command line connects the steppin of the axis to the port P8.12 of the beaglebone.
What I do not understand is, where the 0x4C is comming from. It does not correspond to any of the information I have about the beaglebone.
What to I have to do, if I like to change the port to another GPIO and which number I have to enter instead of 0x4C?
Any information is appreciated.
Andy
Please Log in or Create an account to join the conversation.
- erenbasturk
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
07 May 2014 21:01 #46689
by erenbasturk
Replied by erenbasturk on topic IO pin configuration of Beaglebone Black
Hi,
I think you might find out answer of your question the following group.
groups.google.com/forum/#!forum/machinekit
I think you might find out answer of your question the following group.
groups.google.com/forum/#!forum/machinekit
Please Log in or Create an account to join the conversation.
- xylotex
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 3
07 May 2014 23:11 #46693
by xylotex
Replied by xylotex on topic IO pin configuration of Beaglebone Black
Hi,
If you look at this spreadsheet:
github.com/cdsteinkuehler/beaglebone-bla...u_generic/pinmux.ods
you will see a heading labeled:
hal_pru_generic GPIO pin number
the number in that column is the number (in decimal) you are referring to. For example:
P8.12 has a 76 (decimal) which is hexadecimal 0x4C
Jeff
If you look at this spreadsheet:
github.com/cdsteinkuehler/beaglebone-bla...u_generic/pinmux.ods
you will see a heading labeled:
hal_pru_generic GPIO pin number
the number in that column is the number (in decimal) you are referring to. For example:
P8.12 has a 76 (decimal) which is hexadecimal 0x4C
Jeff
Please Log in or Create an account to join the conversation.
- speedy061
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
08 May 2014 14:50 #46708
by speedy061
Replied by speedy061 on topic IO pin configuration of Beaglebone Black
Hi,
thank you erenbasturk for the information of the google group. I already registered.
And thank you Jeff, this is exactly the information I was looking for!
Andy
thank you erenbasturk for the information of the google group. I already registered.
And thank you Jeff, this is exactly the information I was looking for!
Andy
Please Log in or Create an account to join the conversation.
Time to create page: 0.052 seconds