If you're trying to use HSerIn and HSerOut with an SPI interface, that won't work at all... HSerIn/HSerOut = asynchronous serial, SPI=(usually) Synchronous Serial Interface; different modes of comm's, different physical interface requirements.
Post your schematic, post your code, post more info...
Bookmarks