I am using DSPI with MK64FN1M0VLQ12. I Have an external 16-bit ADC AD7680BRMZ having CLK, SOUT and CS.
My question is that to receive 30K Samples from ADC shall I send 30K Words = 2 bytes/Sample on DSPI SIN line?
Please let me know how can I get 30K samples from external ADC? See the attached code for correction?
In order to receive 30K samples from your ADC, I would recommend to check the datasheet from said device and implement its sampling function into your code, check over your clock frequency for the module and to establish the data transfer sizes you would like to receive/send.