Wifi CC3000 and LCD Grapics ILI9341 on the same SPI?

Posted on
  • I'm running out of SPI's, therefore, I'd like to run multiple devices on each of the available SPI and use the CS to talk to the device.

    Some SPI connected devices do not have interrupts, but CC3000 Wifi LAN module has. Is mixing them an issue?

    If it is possible to run something on the same SPI as CC3000, how would I do that? CC3000 module is built-in with fixed SPI and defines it opaque... and unchangeable(?).

  • As of v71, that's no longer true - check http://espruino.com/Reference

    CC3000.connect() and WIZnet.connect() both now allow you to pass SPI pins to them.

    As long as you use a different CS pin, it should work.

    That said, I'd try to pick the best behaved devices for sharing SPIs, not the worst :-P

  • Just to add that the CC3000 driver has been modified such that it doesn't use IRQs, so as long as you talk to other devices in one chunk (without going back to the idle loop) you may well be fine.

  • Oh! That's good news!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Wifi CC3000 and LCD Grapics ILI9341 on the same SPI?

Posted by Avatar for allObjects @allObjects

Actions