Hi Yo2Lio, a pullup or pulldown resistor (I used 1K0) on the SS pin is indeed the solution!Dany wrote:Thanks, I will.yo2lio wrote:Dany, I had the same problem with PIC18F2620, in the past with my UDP bootloader ENC28J60. (my SPI library and my ENC library)
This problem was solved, I don't remember exactly how, I kept SS pin LOW or HIGH via 4k7 resistor.
Please try mikroe example again with pull up or pull down resistor on SS pin.
Good to know. Thanks!
Added later: also setting the PortA.5 (= the SS pin) direction to output is a solution. No pullup/down resistor needed in this case.