can someone give a code for interfacing AD7276 with BF592.
Thanks in advance!!
I may not have code for interfacing AD7276 with BF592 processor, but I can surely help you to write one.
The SPORT interface in following settings may work fine:
SPORT_RCR1 = IRCLK | IRFS | LRFS | LARFS | RFSR;
SPORT_RCR2 = SLEN(13) | RXSE;
SPORT_TCLKDIV = 1;
SPORT_TFSDIV = 15;
Enable PLL to 400/100 (if you need max performance), initialise PORT registers to enable SPORT pins. Enabling DMA for receiving SPORT data may also help.
check first what timings the code can generate and then hook up the ADC.
Retrieving data ...