I want to use SPI1 and TWI1 instances at a same time or one after another. How can I configure it?
I want to use SPI1 and TWI1 instances at a same time or one after another. How can I configure it?
Hi
You will not be able to use the same instances at the same time, so SPI1 and TWI1 won't be able to run simultaneously. The nRF52840 has 4 SPI master, 3 SPI slave, and 2 TWI instances, so you should have enough instances to make the SPI and TWI run simultaneously.
If you'd like, you can switch between using SPI1 and TWI1 by disabling and enabling them in turn.
Best regards,
Simon
Hi
You will not be able to use the same instances at the same time, so SPI1 and TWI1 won't be able to run simultaneously. The nRF52840 has 4 SPI master, 3 SPI slave, and 2 TWI instances, so you should have enough instances to make the SPI and TWI run simultaneously.
If you'd like, you can switch between using SPI1 and TWI1 by disabling and enabling them in turn.
Best regards,
Simon