Re: Parts list (rough design, options)
Reply #76 –
The JTAG works well there, if we don't try to move it to the edge of the PCB I think it will be fine. It's just for debugging.
Is there any reason the PIC needs to switch the 2.5v and 1.2v power supplies? I have the PIC connected to the /enable pin, but it would be nice to not route that trace. I'm not sure what good it is considering A) PROG_B resets for programming, and B)is it even ok to partially power the FPGA (3.3v to banks, 2.5v and 1.2v unpowered)?
I made a few minor updates and checked the PCB into SVN:
*Moved auxiliary UART I/O to 5volt tolerant pins. Makes it tolerant to old 5v MAX232 transceivers.
*Changed to smaller xtal, not sure this is permanent.
More importantly, I assembled a list of PIC->FPGA connections that I'll use to assign PIC pins:
*FLASH_CS
Shared chip select signal for ROM chip. Connects to ROM, FPGA, PIC, programming header. Uses PIC general IO pin.
*MOSI
Shared SPI data pin for ROM chip, SUMP UART TX, future SPI connection to FPGA. Connects to ROM, FPGA, PIC, programming header. Uses PIC SPI module 2, UART module 2 (module pin location is programmable).
*MISO
Shared SPI data pin for ROM chip, SUMP UART RX, future SPI connection to FPGA (also an interrupt from FPGA to PIC when FPGA_CS is disabled). Connects to ROM, FPGA, PIC, programming header. Uses PIC SPI module 2, UART module 2 (module pin location is programmable).
*CLK
Shared SPI clock pin for ROM chip, future SPI connection to FPGA. Connects to ROM, FPGA, PIC, programming header. Uses PIC SPI module 2 (module pin location is programmable).
*FPGA_CS
Chip select pin to future FPGA SPI interface. Connects to PIC, FPGA. PIC general IO pin.
*FPGA_DONE
Indicates FPGA loading is complete. Connect to PIC, FPGA. PIC general IO pin (needs pullup). PIC general IO pin.
*FPGA_PROG_B
Holds FPGA ROM pins HiZ while PIC writes an update to the ROM. Connect to PIC, FPGA (needs pullup). PIC general IO pin.
That's 3 reprogrammable RPx pins, and 4 general I/O pins.
Other non-required peripheral connections:
*MODE LED to show RX/TX activity and bootloader entry (probably FPGA should have a LED for armed/trigger/error).
*2 pins to 5volt tolerant external UART (uses fixed UART1 module).
*Vregulator enable (?)
*2 ADCs to measure 2v5 and 1v2 output(??)