Hi guys,
I'm trying to have fun with SPI. I know nothing about it, but since I got
nice ENC28J60 ethernet module, I wanted to ping Google too, like Matt did.
Trouble is I'm using 18F25K22 and I can only access MSSP2 module, not the
first one. From what I can understand reading spi_master_hw.jal, it assumes
MSSP1 (actually aliases pointing to MSSP1 module when looking at 18f25k22
device file). So, isn't MSSP2 supported ?
Attached is a sample file I'm using ("include jaluino_beez" is wrapper over
18f25K22, setting clock, etc..., running @16MHz, int osc). As expected, it
doesn't work, and get stuck while in enc_init() (serial debug only prints
"1", never "2").
In order to test SPI, are SD cards easier to deal with than an ethernet
module ?
TIA
Cheers,
Seb
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.