Page 1 of 1

SPI Pic18F26k22

Posted: 18 Dec 2010 00:15
by Zilla
Hello,

running Pic18F26k22 at 64mhz, i can't get SPI to work at _SPI_MASTER_OSC_DIV4 only at _SPI_MASTER_OSC_DIV16
same code is working fine on pic18f26k20 @ 64mhz, _SPI_MASTER_OSC_DIV4.

Re: SPI Pic18F26k22

Posted: 18 Dec 2010 02:02
by Zilla
Also, seems like hardware uart is not working correctly at 64mhz.

there is a very annoying "bug" in mikroelektronika Usart terminal.
the receive text box is updating very slow when receiving large data.

if you are updating(redrawing) textboxrecive=textboxreceive+newchar it's taking too much cpu time for redrawing.
just buffer received data in a buffer and display it at the end.

Re: SPI Pic18F26k22

Posted: 21 Dec 2010 10:56
by zristic
Sorry for the trouble with the Terminal, we are fixing this.