I am new to nordic, i am using nrf52840 development kit and using the SDK nRF5_SDK_for_Thread_and_Zigbee_v3.0.0_d310e71.
I would like to start the program from scratch and I want to know how I can configure the GPIO, enable the interrupt, timmer and other peripheral.
I am unable to find a proper programming guide and API regarding peripherals. So if you guys please share the programming guide/software development guide/API documents with me it will really help me to start the programming.
Thanks in advance
Is this what you are looking for?
What are you trying to achieve if I may ask? :-)
Which communication protocol do you want to work with? BLE? Zigbee? Thread? BLE Mesh?
Thanks for your quick feedback, I am going through the link. In case of any queries i will get back to you.
I am using the Zigbee protocol and configuring with Alex.Also, I want to build a firmware that reads the rising edge interrupt on GPIO of 20ms square wave. And after the rising edge detection toggle another GPIO pin connected to the LED. Our main concern is building a device that has a ZCD base LED triggering algorithm, which will be controlled by the Zigbee protocol.So, as I am new to the nrf family, I want to start from the configuration of GPIO, timer and other peripheral and use them.Please help me how can I proceed further.
Hi again Rohit.
For the Zigbee part, you can have a look at these sections on Infocenter about Zigbee:
Our Thread and Zigbee SDK (version 3.1.0) is built upon nRF5 SDK v15.3.0, so for information about GPIO, timer, and other peripherals you can have a look at the documentation for nRF5 SDK v15.3.0. The section Getting Started with Thread and Zigbee also lists peripheral requirements for different chips (i.e restricted peripherals).
Rohit Rajapure said:So, as I am new to the nrf family, I want to start from the configuration of GPIO, timer and other peripheral and use them.
You can take a look at the documentation for the GPIOTE driver here, and the API is listed here.