Hi Pavel,
On 31.08.14 15:40, Pavel Milanes Costa wrote:
So you can set the speed of the SPI expressed in fractions of the clock... Also you can use a timer to be the clock of the SPI bus... read the datasheet of your device...
Thanks! I thinkI know the (im)possibilities of the hardware-SPI library, and I'm reading the datasheet.... I may need 3.2 MHz SPI and my PIC (likely a 18f26k22) will probably have to run at 48 or 64 Mhz (on INTOSC + PLL), thus Fosc/4,16,64 doesn't come near enough. In the datasheet I saw SSPM value 0b1010 and load SSPADD with the proper value to obtain the desired SPI clock speed.
I overlooked the TMR2 possibility, but I'll see if that is an alternative.
Shure this is very device(TMR)/clock specific, but is a starting point...
Which sounds like DIY, but I since Jallib release 1.0 I'm retired and rely on others to maintain and enhance the libraries.
Regards, Rob. -- R. Hamerling, Netherlands --- http://www.robh.nl -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/jallib. For more options, visit https://groups.google.com/d/optout.
