<?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>PCA10040e not available in Template Project example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96772/pca10040e-not-available-in-template-project-example</link><description>I have made a custom PCB based on nRF52810 SOC. I have started development on Segger Embedded Studio, SDK17.0.1. 
 I have flashed the GPIO example code to the PCB and it works fine. 
 Then I tried the UART example and printf, but in the program. It doesn</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Feb 2023 13:18:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96772/pca10040e-not-available-in-template-project-example" /><item><title>RE: PCA10040e not available in Template Project example</title><link>https://devzone.nordicsemi.com/thread/410657?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 13:18:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c706b38c-d644-47e1-b7c3-52f0f9376789</guid><dc:creator>KKaushik</dc:creator><description>&lt;p&gt;Hello, it&amp;#39;s working now.&lt;/p&gt;
&lt;p&gt;I missed a step for PCA10040e&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;#define NRF_LOG_DEFERRED 0&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10040e not available in Template Project example</title><link>https://devzone.nordicsemi.com/thread/410642?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 12:51:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fd5e999-6e3a-49b9-b347-4b343aba338a</guid><dc:creator>KKaushik</dc:creator><description>&lt;p&gt;Using the GPIO example, I have tried the below code using PCA10040e&lt;/p&gt;
&lt;p&gt;And it works perfectly fine.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;stdbool.h&amp;gt;
#include &amp;lt;stdint.h&amp;gt;
#include &amp;quot;nrf_delay.h&amp;quot;
#include &amp;quot;nrf_gpio.h&amp;quot;

#define tx_pin 6
#define rx_pin 8

/**
 * @brief Function for application main entry.
 */
int main(void)
{
    /* Configure board. */
    //bsp_board_init(BSP_INIT_LEDS);
    nrf_gpio_cfg_output(rx_pin);
    nrf_gpio_cfg_output(tx_pin);

    /* Toggle LEDs. */
    while (true)
    {
        //for (int i = 0; i &amp;lt; LEDS_NUMBER; i++)
        //{
        //    bsp_board_led_invert(i);
        //    nrf_delay_ms(500);
        //}
        nrf_gpio_pin_set(rx_pin);
        nrf_gpio_pin_set(tx_pin);
        printf(&amp;quot;ON \r\n&amp;quot;);
        nrf_delay_ms(3000);

        nrf_gpio_pin_clear(rx_pin);
        nrf_gpio_pin_clear(tx_pin);
        printf(&amp;quot;OFF \r\n&amp;quot;);
        nrf_delay_ms(3000);
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I want to know how to read the output from UART (Rx Tx Pins), using a TTL converter (it doesn&amp;#39;t work), or can I even use nRF52840DK to read UART output (SWD cable)?&lt;/p&gt;
&lt;p&gt;For programming custom PCB, I&amp;#39;m only 4 pins (VCC, GND, SWDIO, SWDCLK).&lt;/p&gt;
&lt;p&gt;When I connected the PCB with nRF52840DK, it still shows the UART output of DK, not from the PCB. What&amp;#39;s the reason for that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10040e not available in Template Project example</title><link>https://devzone.nordicsemi.com/thread/410617?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 11:58:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bab6bba3-17f5-4bb0-b06c-f24a62863fc8</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The project has&amp;nbsp;BOARD_PCA10040 defined, and UART pins are typically then taken from the pca10040.h file&lt;/p&gt;
&lt;p&gt;SDK_folder\components\boards\pca10040.h&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/2275.pastedimage1676635109006v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Maybe you are using different pins on your custom board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10040e not available in Template Project example</title><link>https://devzone.nordicsemi.com/thread/410612?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 11:41:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44fb951e-56ee-4850-8793-7fad2b988a70</guid><dc:creator>KKaushik</dc:creator><description>&lt;p&gt;I have tried this project but still does not show anything on Serial Monitor. Could you please help with that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10040e not available in Template Project example</title><link>https://devzone.nordicsemi.com/thread/410577?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 09:56:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01794777-6909-4b27-8a12-59f83b586bde</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For the&amp;nbsp;&lt;span&gt;ble_app_template example we have&amp;nbsp;pca10040e project.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1676627656841v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_template.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_template.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;See this guide on how to transfer a PCA10040e project to nRF52810 hardware:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf52810_user_guide.html?cp=9_1_5_0_3#ug_52810_project"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf52810_user_guide.html?cp=9_1_5_0_3#ug_52810_project&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>