Forum Discussion
Altera_Forum
Honored Contributor
8 years agoWith a Nios II processor instantiated in the FPGA you can connect to UART port on one side and you simply have the HAL driver to interface EPCS on the other side.
The other solution would be using the Freescale processor to drive the EPCS. Both are viable: the first one would consume FPGA resources but it's easy to implement. The second one requires minimal hw resources but you'll have to write the EPCS driver for the Freescale (IIRC Altera doesn't disclose the details to program the EPCS device, so you'll possibly have to find out the commands as well). If I had plenty of spare resources in my FPGA design and enough headroom for future upgrades, I'd definitely choose the first solution. One remark: using a Nios processor would cause your image file to grow because it will also contain the Nios program; make sure your EPCS4 device is able to fit the 2 bigger images.