The 28X has its inputs mapped from PORTC ( input pins 0-7, legs 11-18 ), which can be used for SERIN, in fact it is PORTA inputs ( legs 2-5 ) that are by default used for analogue inputs which can't be used for SERIN. SEROUT can only be done through PORTB ( output pins 0-7, legs 21-28 ).
I can't be overly critical as to your making assumptions about what could and couldn't be done and having moved forward with development and the design of PCB's which turns out to be wasted effort ( been there, done that, got the T-shirt ), but it does highlight the importance of prototyping both software and hardware in advance of further, major developments. It's something that most of us learn the hard way.
|