Hi Ben
Thanks for your Infos.
I have change follows in "PIC_SPI_Legacy.c"
All sspstat, sspcon sspcon1 and sspbuf to ssp2stat, ssp2con, ssp2con1 and ssp2buf.
Hope this is right.
OK, how I can now define my port D4 D5 D6 and as Enable H0,H1 or H2?
I am not shure where or with witch command you choose ...