SPI Pic18F26k22

Beta Testing discussion on mikroBasic PRO for PIC.
Post Reply
Author
Message
Zilla
Posts: 88
Joined: 05 Apr 2010 04:00

SPI Pic18F26k22

#1 Post by Zilla » 18 Dec 2010 00:15

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.

Zilla
Posts: 88
Joined: 05 Apr 2010 04:00

Re: SPI Pic18F26k22

#2 Post by Zilla » 18 Dec 2010 02:02

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.

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: SPI Pic18F26k22

#3 Post by zristic » 21 Dec 2010 10:56

Sorry for the trouble with the Terminal, we are fixing this.

Post Reply

Return to “mikroBasic PRO for PIC Beta Testing”