I have added the include and src. file paths to the MAKEFILE and yet I am experiencing this error.
I tried deleting the main.c.o file too, but am still experiencing this issue.
I have added the include and src. file paths to the MAKEFILE and yet I am experiencing this error.
I tried deleting the main.c.o file too, but am still experiencing this issue.
Hello Karl,
Hope you are doing good.
I needed a help with regards to changing my Button's Configurations.
I wanted to change their Natural states from Active HIGH to Active Low and read High inputs.
Also could you please provide me with a way to directly get you on my future issues rather than any othe engineer? You have been really helpful and I do not want any old tickets hanging on your profile.
Thank you
I am using the pwr_mgmt example where reset event is generated by pressing the Button 2 to wake up the device. I wanted to wake up using an Interrupt by a sensor. The interrupt is a High pulse.
When i press the button, the port is grounded and that acts as a trigger. I want the pulse to be the trigger to wake it up. How can I change the button's configuration from LOW to HIGH, to wake it up again i.e. to make the Buttons active LOW and Take a High Signal as an input
Hello again RID,
RJD said:Hope you are doing good.
I am, thank you for asking! I hope you are good as well.
RJD said:I needed a help with regards to changing my Button's Configurations.
l will answer the question you have posed here, but for future reference please open a new ticket for new questions that diverge from the original ticket. This will ensure that the forum is tidy and easy to navigate for other users.
RJD said:I wanted to change their Natural states from Active HIGH to Active Low and read High inputs.
This is not correct, and contradicting itself. The buttons on the nRF52840 DK is active low, meaning that they are pulled up with an internal resistor, and registering a transition to GND ( thus the name, active low ). If you were to have a button active low, which should read high inputs ( assuming this means register and react to transitions to high ), then it would fire constantly, since it is being pulled up. Changing the buttons to active high would require a change in Hardware on the DK, since the button now connects the pin to ground.
RJD said:I wanted to wake up using an Interrupt by a sensor. The interrupt is a High pulse.
If this is what you seek to do, then you should use the GPIOTE peripheral directly instead - which is what the bsp ( buttons ) are doing behind the scenes.
It sounds to me like you should use a PORT event in your application, the general approach will then look something like the following:
.. err_code = nrfx_gpiote_init(); APP_ERROR_CHECK(err_code); .. nrfx_gpiote_in_config_t config = GPIOTE_CONFIG_IN_SENSE_TOGGLE(false); config.pull = NRF_GPIO_PIN_PULLDOWN; .. err_code = nrfx_gpiote_in_init(pin, &config, gpiote_event_handler); APP_ERROR_CHECK(err_code); .. nrfx_gpiote_in_event_enable(pin, true); ..
RJD said:Also could you please provide me with a way to directly get you on my future issues rather than any othe engineer? You have been really helpful and I do not want any old tickets hanging on your profile.
I am happy to hear that you have found my answers helpful! Unfortunately, there is no way to guarantee that a specific case will be assigned to me, but I thank you for expressing that!
Best regards,
Karl