Re: [Easy Question] SPI configuration not working
Just so that this thread becames useful to anyone starting with this new chips:
- in order for this to work you also have to disable analog input ports on the SDI and CLK pins.
Without this, you won't be able to receive any messages. Code for the example on this thread:
//Disable analog inputs on clk and sdi
ANSELBbits.ANSELB3 = 0;
ANSELBbits.ANSELB5 = 0;
Note: This chip is great. It has IOC on all pins, internal 64Mhz osc and PPS for flexible layout at a super low price. I'm really happy with it.