MKR boards: I2C to sercom2, SPI1 + Serial2 to sercom4#378
MKR boards: I2C to sercom2, SPI1 + Serial2 to sercom4#378agdl merged 1 commit intoarduino:masterfrom
Conversation
|
✅ Build completed. ⬇️ Build URL: ℹ️ To test this build:
|
|
@sandeepmistry tested both SPI and I2C by using the examples of each boards and a I2C sensors and all goes fine, ok for me |
|
What is the purpose of this change? The OP says "so that sercom can be used for alternative purposes". What "alternative purposes" are you referring to? |
Adding an additional SPI interface on pins A3 + A4 to use in conjunction with the new MKR RGB shield. |
|
Late to the game, but the labels in the MKRWiFi1010V2.0 schematics (ABX00023-schematics.pdf) still reflect the old sercom numbers. Confused me no end (was there a board revision I had missed?), until I traced back this commit and the reasoning behind it (which helped me a lot in fact, as I needed two extra sercoms on the digital pins badly, so thanks!). Don't know where else I should report docs issues.... |

This pull request changes the sercom used for I2C and SPI1/Serial2, so that sercom can be used for alternative purposes.
-> I2C: from sercom 0 to 2
-> SPI: from sercom 2 to 4
We'll have to be super careful and test the changes on all MKR board types.
@Rocketct if you have some time this week please test this out.