On 4/15/2019 5:28 PM, justin White wrote: > > I started tossing around the idea of making a shield that is compatible > with both the BBB and the DE0/DE10 nano. Seems completely feasible since > the BBB headers physically sit inside of the DExx nano headers. The concern > becomes 90% about the BBB pinout because there seems to be alot of special > considerations for the BBB based on what you're willing to give up, whereas > the nano can just be configured pretty much however necessary. > > Looking at it I was starting to get a headache trying to figure out exactly > what the constraints are in regards to the "modes" and the PRUs. From all I > could dig up it looks like I wouldn't have enough PRU I/O left over to > really do anything with. I don't so much care about losing HDMI, but I'd > actually like to keep the emmc if possible. I'm pretty verse with LinuxCNC > but the BBB thing and how it all ties into the hal PRU driver is a bit > complicated.
You don't really need to use PRU direct I/O for anything but encoder inputs (assuming you want to use PRU based encoders). The performance difference between using a GPIO pin as an output for step/dir or PWM is negligible vs. using the PRU direct outputs. > Is there any info on the machinekit images for the standard pin configs? > Ideally I'd like to get 4 step/direction, 1 ABZ encoder, and at least a > couple of PRU inputs/and outputs the rest I can just use the slower GPIO. > I'd like to get ahold of a pin config that is verified to work so I know > what I'm working with There are lots of choices. :) I have a number of board pinouts listed in spreadsheet form which you may find helpful: https://github.com/cdsteinkuehler/beaglebone-black-pinmux/blob/hal_pru_generic/pinmux.ods -- Charles Steinkuehler [email protected] -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
