|
How to read and write GPIO pins on nRF5340
#gpio
Hello, Can someone please tell how to read/write to GPIO pins (ports P0 and P1)? I am using zephyr and NRF Connect v1.30 Thank you. Kind regards Mohamed Belaroussi
Hello, Can someone please tell how to read/write to GPIO pins (ports P0 and P1)? I am using zephyr and NRF Connect v1.30 Thank you. Kind regards Mohamed Belaroussi
|
By
mohamed.belaroussi@...
· #2321
·
|
|
NRF52832 and GPIO
#gpio
#nrf52832
Ok, found the issue: It was do to pin mapping naming. I was assuming that the pinmaps in Arduino D5, D6, and so on, corresponded to a direct GPIO map, so D5->GPIO_5 and so on... and that's not true. A
Ok, found the issue: It was do to pin mapping naming. I was assuming that the pinmaps in Arduino D5, D6, and so on, corresponded to a direct GPIO map, so D5->GPIO_5 and so on... and that's not true. A
|
By
forum.contas@...
· #2297
·
|
|
NRF52832 and GPIO
#gpio
#nrf52832
Have you done the initialization by running gpio_pin_configure with GPIO_OUTPUT_ACTIVE as third argument ? Just to be clear, you´re trying to set pin p0.05 ? That´s located on chip pin7 (QFN48 pkg) ?
Have you done the initialization by running gpio_pin_configure with GPIO_OUTPUT_ACTIVE as third argument ? Just to be clear, you´re trying to set pin p0.05 ? That´s located on chip pin7 (QFN48 pkg) ?
|
By
Erik Englund
· #2296
·
|
|
NRF52832 and GPIO
#gpio
#nrf52832
Hi, No MCUBoot. And yes, the board boots correctly and I can use GDB to debug. I can see the GPIO driver calls, the values that are set and so on. My prj.conf file is as simple as it can get: CONFIG_G
Hi, No MCUBoot. And yes, the board boots correctly and I can use GDB to debug. I can see the GPIO driver calls, the values that are set and so on. My prj.conf file is as simple as it can get: CONFIG_G
|
By
forum.contas@...
· #2295
·
|
|
NRF52832 and GPIO
#gpio
#nrf52832
Are you sure that your board boots correctly? ( debug through gdb or just simple serial output ) What version of the SDK are you using? Is MCUBoot activated in your prj.conf?
Are you sure that your board boots correctly? ( debug through gdb or just simple serial output ) What version of the SDK are you using? Is MCUBoot activated in your prj.conf?
|
By
Erik Englund
· #2294
·
|
|
NRF52832 and GPIO
#gpio
#nrf52832
Not sure if I'm going to have any help on this, but anyway: I've a standard NRF52832 module that has connected to pin 5 a red LED. If I flash the module (through JLink) with the Arduino framework, the
Not sure if I'm going to have any help on this, but anyway: I've a standard NRF52832 module that has connected to pin 5 a red LED. If I flash the module (through JLink) with the Arduino framework, the
|
By
forum.contas@...
· #2293
·
|
|
Serial communication Node-red
#ble
#bluetoothmesh
#gpio
#usb
#bluetooth
Hi, I am wondering if anyone has tried reading for a serial port using node-red Currently, I'm using putty to read messages sent from my device built with help from zephyr mesh demo, as I'm using the
Hi, I am wondering if anyone has tried reading for a serial port using node-red Currently, I'm using putty to read messages sent from my device built with help from zephyr mesh demo, as I'm using the
|
By
...
· #1896
·
|
|
BBC-Microbit BLE MESH sending data
#ble
#bluetoothmesh
#gpio
#bluetooth
#nrf51822
Danny, I find the best place to start is the samples, you should find examples of unsolicited messages in the mesh samples. You may also find that the Micro:bit is notoriously difficult to work with d
Danny, I find the best place to start is the samples, you should find examples of unsolicited messages in the mesh samples. You may also find that the Micro:bit is notoriously difficult to work with d
|
By
William Fish
· #1892
·
|
|
BBC-Microbit BLE MESH sending data
#ble
#bluetoothmesh
#gpio
#bluetooth
#nrf51822
Hi, I am currently doing an engineering project for my final year, I have been using the bluetooth mesh demo on the zephyr project using the bbc microbits, I have set up a pir sensor up to produce a s
Hi, I am currently doing an engineering project for my final year, I have been using the bluetooth mesh demo on the zephyr project using the bbc microbits, I have set up a pir sensor up to produce a s
|
By
...
· #1888
·
|
|
Determining source of GPIO Interrupt on NRF52832
#gpio
#nrf52832
I just realized I responded to you privately by accident, Lawrence. Sorry about that. I will copy the message I sent to you to the group so that the discussion is up to date. The suggestion regarding
I just realized I responded to you privately by accident, Lawrence. Sorry about that. I will copy the message I sent to you to the group so that the discussion is up to date. The suggestion regarding
|
By
bbradley@...
· #1807
·
|
|
Determining source of GPIO Interrupt on NRF52832
#gpio
#nrf52832
Hi Brian: You can always test the value of the GPIO with gpio_pin_read() in the callback, if it is 1, then the cause is a rising edge, and if it is 0 the cause was a falling edge. Unfortunately if the
Hi Brian: You can always test the value of the GPIO with gpio_pin_read() in the callback, if it is 1, then the cause is a rising edge, and if it is 0 the cause was a falling edge. Unfortunately if the
|
By
Lawrence King
· #1805
·
|
|
Determining source of GPIO Interrupt on NRF52832
#gpio
#nrf52832
Hello, I hope I am posting this question in the correct place. I have an interrupt handler which can be configured to trigger on either edge. This is working perfectly, but I want to perform a differe
Hello, I hope I am posting this question in the correct place. I have an interrupt handler which can be configured to trigger on either edge. This is working perfectly, but I want to perform a differe
|
By
bbradley@...
· #1803
·
|
|
BBC-Microbit PIR sensor
#zephyrbluetoothmesh
#sensor
#ble
#bluetoothmesh
#gpio
Hi, You may want to look at a couple of things to help you answer your own question: In the zephyr folders; It has the list of defines and corresponding pins The other useful information would be a cl
Hi, You may want to look at a couple of things to help you answer your own question: In the zephyr folders; It has the list of defines and corresponding pins The other useful information would be a cl
|
By
William Fish
· #1788
·
|
|
BBC-Microbit PIR sensor
#zephyrbluetoothmesh
#sensor
#ble
#bluetoothmesh
#gpio
Hi All, Im currently working on my 3rd year engineering project and I need some help/guidance as I'm a complete beginner. My project is a home monitoring system and my plan is to use PIR motion sensor
Hi All, Im currently working on my 3rd year engineering project and I need some help/guidance as I'm a complete beginner. My project is a home monitoring system and my plan is to use PIR motion sensor
|
By
...
· #1781
·
|
|
Test if a given GPIO is interruptible
#gpio
#dts
Hello again :) "leonardomt via Lists.Zephyrproject.Org" <leonardomt=gmail.com@...> writes: I would say that if the hardware supports interrupts, then the Zephyr GPIO driver for it
Hello again :) "leonardomt via Lists.Zephyrproject.Org" <leonardomt=gmail.com@...> writes: I would say that if the hardware supports interrupts, then the Zephyr GPIO driver for it
|
By
Bolivar, Marti
· #1643
·
|
|
Test if a given GPIO is interruptible
#gpio
#dts
Is there a way to detect programmatically if a given pin can be configured as interrupt using Zephyr? (e.g. some sort of a map/list or macros that I could reuse). Are there any side effects in configu
Is there a way to detect programmatically if a given pin can be configured as interrupt using Zephyr? (e.g. some sort of a map/list or macros that I could reuse). Are there any side effects in configu
|
By
Leo
· #1641
·
|
|
#gpio ESP32: Could not able to toggle gpio pin [i.e stuck at LOW(0) all time though we set to 1 (HIGH)]
#gpio
Hello Everyone, I am new to embedded programming (ESP32 microcontroller and Zephyr OS). By following documentation, I sucessfully executed Helo World! Program on ESP32. I plan to start demo project as
Hello Everyone, I am new to embedded programming (ESP32 microcontroller and Zephyr OS). By following documentation, I sucessfully executed Helo World! Program on ESP32. I plan to start demo project as
|
By
...
· #1002
·
|
|
Does Zephyr gives us an option to use Peripheral Pin Select?
#nrf52832
#gpio
Hey Everyone, I want to use Some pins as an ADC pins. I need to configure the pin as an ADC pin and to do that i need to use Peripheral Pin Select feature. My question is : Does Zephyr gives us functi
Hey Everyone, I want to use Some pins as an ADC pins. I need to configure the pin as an ADC pin and to do that i need to use Peripheral Pin Select feature. My question is : Does Zephyr gives us functi
|
By
Rajat Kalyan
· #929
·
|
|
I am not able to configure pins as an input pin using the Zephyr OS API
#nrf52832
#input
#gpio
Hi Rajat, I would suggest you take a look at samples/basic/button for inspiration of using the input pins and modify it to out to the LEDs. Regards, Vinayak
Hi Rajat, I would suggest you take a look at samples/basic/button for inspiration of using the input pins and modify it to out to the LEDs. Regards, Vinayak
|
By
...
· #885
·
|
|
I am not able to configure pins as an input pin using the Zephyr OS API
#nrf52832
#input
#gpio
Hi Everyone, Pardon me if i write some illogical stuff. Complete beginner to this microcontroller. I started using nrf52832 with Zephyr OS . I was trying to configure the pin as a input pin and blink
Hi Everyone, Pardon me if i write some illogical stuff. Complete beginner to this microcontroller. I started using nrf52832 with Zephyr OS . I was trying to configure the pin as a input pin and blink
|
By
Rajat Kalyan
· #879
·
|