danielbriggs
Member
Hi there,
I hope it is allowed to open mulitple topics for different questions.
DMA multiple SPI slaves:
On non-Teensy-environment microcontrollers I have used 12x SPI slaves all on the same bus, with different CS's and write to each one sequentially and this works well.
However I'd like to use a similar large number of SPI slaves on a Teensy 4.1, but this time use DMA to handle the transfers freeing up the micro to do other things.
- Is it possible to have many SPI slaves setup on a T4.1 and use DMA to each? The SPI transfers are write only. If so, can anyone point me in the right direction / show any examples of multiple SPI slaves with DMA?
Writing to multiple pins simultaneously:
On ATMEGA32U4's I used to write to an entire port "PORTD" etc.
- How is this accomplished on T4.1's?
Does anyone have an example of how to write to a port group such that 16x GPIO pins all toggle high / low at exactly the same time?
All the best,
Dan
I hope it is allowed to open mulitple topics for different questions.
DMA multiple SPI slaves:
On non-Teensy-environment microcontrollers I have used 12x SPI slaves all on the same bus, with different CS's and write to each one sequentially and this works well.
However I'd like to use a similar large number of SPI slaves on a Teensy 4.1, but this time use DMA to handle the transfers freeing up the micro to do other things.
- Is it possible to have many SPI slaves setup on a T4.1 and use DMA to each? The SPI transfers are write only. If so, can anyone point me in the right direction / show any examples of multiple SPI slaves with DMA?
Writing to multiple pins simultaneously:
On ATMEGA32U4's I used to write to an entire port "PORTD" etc.
- How is this accomplished on T4.1's?
Does anyone have an example of how to write to a port group such that 16x GPIO pins all toggle high / low at exactly the same time?
All the best,
Dan