# ATmega328p: Does SPI conflict with timers TC1, TC2 or interrupts PCINT2, PCINT0?

My code - based on my library MultiTrans - uses timers TC1 and TC2 as well as interrupts PCINT2 and PCINT0.

Can I add SPI on top?

The 328p will only need to transmit via SPI. It will not receive. On the other end there will be an ESP32. Which device is slave and which one is master, I don't care.

• What makes you think that it will interfere? – the busybee Oct 26 '19 at 22:01