This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem of communication via SPI between nRF5340dk and ADS1298

Hello everyone,


I'm working on a project right now and I want to use the ADS1298 analog to digital converter and configure it with NRF5340dk. Being a beginner I looked for libraries already developed for that, I didn't find any! and I found a similar example but for the NRF52(GitHub - imcort/NRF52832_ADS1298: ADS1298 EMG Acquisition Device). I said to myself that maybe I can take this library ADS1298 already ready for the NRF52, modify it and adapt it for the NRF5340dk to make my application work, except that I realize that the drivers SPI, PPI, gpiote, queue ... are not the same. I use nrfx_spim, nrfx_spis, nrfx_gpiote and I can't find it for ppi and queue and it blocks me.

Do you think I'm on the right track?
Do you have any examples, solutions or tips to give me?

I thank you in advance ;)

Parents Reply
  • For the PPI module please look through the nrfx PPI API and find the functions you need yourself.

    This is not the same API as the example was using, so you can't just copy paste the code and expect it to work, you'll have to find functions in the API to replace the functionality.

    What does the queue module do? There is probably something similar in Zephyr, but it might be called something else.

    -Einar

Children
Related