bug fixed in P32 spi.c