This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPI and SPIM For NRF52840 Understanding

Hi,

I want to interface an analog front-end Device through NRF52840-DK board Using SPI Interface. I want waveforms to be as Below:

which driver I suppose to use is it SPI or SPIM?

I tested out both that drivers I am unable to figure out how to meet the requirement as given in above diagram.

can you please share me APIs with configurations which can meet above diagram.

please share the waveforms capture by you to meet above requirement.

a project is quite critical quick help could be highly appreciated?

(NOTE: I am Using SDK15.2.0-PCA10056)

Thanks,

Rohit

  • Hi Rohit,

    SPIM is with EasyDMA which is useful if you want to send/receive more than one byte at a time in your single transfer.

    can you please share me APIs with configurations which can meet above diagram.

     The API for this is documented here, I think you asking which mode will match your waveform.I cannot make much sense in your diagram without knowing the timing acronyms. 

     

    please share the waveforms capture by you to meet above requirement.

    Are you asking us to implement the application to match the waveform for you? Sorry, I cannot help you there as that would consume a lot of time. Please read the API documentation and try it out yourself. If you have issues with the API then we can try to assist you in technical queries.

Related