SPI (Master) Example for nRF52840DK running a Arduino badge for Honeywell pressure sensors (Part# SEK001)

I'd like to know of an example(s) for interfacing nRF52840DK board as a Master SPI to an Arduino badge (from Honeywell). I have the badge working with an Arduino Uno (Rev 3), so I know it works.

But to port it to Nordic, what library/interface would work best? I've looked at the SPIM Manager but I'm not sure that is the right direction.

I would need an example that includes the prj.conf, .yaml, *.dts, and *.overlay files as well. 

Thanks in advance for your help.

Parents
  • Simon! You are a life saver! After naming the file, deleting and re-adding it in Segger with the correct name, it compiled and works as you described. I through a jumper on the headers pins and I am writing/reading data. Thanks so much. 

    So the only real issues I ran into were the outdated config entries and the file name. Oh and obviously my inexperience with the Zephyr/Nordic environment. But I'm learning, thanks to your patience and persistence Simon!

    BTW, for anyone else that may use this sample, take note that the file is named incorrectly in github. And all you need to do is remark-out the 2 outdated configs as Simon noted.

Reply
  • Simon! You are a life saver! After naming the file, deleting and re-adding it in Segger with the correct name, it compiled and works as you described. I through a jumper on the headers pins and I am writing/reading data. Thanks so much. 

    So the only real issues I ran into were the outdated config entries and the file name. Oh and obviously my inexperience with the Zephyr/Nordic environment. But I'm learning, thanks to your patience and persistence Simon!

    BTW, for anyone else that may use this sample, take note that the file is named incorrectly in github. And all you need to do is remark-out the 2 outdated configs as Simon noted.

Children
Related