Announcement

Collapse
No announcement yet.

Using SPI and I2C bus in Xpico250 custom module

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using SPI and I2C bus in Xpico250 custom module

    i want use SPI for Flash interface and I2C for RTC interface.
    Is it possible to use SPI and I2C of xpico 250 in my custom module?.
    Please share me sample sdk for it.

  • #2
    Hello,
    I will be interested by the answer too.
    Thank's

    Comment


    • #3
      The spi_log module shows an example of how to use the SPI Master to communicate with an external SPI Slave.

      As for I2C, there is no software to enable that interface, but you could "bit-bang" the interface using the CPM APIs, using the pins as GPIOs.

      Comment

      Working...
      X