nRF52832 Master to BMA456 Slave (Step tracker) or I2C

Hello,

I am attempting to develop a step tracker using an nRF52832 and a BMA456. We are evaluating the nRF52 to be the Bluetooth output to the app that will be created.

I am having trouble locating information on how to setup SPI or I2C on the nRF52832. I have scoured the documentation for any example code to get started and have not found any. We really like the nRF52 for this project and would like to move forward using it. I was hoping someone could point me in the right direction as our time for evaluation is limited and we may have to move forward with a different device.

If there are any examples of Bluetooth connection to devices as well as data output, I would love to see them.,

Thank you very much for the time and effort you take on my behalf.

Best regards,

Jared Beh

Inspyr Labs

Parents Reply Children
  • Hi,

    First of all, I am sorry for the delays. We have been at reduced capacity due to Easter holiday season, which lasted until (and included) Monday this week.

    For new projects we recommend nRF Connect SDK, which is our new SDK. nRF5 SDK is in maintenance mode, se our SDK statement. Therefore I highly recommend using nRF Connect SDK, both for evaluation and down the line for the project itself.

    In addition to DevZone, we have an online learning resource named DevAcademy, with an nRF Connect SDK Fundamentals course. The course is fully web based, free of charge, and you can follow it or refer to it at your own speed and at any point in time. Estimated total time for the full  course is around 8 to 10 hours, although your mileage may vary. Some lessons can be skimmed through or skipped depending on your prior experience. The course starts by introducing nRF Connect SDK, with instructions for installing SDK, IDE, etc. In one of the lessons the course covers I2C connection to a temperature sensor and to a color sensor. For the BLE side of things, have a look at the Bluetooth Low Energy Fundamentals course, which is similar in length.

    Regards,
    Terje

  • Thank you! I have the nRF Connect SDK installed and have been using it for a few weeks. I have had some email discussions with one of your sales representatives located in my area. I am glad to have clarity on what software to use in order to assess the board for further use in our project. I am attempting to use the nRF52832 for a I2C or SPI to load configuration firmware on the BMA456 to modify the features and use it as a step counter. The nrf52832 would then interface with an app over Bluetooth to show the steps counted and possible modify the behavior of the BMA456 (I have the API from Bosch) to change certain functionality. I have a SPI on the nrf52832 currently (I used SEGGER) but would like to move forward with communication between the two boards possibly breadboarding physical connections to see if they can communicate. Any help or advise would be much appreciated. 

    I will check out the course videos and see if they can bring some clarity in the meantime. Thank you for an excellent answer to my question.

Related