<?xml-stylesheet type="text/xsl" href="https://test-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/"><channel><title>Board support package (BSP)</title><link>/guides/short-range-guides/b/software-development-kit/posts/board-support-package-bsp</link><description>Board Support Package 
In this tutorial we will use the Board Support Package to control hardware peripherals on the nRF51 or nRF52 DK.
 Required tools 

Keil 5.20
 nRF SDK 11 
 nRFgo Studio 1.21.2 
 Putty 

 Introduction 
The Board Support</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><item><title>RE: Board support package (BSP)</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/board-support-package-bsp</link><pubDate>Mon, 11 Apr 2022 08:02:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ed49f57-639d-4db2-880c-69b5521b87b9</guid><dc:creator>user104149</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I think this tutorial is not good: &lt;br /&gt;- the URLs are still not working&lt;br /&gt;- with my SDK (17.0.2) bsp_init(x,x) has two arguments, not three&lt;br /&gt;- there is almost no documentation on the hardware side of these &amp;quot;LEDs&amp;quot; and &amp;quot;buttons&amp;quot;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1171&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Board support package (BSP)</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/board-support-package-bsp</link><pubDate>Mon, 11 Apr 2022 07:59:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ed49f57-639d-4db2-880c-69b5521b87b9</guid><dc:creator>user104149</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I think this tutorial is not good:&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1171&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Board support package (BSP)</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/board-support-package-bsp</link><pubDate>Thu, 13 Aug 2020 17:59:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ed49f57-639d-4db2-880c-69b5521b87b9</guid><dc:creator>user91261</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Good.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1171&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Board support package (BSP)</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/board-support-package-bsp</link><pubDate>Tue, 24 Sep 2019 23:56:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ed49f57-639d-4db2-880c-69b5521b87b9</guid><dc:creator>user83634</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The URL&amp;#39;s in &amp;quot;Board support setup&amp;quot; section are broken - pointing to nothing&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1171&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Board support package (BSP)</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/board-support-package-bsp</link><pubDate>Thu, 05 Apr 2018 01:13:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ed49f57-639d-4db2-880c-69b5521b87b9</guid><dc:creator>user8248</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;void bsp_event_handler(bsp_event_t event)&lt;br /&gt;{&lt;br /&gt; uint32_t err_code;&lt;br /&gt; switch (event)&lt;br /&gt; {&lt;br /&gt; case BSP_EVENT_SLEEP:&lt;br /&gt; sleep_mode_enter();&lt;br /&gt; break;&lt;/p&gt;
&lt;p&gt;case BSP_EVENT_DISCONNECT:&lt;br /&gt; err_code = sd_ble_gap_disconnect(m_conn_handle, BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);&lt;br /&gt; if (err_code != NRF_ERROR_INVALID_STATE)&lt;br /&gt; {&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt; }&lt;br /&gt; break;&lt;/p&gt;
&lt;p&gt;case BSP_EVENT_WHITELIST_OFF:&lt;br /&gt; if (m_conn_handle == BLE_CONN_HANDLE_INVALID)&lt;br /&gt; {&lt;br /&gt; err_code = ble_advertising_restart_without_whitelist();&lt;br /&gt; if (err_code != NRF_ERROR_INVALID_STATE)&lt;br /&gt; {&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt; }&lt;br /&gt; }&lt;br /&gt; break;&lt;/p&gt;
&lt;p&gt;default:&lt;br /&gt; break;&lt;br /&gt; }&lt;br /&gt;}&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1171&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Board support package (BSP)</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/board-support-package-bsp</link><pubDate>Thu, 05 Apr 2018 01:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ed49f57-639d-4db2-880c-69b5521b87b9</guid><dc:creator>user8248</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This&amp;nbsp;&lt;span&gt;tutorial,I can understand it very well.but why the&amp;nbsp;ble_app_uart example use the event curious ?&lt;/span&gt;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1171&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Board support package (BSP)</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/board-support-package-bsp</link><pubDate>Thu, 26 Jan 2017 15:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ed49f57-639d-4db2-880c-69b5521b87b9</guid><dc:creator>user17910</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Great tutorial. But I have question. Can I use the BPS for other peripherals, let&amp;#39;s say, a pin (e.g pin 31) instead of a button? I would like to detect the state of the pin.&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1171&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Board support package (BSP)</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/board-support-package-bsp</link><pubDate>Mon, 08 Aug 2016 15:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ed49f57-639d-4db2-880c-69b5521b87b9</guid><dc:creator>user14615</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;First of all many thx for example. But there seems to be incompatibility with my SDK 11. I&amp;#39;m using nRF5_SDK_11.0.0_89a8197.zip and UART baudrate in examples\peripheral\bsp\main.c is not 38400 but 115200.&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1171&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>