<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF52840 and P0.24 output blinking on a PCA10056 board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82055/nrf52840-and-p0-24-output-blinking-on-a-pca10056-board</link><description>Dear Team, 
 I&amp;#39;m using a custom board to test a radio module based on the nRF52840 chip, in this board the P0.24 pin is tied to a led that blink during the execution of an SAADC example written for the PCA10056 board. It is possible to know where I can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Nov 2021 13:26:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82055/nrf52840-and-p0-24-output-blinking-on-a-pca10056-board" /><item><title>RE: nRF52840 and P0.24 output blinking on a PCA10056 board</title><link>https://devzone.nordicsemi.com/thread/340748?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 13:26:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c98d9ee-db58-447c-996c-e8a7614fc6ee</guid><dc:creator>STE</dc:creator><description>&lt;p&gt;Dear Sebastiaan,&lt;/p&gt;
&lt;p&gt;thanks for your answer, I&amp;#39;ve followed in deep all the code and now I well understand how the framework work so I&amp;#39;ve solved just some minutes ago the trouble.&lt;/p&gt;
&lt;p&gt;It was simple, inside the configuration file pca10056.h there are definitions about physical leds and buttons lines.&lt;/p&gt;
&lt;p&gt;Inside the bsp_btn_ble.c module there are the function responsible to manage the buttons.&lt;/p&gt;
&lt;p&gt;About the led and the P0.24 line this is related to the LED_1 inside the LEDS_LIST and is also managed by the on_adv_evt() handler by the bsp_indication_set(BSP_INDICATE_ADVERTISING); function, follow the code inside the bsp.c module take to the bsp_led_indication() function that is where the led are configured to indicate required state.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;F.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 and P0.24 output blinking on a PCA10056 board</title><link>https://devzone.nordicsemi.com/thread/340743?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 13:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2509edfb-8cfa-4b05-9657-eeafd93b8e49</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Are you using the nRF5 SDK or the nRF connect SDK? If you are using the nRF5 SDK, you can use the GPIO HAL here to drive the LED: &lt;span&gt;&lt;a title="GPIO HAL" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__nrf__gpio__hal.html?cp=8_1_6_8_0_13_0"&gt;GPIO HAL&lt;/a&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;e.g.&lt;/p&gt;
&lt;p&gt;#include &amp;quot;nrf_gpio.h&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a title="nrf_gpio_cfg_output" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__nrf__gpio__hal.html?cp=8_1_6_8_0_13_0_10#ga5c6f584e6e01dd0c65bd1b9eee958cbb"&gt;nrf_gpio_cfg_output&lt;/a&gt;(24) // Configure P0.24 as an output&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a title="nrf_gpio_pin_toggle" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__nrf__gpio__hal.html?cp=8_1_6_8_0_13_0_29#gac7f7bf539f5bb053b4a313ec51d8157e"&gt;nrf_gpio_pin_toggle&lt;/a&gt;(24) // Toggle the output.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 and P0.24 output blinking on a PCA10056 board</title><link>https://devzone.nordicsemi.com/thread/340658?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 08:34:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d4f419d-5f3a-4d84-b078-1997cb5978b3</guid><dc:creator>Sebastiaan Merckx</dc:creator><description>&lt;p&gt;Maybe the device tree that you&amp;#39;re using can give you some more insights?&lt;/p&gt;
&lt;p&gt;And otherwise, check the hardware schematics of the board on which your custom board is based. What is connected to P0.24 of the reference board? Maybe it&amp;#39;s just the UART TX pin, transmitting logs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>