M4 multiple sercom / spi
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- User91827
- Posts: 5
- Joined: Fri Jul 23, 2021 11:09 pm
M4 multiple sercom / spi
I’m having a heck of a time finding out how to work with the additional sercoms on the itsybitsy m4. I need to make use of 2 separate spi busses. Using a single bus won’t work for my needs. I understand the atsamd51 has 6 sercoms, and the product listing (3800) references that all are available. Please help!
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: M4 multiple sercom / spi
Have you seen this guide?
https://learn.adafruit.com/using-atsamd ... s/overview
It's for a SAMD21 / M0 chip, but the same general info may help out.
https://learn.adafruit.com/using-atsamd ... s/overview
It's for a SAMD21 / M0 chip, but the same general info may help out.
- User91827
- Posts: 5
- Joined: Fri Jul 23, 2021 11:09 pm
Re: M4 multiple sercom / spi
I ran across that document this weekend. It was quite helpful. Although I am now faced with the struggle of using a SERCOM as an SPI Slave, which seem to be unsupported by the standard SPI.h library.
Any ideas on how to use a SERCOM as an SPI Slave?
Any ideas on how to use a SERCOM as an SPI Slave?
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: M4 multiple sercom / spi
Nothing specific, but it should just be a matter of finding a driver that supports it.
Please be positive and constructive with your questions and comments.