VHDL implementation of a SPI controller for PANDA digital signal processing