Post Go back to editing

Interrupt driven SPI for AD7193

hello,

I have started with Soft Implemented SPI for AD7193  & its working fine.

But now i have added communication facility which is interrupt base.

Since the ADC is not interrupt driven some samples get corrupted because of high priority interrupt. To solve this issue i have to switch for hard implemented SPI with high priority SPI interrupt.

I have interface AD7193 with PIC18f67k22. Please give me sample software driver for PIC18f67k22.