Hi everyone
I had a problem with configuring the SPI of the micro PIC18F26K40.
I used pins other than defaul's. FC8 gives the possibility to remap the pins
but it probably does not configure the SSPxCLKPPS registry correctly.
I think the problem also exists for I2C
I added a C instruction as reported in the datasheet and everything started to work correctly.
In my case: SSP1CLKPPS = 0x0B;
best regards
Problems with SPI on PIC18F26K40
Moderator: Benj