On Friday 28 October 2016 22:05:39 andy pugh wrote: > 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.
BTDT. ;-) I am a C.E.T., pretty ancient vintage these days though. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ 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
