Hi Everyone!
I really need some help. So I'm new to Nordic semiconductors and Segger Embedded Studio IDE. I purchased myself an nRF52832 breakout from sparksfun and nRF52832 DK and I have downloaded Segger Embedded Studio IDE for the programming purpose. I have experience with Arduino MSP430 MCUs and this is the first time I'm trying your new board. I don't know much about modularization and layering programming. Where can I learn this since I realized the examples in the SDK are using this .. application layer, pheriparal layer, hal layer, lower layer?.
So this is what I want to do, I want to integrate an LIS331HH accelerometer with the breakout and develop a wearable for a very important project. So I got started with the NRF52 DK looked through the examples given in the SDK on Blinky,I have only gone through the blinky example and already there are many files on the program like board.h board.c nRF_().c etc...How do I understand these. Is there any tutorial for this to understand?
..and I also realized there is s BSP file which is relevant for the DK, can someone tell me a way to intergrate the accelerometer.. do I need to create a separate BSP file if I were to program with the break out(of course the breakout doesn't have a programmer and I can use the nRF52 DK programmer)? How to build a BSP file ? Are there any tutorials on how to do it ? any easy methods?
how do I get it stated with SPI communication with the accelerometer? How do I build the configurations? and Once I program I want to see the acceleration on a display like serial monitor on Arduino.. are there any software to see this..?
I have an algorithm on how my application should work the techniques of getting the values from the accelerometer and decision making ect.. where should I write the algorithm files algo.c and algo.h .. should they be under main.c?
and this is sort of my strategy to build and finish this project . If you have any suggestion please feel free to give me some..
1. Develop the algo.h and algo.c
2. work on intergration of the accelerometer using the SPI interface.
3. Triggering the decision made with thresholds and send via BLE to the mobile phone.
P.S : I went through your 7 videos on You Tube and those are the only start up tutorials available and those are the only availbale tutorials for this whole thing and I don't know exactly how to use the documentation API infocenter.nordicsemi.com/index.jsp provided for this board.
I really like to learn this. Someone Pleeease Help!! I'm in a helpless position.
Thank U!!