library for st gyro.  spi has been tested on pic32.  the test code uses spi4 as master and spi2 as slave.  tried using spi4 as master with gyro and MISO pin (SDI4 on the PIC) is not getting a clean signal.  need to debug further.