MK64 DSPI working principle

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MK64 DSPI working principle

598 Views
fshah30
Contributor II

Hi All,

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?

Thank you

Tags (1)
0 Kudos
1 Reply

568 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @fshah30,

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.

0 Kudos