I'm trying to figure out the SPI and I2C interfaces on the SAMD10 chip, but my limited (Atmel 328P) experience is no help in determining some of the signals. From my understanding, SERCOM 0 and 1 are the I2C and SPI pins on the device, but I can't figure out which signal is clock, which is data for pads 0 and 1 for I2C, and similarly for the SDI, SDO, CLK and chip select for the SPI. Could anyone help with this, or point me to the place in the datasheet I need to read to figure that out?
Depending on whether those coincide with the I2C, I was hoping to be able to talk to two slave devices, one using I2C and one using SPI, while sharing the clock and data pins and switching modes when needed. Specifically, I only need to configure one of the devices using SPI at startup, and then need to switch to I2C to continuously talk to the second device (an encoder).
Finally, my uC will talk to an outside master controller via I2C: is it reasonable to use the same I2C pins as the ones I'm using to talk to the encoder to do that, or do I need to use the other SERCOM pins?