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

nRF Drivers for ADS1298

Hello all, 

I would like to know if anyone is willing to share nRF drivers for ADS1298.

There seems to be a Github repo containing drivers for ADS1298 with arduino.

Has anyone used this particular repository and successfully integrated it to nRF SDK?

https://github.com/adamfeuer/ADS129x-tools/tree/master/ads129x_driver 

Is there any other driver that would make it easier for me to port to nRF? 

Thank you.

Parents
  • As with any other interfacing project, the only thing that's actually specific to the nRF is the low-level details of handling its hardware SPI peripheral. Beyond that, everything is independent of what microcontroller you use.

    Remember:

    • The ADS1298 neither knows nor cares what microcontroller you use - it simply responds to the signals at its SPI port as described in its datasheet.
       
    • The nRF SPI peripheral neither knows nor cares what is connected on the SPI bus - it just behaves as described in the Product Specification.

    If you look at that Arduino library, you'll see that it defines functions to "receive a [single] byte" and "send multiple bytes" and so on.

    So you will need to re-implement those functions to use the nRF SPI hardware -  and then the rest should remain the same.

    I would suggest that you spend some time with an Arduino getting familiar with the software and how it works.

    Then spend some time with the nRF examples getting familiar with how the nRF SPI works.

    Then you should be in a position to port the code ...

Reply
  • As with any other interfacing project, the only thing that's actually specific to the nRF is the low-level details of handling its hardware SPI peripheral. Beyond that, everything is independent of what microcontroller you use.

    Remember:

    • The ADS1298 neither knows nor cares what microcontroller you use - it simply responds to the signals at its SPI port as described in its datasheet.
       
    • The nRF SPI peripheral neither knows nor cares what is connected on the SPI bus - it just behaves as described in the Product Specification.

    If you look at that Arduino library, you'll see that it defines functions to "receive a [single] byte" and "send multiple bytes" and so on.

    So you will need to re-implement those functions to use the nRF SPI hardware -  and then the rest should remain the same.

    I would suggest that you spend some time with an Arduino getting familiar with the software and how it works.

    Then spend some time with the nRF examples getting familiar with how the nRF SPI works.

    Then you should be in a position to port the code ...

Children
No Data
Related