Page 1 of 1

Posted: 30 Jun 2009 09:25
by yo2lio
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.

Posted: 30 Jun 2009 10:31
by Dany
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.
Thanks, I will. :D

Posted: 30 Jun 2009 11:26
by Dany
Dany wrote:
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.
Thanks, I will. :D
Hi Yo2Lio, a pullup or pulldown resistor (I used 1K0) on the SS pin is indeed the solution!
Good to know. Thanks! :D :D

Added later: also setting the PortA.5 (= the SS pin) direction to output is a solution. No pullup/down resistor needed in this case.

Posted: 30 Jun 2009 13:31
by yo2lio
Dany wrote: Hi Yo2Lio, a pullup or pulldown resistor (I used 1K0) on the SS pin is indeed the solution!
Good to know. Thanks! :D :D

Added later: also setting the PortA.5 (= the SS pin) direction to output is a solution. No pullup/down resistor needed in this case.
It's a silicon BUG I think !

Posted: 18 Aug 2009 09:41
by Dany
yo2lio wrote:It's a silicon BUG I think !
Seems it is, but I can not find it in any "errata" document. Also some users on the Microchip forum report this problem (for another PIC however), see:
http://www.microchip.com/forums/tm.aspx?m=369346.