7I92 bitfile request: 7I77 on P1, 7I85S with PWM + 1 stepgen on P2

More
11 Nov 2026 20:07 #350620 by Emermogle
Hi PCW,

I'm retrofitting an SWI Sport B3 bed mill (ProtoTRAK M3 control) with a 7I92M (Spartan-6 LX9, `6slx9tqg144`) and the original ProtoTRAK servo drives (locked-antiphase PWM, ~15.5 kHz, 50% = stop).

Right now it runs on the `7I92_7I85SPX2` bitfile from the "Where to start with Mesa 7i92 + 7i85S" thread, with a 7I85S on P2: PWMGen 0-2 drive X/Y/Z (output-type 1, 50% offset done in HAL as you described), muxed encoders 0-2 read the motor encoders. The X axis is up and tuned.

I've now added a **7I77 on P1** for the MPG, a quill encoder and a spindle encoder, plus field I/O (E-stop, limits, home switches) and possibly the spindle analog output. Later I'll add a rotary table with a step/dir drive.

Could you build a bitfile with:

**P2 (7I85S), same pin positions as 7I85SPX2 so my wiring doesn't change:**
- PWMGen 0, 1, 2 on P2-5/6, P2-4/17, P2-3/16 (as now)
- **StepGen** in place of PWMGen 3: step on P2-2, dir on P2-15 (for the rotary table)
- MuxedQCount 0-3 with MuxSel on P2-7, inputs on P2-8..13 (as now; 4 encoders with index)
- SSerial pair on P2-1/14 (as now) if there's room; not needed otherwise

**P1 (7I77), standard 7I77 layout** (as P2 in `7i92_7i77_7i85sd`):
- SSerial channels 0-2 (TXEn2, TX/RX 0-2) on P1-1/14/2/15/3/16/4
- MuxSel on P1-17, 3 muxed encoder inputs (6 encoder channels) on P1-5..13

So in total: 3 PWMGens, 1 StepGen, 10 muxed encoders (4 on the 7I85S, 6 on the 7I77), SSerial for the 7I77 (and the 7I85S's if possible).

Thanks very much! 

File Attachment:

File Name: 7I92_7I85S...hmid.txt
File Size:5 KB


 
Attachments:

Please Log in or Create an account to join the conversation.

More
11 Nov 2026 22:52 #350630 by PCW
Yes, I can do this later this week.

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.077 seconds
Powered by Kunena Forum