USB to Parallel Converter Using FX2LP

Question: How can I use FX2LP to make an usb to parallel converter?  The data received over the USB should be made available on a parallel data bus on the GPIO pins.

 

Answer:

There are two methods to implement a USB to Parallel interface in FX2LP. 

  •   The GPIF or Slave FIFO mode of FX2LP can be used depending on the external device which is being interfaced with FX2LP.
  •   Without using the GPIF or Slave FIFO interface, firmware can be written to implement the same using the 8051 core.