<?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>The pinout of nrf5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81286/the-pinout-of-nrf5340</link><description>Hi, I tested the RGB Led (with an external RGB Led) with the nrf 5340. But I didn&amp;#39;t find any pinout with a brief overview of all the pins and their features because the PWM didn&amp;#39;t do the job, and I do not know if it was my code or that I used the wrong</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Nov 2021 08:47:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81286/the-pinout-of-nrf5340" /><item><title>RE: The pinout of nrf5340</title><link>https://devzone.nordicsemi.com/thread/337625?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 08:47:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d09a9314-a053-4800-a7b9-5d418c7e12c2</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Dylan,&lt;/p&gt;
&lt;p&gt;On the nRF5340 DK, pins p0.28, p0.29 and p0.30 are connected to the LEDs on the board itself. But you can utilize any of the Analog GPIO pins for your Analog RGB LED. For eg, you could try setting the R,G,B LEDs in the overlay file to any other analog GPIO pins like p0.04, p0.05 and p0.06.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1636102017908v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;You can find&amp;nbsp;a set of pins on the board written as (A0). Also, you could try referring the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf5340%2Fchapters%2Fpin.html&amp;amp;cp=3_0_0_8_0"&gt;pins assignments for nRF5340 DK&lt;/a&gt;. Here, all the available Analog as well as Digital GPIO pins are mentioned according to their pin number and you could try connecting to any of them for you RGB LED example.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;PK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The pinout of nrf5340</title><link>https://devzone.nordicsemi.com/thread/337360?ContentTypeID=1</link><pubDate>Wed, 03 Nov 2021 21:54:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db9d4da5-5920-4843-8d93-1f60ddb05c78</guid><dc:creator>kakadua</dc:creator><description>&lt;p&gt;Okay, I tried the overlay method, but then the LEDs on my DK will go with the RGB LEDs. And Is there a method to use more RGB LEDs and not just one because if I understand it correctly? The only pins I can use for an Analog RGB Led are p0.28, p0.29, p0.30, and p0.31?&lt;/p&gt;
&lt;p&gt;And many thanks for considering my request!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The pinout of nrf5340</title><link>https://devzone.nordicsemi.com/thread/336986?ContentTypeID=1</link><pubDate>Tue, 02 Nov 2021 08:14:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fabf868-6c22-4b89-9fe0-2886f40a6539</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Dylan,&lt;/p&gt;
&lt;p&gt;You can use any available GPIO pins for PWM configuration. I hope the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf5340%2Fchapters%2Fpin.html&amp;amp;cp=3_0_0_8_0"&gt;pin assignments for the nRF5340&lt;/a&gt;&amp;nbsp;can be of help. But some GPIO pins are configured as &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf5340_dk/UG/dk/hw_buttons_leds.html"&gt;Buttons and LEDs&lt;/a&gt; and this could be utilized for the RGB example.&lt;/p&gt;
&lt;p&gt;While performing the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/basic/rgb_led/README.html"&gt;RGB sample&lt;/a&gt;,&amp;nbsp; you should assign the proper PWM pins (GPIO pins available, from the Buttons and LEDs reference) either directly in the code, or you could create an overlay file for the same.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;PK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>