KurtE
Senior Member+
Hopefully Christoph can give a better answer.
It has been a long time since I played with it... But if my memory was correct, SPI2 worked on T3.6. But you had to remove the comments which removed the code...
As for T3.5 - SPI1 and SPI2 are a lot more interesting. They don't have two DMA sources for the SPI1 and SPI2, they only have one, which can either be to or from SPI but not both... Several posts on that...
The current SPI library does support simple DMA SPI transfers on all of them.
bool transfer(const void *txBuffer, void *rxBuffer, size_t count, EventResponderRef event_responder);
It has been a long time since I played with it... But if my memory was correct, SPI2 worked on T3.6. But you had to remove the comments which removed the code...
As for T3.5 - SPI1 and SPI2 are a lot more interesting. They don't have two DMA sources for the SPI1 and SPI2, they only have one, which can either be to or from SPI but not both... Several posts on that...
The current SPI library does support simple DMA SPI transfers on all of them.
bool transfer(const void *txBuffer, void *rxBuffer, size_t count, EventResponderRef event_responder);