Zephyr and Nordic nRF Connect SDK - 03 DeviceTree Overlay and Buttons (v2.4.2)

  Переглядів 2,623

WSN & IoT

WSN & IoT

День тому

The nRF Connect SDK by Nordic Semiconductor is built upon the real-time operating system, Zephyr, which offers robust support for multithreading. Hardware configurations are seamlessly managed through a device tree, and component activation or deactivation can be controlled via a configuration file.
In this video we will learn how to define our own LED resource in a DeviceTree overlay file. And after that we will program a button to turn this LED on and off.
Book (english version)
WSN & IoT (Basics, protocols and applications):
a.co/d/5yfTIuJ
ISBN-13: 979-8851358074
Book (deutsche Version)
WSN & IoT (Grundlagen, Protokolle und Anwendungen):
amzn.eu/d/hAbTgD0
ISBN-13: 979-8648512061
##Hardware###########
Developer board nRF52840-dk:
www.nordicsemi.com/Products/D...
00:00 Introduction
00:23 LED schematics
00:51 Creating a devicetree overlay file
02:50 GUI for the devicetree
03:53 Disable i2c0 in the devicetree
04:44 Copy of a existing project
06:11 Programming button 0
11:40 Outro

КОМЕНТАРІ: 14
@MarkKipping-rr5md
@MarkKipping-rr5md 5 місяців тому
Hello Markus, thank you very much for your videos. Your calm way of explaining the meaning of certain instructions and how to use them works perfect for me. I am interested in BLE Firmware Over The Air (FOTA). Could you please make a video on that subject, based on a simple peripheral?
@karthic4404
@karthic4404 6 місяців тому
Please make full tutorial of cover all the topics, but i need more on ble and mesh Can you make that please 🙏
@alexheslop2917
@alexheslop2917 5 місяців тому
Hey, could you do a video on the nRF RTC in v2.4.2? The documentation around it is a little unclear for configuration. Thanks for all the work you've put into these videos!!
@user-vl2gz6oz8x
@user-vl2gz6oz8x 3 місяці тому
Hi Markus, do you plan on making a tutorial for SED on thread? That would be very helpful!!
@MuhammadBilal-yu6ml
@MuhammadBilal-yu6ml 6 місяців тому
Thanks a lot Sir! Keep making such helpful tutorials. I wish I could give 10 likes from one account 😄
@michaeldalby1971
@michaeldalby1971 3 місяці тому
Hi Markus, great video (very explanatory). You mentioned (@10:30) that for the 'gpio_add_callback' you can add multiple call back functions... is this done by adding further 'gpio_add_callback' statements to the same port? Please can you expand your explanation?
@wsniot
@wsniot 3 місяці тому
Hi, with gpio_init_callback you just initialize a gpio_callback structure (cb-function, pinnr) . With gpio_add_callback you add this structure associated with the GPIO-port (driver) in this case GPIO0. For another button on the same port you can add another gpio_callback structure. To activate the specific interrupt and pin you call than gpio_pin_interrupt_configure_dt which is actually the same as gpio_pin_interrupt_configure(port, pin, flags).
@karthic4404
@karthic4404 5 місяців тому
Can you make a video for adc and pwm interrupt and gpio input
@christiancortes8455
@christiancortes8455 6 місяців тому
where can i find the documentation that maps the SoCs pins to the DevKits pins, I cannot find that one
@wsniot
@wsniot 6 місяців тому
The pins are labeled on the DevKit. Hardewarefiles like the Schematics you find under Downloads at the Webpage from the DevKit (www.nordicsemi.com/Products/Development-hardware/nRF52840-DK)
@user-oi2ib6rs4z
@user-oi2ib6rs4z 5 місяців тому
Do you have a video on nrf5340 dual core and HCI?
@wsniot
@wsniot 5 місяців тому
Unfortunately there is no video as I don't have the nRF5340-DK. I'll probably skip the nRF5340 as I'm more interested in the nRF54, which should be available around the beginning of next year.
@user-yb9yr2wu8v
@user-yb9yr2wu8v Місяць тому
英文不好, 能否配上字幕???????
@nyeleskettes
@nyeleskettes 4 місяці тому
I can understand and enjoy a tool that generates a device configuration/init C file for GPIO init but let me be and to hell with proprietary tools that are added to the build chain and make some "magic" that no one can reuse later outside this steaming pile of unique framework.
Історія загиблого Назара Небожинського
00:54
Суспільне Рівне
Переглядів 676 тис.
"Поховали поруч": у Луцьку попрощались із ДВОМА Героями 🕯🥀 #герої #втрати
00:15
Телеканал Конкурент TV - новини Луцька та Волині
Переглядів 310 тис.
EMC: Compliance, Opportunities & Pitfalls with @DrEMC-sf8rx
41:27
Zephyr RTOS Intro - And why I love it
39:37
ANTSHIV ROBOTICS
Переглядів 3,4 тис.
Compiling MS-DOS 4.0 using DOSbox & Qemu
17:59
Neozeed
Переглядів 2,6 тис.
Zephyr 101 - Using the Device Tree
19:06
Circuit Dojo
Переглядів 6 тис.
Device Tree: hardware description for everybody !
43:17
Bootlin
Переглядів 77 тис.
Опасная флешка 🤯
0:22
FATA MORGANA
Переглядів 769 тис.
🤯Самая КРУТАЯ Функция #shorts
0:58
YOLODROID
Переглядів 2,9 млн
Start from 0 at any point on the T1 Digital Tape Measure
0:14
REEKON Tools
Переглядів 36 млн