Hey Guys,
In my custom board I need to use two different I2C bus and one SPI.
At the moment i'm using twi_master to comunicate with one of the TWI bus, but to switch TWI the only option I've seen is to change:
TWI_MASTER_CONFIG_CLOCK_PIN_NUMBER (13U)
TWI_MASTER_CONFIG_DATA_PIN_NUMBER (14U)
how can i configure two istances of the twi_master?
Furthermore I need to use an SPI beside these the TWI, what SPI should I be using? Is it the SPI2 due to the concurrent use of TWI0 and TWI1?
I'm alittle bit confused.
Thanks.