On 29 October 2016 at 02:03, Gene Heskett <[email protected]> wrote: > Seriously huge & confusing, must be 100 or more .bit files that are not > discussed in the docs. I'll need a small bucket of bit io, 2 stepgens, > an encoder and a pwmgen in the initial profile. Every bitfile discussed > in the pdf has multiples of those. Like 8 of everything? Boggles what > mind I have left.
There are files for epp, serial and spi modes, so you can divide by 3. Looking at the 7i90_spi_svst4_8.bit file (SPI mode, 4 SerVos 8 STeppers) the actual default pinout will be found in the "source" subfolder inside the ZIP file you will find there. The 7i90 is a 72-pin card, so the file that defines the pinout is PIN_SVST4_8_72.vhd You will see from that that every pin is allocated, so by default there are no pins free for GPIO. You make GPIO pins by enabling only as many encoders and stepgens as you want. Unused pins become GPIO. You probably want some of the encoders for MPGs too, so you might want to use their pins last. You might also see that the PWMgens have three pin types each, and the stepgens have 6 pins each (for table mode). The simplest way to work out the pins is to load the driver with the number of each function you want, and let it tell you what the pins are. Top Tip! Pin1 on the connectors has a square solder pad. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ------------------------------------------------------------------------------ The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
