Hi David,
I see this in the code you've attached:
Error = SM1_ReceiveBlock(MySPIPtr, InpData, BLOCK_SIZE); /* Request data block reception */
Error = SM1_SendBlock(MySPIPtr, OutData, BLOCK_SIZE); /* Start transmission/reception */
But I don't want to send bytes (OutData) through MOSI (pin39, PTE1). Why I have to use a sending function (SendBlock) in order to receive packets (ReceiveBlock)? I don't understand this method. In my application PTE1 is configured as general purpose digital output. If I use the code above, I see unwanted changes on PTE1 because of the SendBlock() function. I've configured this pin as shown here below but the changes on PTE1 persist.

What can I do to solve this?
regards,
gaston