If I want to use SPI of attiny202 do I need to use a 12V programmer?
Broadly speaking,No. Unless you change the settings for the UPDI fuses then you will not be able to access/program your chip without a 12V signal. the Tiny202 is a 0 series...therefore there you should read the discussion in the tutorial forum "Getting started with 1/0 series". or simply check the documents section of ATtiny202 MC page.
Getting started with SPI:
© 2019 Microchip Technology Inc.