This is mostly for PCW, but I'll take answers and advice from anybody. I have an application (for my day job) where I want to run a 7i39 three-phase motor driver board and a 7i30 H-bridge board from the same 5i20 anything I/O board (on two separate ribbon cables of course). Ideally both at the same time, but I can also live with loading a different HAL fill for each one. The application is comparing a couple different motor technologies; it would be great to run them side-by-side but I can live with running one at a time.
Ultimately what I need is at least one encoder counter (ideally going through the input pins on the 7i39), at least one three-phase PWM output (must go to the proper pins on the 7i39), and at least two regular PWM outputs (must go to the proper pins on the 7i30). I have a working setup with just the 7i39. I load bitfile SVTP6-7I39.BIT, configure num_3pwmgens=2, and put the board on the first cable. I'm confident that I could make a working setup with just the 7i30. I'd load bitfile SV12.BIT, configure num_pwmgens=4, and put the board on the first cable. Haven't done that yet but will start soon while I wait to see if there is a better way. The problem with this plan is that I have to swap the boards before running each HAL file. Sooner or later I'll accidentally run the 7i39 HAL file while the 7i30 board is connected or vice-versa. I tried putting the 7i30 on the second cable, but the only way to get pwm signals on that cable seems to be to configure num_pwmgens=8. That puts 7i30-style PWM on BOTH cables. If the 7i39 is plugged into the first cable bad things might happen. Is there a way to tell for example the SV12 bitfile that I want num_pwmgens=4, but those 4 should be on the second cable? Leave the first cable unconfigured (GPIO). That way, each HAL file sends signals to its board over its cable, and leaves the other cable alone. Even better would be a bitfile that has both 3pwmgen and regular pwmgen (and encoder) and puts the signals on the appropriate cables and pins. Then I could run both at the same time. What is involved in making such a bit file? -- John Kasunich jmkasun...@fastmail.fm _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users