hi plz provide the spi initialisation code for xc164cs. sys clock is 40 mhz. and also ssctransmit,sscreceive and ssc clock- direction, altsel function and port pin values. im struggling to get clock signal
If you are using the 164 micro you must have received the installation file for DAVE. Install that and use it as a guide to help you with initialization routines. It is a big help because you might have made a mistake with setting your SFR values.