<?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>How to make 51822 into test mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3073/how-to-make-51822-into-test-mode</link><description>We are preparing BQB test for our BTLE product now.
Could you please help confirm if you have the test command to make 51822 into the test mode and can be auto-testing by BTLE equipment?
This is very urgent for us.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Jul 2014 14:05:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3073/how-to-make-51822-into-test-mode" /><item><title>RE: How to make 51822 into test mode</title><link>https://devzone.nordicsemi.com/thread/11468?ContentTypeID=1</link><pubDate>Thu, 10 Jul 2014 14:05:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9d6e0a1-6823-4351-8e8d-1897d772bc4b</guid><dc:creator>John</dc:creator><description>&lt;p&gt;I may be wrong, but I don&amp;#39;t believe there is a command to tell the soft device to cease operation and enter DTM mode. We accomplished this by checking the state of a pin at power up and if it was pulled low we invoke the DTM rather than booting into normal mode and starting the soft device. It looks like:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;		// DTM detection pin is pulled up in HW, a low pin means DTM mode should be entered.
	nrf_gpio_cfg_input(DTM_DETECT_PIN_NUMBER, NRF_GPIO_PIN_NOPULL);

	__NOP();
	__NOP();
	__NOP();

	pin_state = nrf_gpio_pin_read(DTM_DETECT_PIN_NUMBER);

	if (pin_state == 0)			// Do not do normal initialization, go into radio test mode.
	{
		#if defined (USE_DTM)
			dtm_main_loop();
		#endif
		
		#if defined (USE_RADIO_TEST)
			radio_test_main();
		#endif
	}
	else
	{
               // Boot normally and start soft device
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>