litex-buildenv icon indicating copy to clipboard operation
litex-buildenv copied to clipboard

Add support for IceFUN board

Open mithro opened this issue 6 years ago • 0 comments

https://robot-electronics.co.uk/icefun.html

iceFUN iCE40-HX8K FPGA

3 High current 12/24v RGB drivers, 1A per channel. 4 10-bit Analogue input channels via onboard PIC. 32 red LEDs, on-board LED matrix (4*8) 4 push button inputs with pull-up resistors 1 piezo sounder for sounds or tunes. 45 FPGA I/O pins available (3.3 volt).

iCE40 HX FPGA: 7680 Logic cells 128k bits embedded RAM (32 * 4k bit blocks) 2 PLL's

An on-board PIC16LF1459 takes care of USB programming, FPGA reset and start-up and also provides 4 * 10-bit analogue channels. These are available via a serial port to the FPGA. The PIC also generates a 12MHz clock to the FPGA which may be multiplied in a PLL as required. Power is from USB or a nominal 5 volts (3.5v to absolute max. 6v)

~~Note: You still need to manually build iceFUNprog from source here: https://github.com/devantech/iceFUNprog~~ Handled via conda package.

Todo:

  • [x] Add iceFun to travis
  • [x] Add board to spreadsheet of supported boards
  • [x] Conda package for iceFUNprog
  • [ ] Serial to usb implemented in the onboard PIC
  • [ ] Handle LED matrix
  • [ ] Handle High Current RGB LED driver
  • [x] Add to How to Ice40 guide https://github.com/timvideos/litex-buildenv/wiki/HowTo-FuPy-on-iCE40-Boards
  • [ ] Renode working
  • [ ] vexriscv working on hardware

Platform, target, and programmer in #186

mithro avatar Jul 26 '19 12:07 mithro