I am working with the 18F242 MSSP configured for a master SPI. It is not working for me, and wondered if anyone could shed some light. I have read the (fine) manual until my fingers are dog eared. Double checked all settings for the registers, but near as I can tell, there are still no comms. To double check that the protocol worked, I used shiftin/shiftout with the same pins, and everything works fine.
When I flip the control bit for SPI enable, I get a clock, I believe I am getting data out, but for input, I get the dummy data I put in SSPBUF to initiate a transfer. What am I missing?
Bookmarks