adafruit / Adafruit_FRAM_SPI

Driver for Adafruit's SPI-Based FRAM Breakouts
Other
35 stars 30 forks source link

Extended SPI #2

Closed Oegtsgeest closed 9 years ago

Oegtsgeest commented 9 years ago

As I understand by reading through the CPP there is no provision for the extended SPI library, correct? How do I work with other SPI hardware with different datamodes? Note I use a DUE board.

microbuilder commented 9 years ago

You'll have to put some logic in there yourself. SPI with different data modes in kind of a pain, though. With the same data mode you just need to add a bit of (easy) logic to toggle the CS pin for the device you're talking to (that's what it exists for), but with different modes on the same bus you'll probably need to reinit SPI between transactions.

This is more of a question for the Adafruit support forum, though. Since no one from support monitors questions here, I'm closing this ... but feel free to bring it up over there.