<?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>will nrf24le1 impossible to design a low stanby remote controller ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3904/will-nrf24le1-impossible-to-design-a-low-stanby-remote-controller</link><description>I meet problems: 
 
 how to make all IO as input pull up??? like 
 
 P0DIR=0xFF; 
 P1DIR=0xFF; 
 P0CON = 0x50; 
 P0CON = 0x51; 
 ..........?? 
 how can I make all pins pull up? it seems only one pin can be pull up. 
 
 
 how can I enable all</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Oct 2014 12:24:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3904/will-nrf24le1-impossible-to-design-a-low-stanby-remote-controller" /><item><title>RE: will nrf24le1 impossible to design a low stanby remote controller ?</title><link>https://devzone.nordicsemi.com/thread/14054?ContentTypeID=1</link><pubDate>Mon, 20 Oct 2014 12:24:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b55c5d8-62ea-4b17-8ea9-0d92ecaacd76</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;WUOPCx will only enable the pins as a wake up source, but not change the active value for the reset. All pins are by default (once configured by WUOPCx) active high. Some of them can be set to active low. Please have a look in table 65 in the nRF24LE1 product specification.&lt;/p&gt;
&lt;p&gt;So you can&amp;#39;t use all buttons as wake up source if they are configured to pull a pin LOW to wake up the chip. Some of these pins can do this, but it&amp;#39;s a subset of the pins.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: will nrf24le1 impossible to design a low stanby remote controller ?</title><link>https://devzone.nordicsemi.com/thread/14050?ContentTypeID=1</link><pubDate>Tue, 14 Oct 2014 11:02:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:034a3518-41b3-41de-8200-06207f8bff43</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;IS the mcu can not wake up from low by config OPMCON = 0x06;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: will nrf24le1 impossible to design a low stanby remote controller ?</title><link>https://devzone.nordicsemi.com/thread/14053?ContentTypeID=1</link><pubDate>Mon, 13 Oct 2014 15:20:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b000b3f-0d58-428d-941a-e4068247de3a</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;but when WUOPCx inverted , they will never be able to wake up by press keys.
also when wake up pwrdwn=1 should reset the mcu? but the mcu never reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: will nrf24le1 impossible to design a low stanby remote controller ?</title><link>https://devzone.nordicsemi.com/thread/14052?ContentTypeID=1</link><pubDate>Mon, 13 Oct 2014 13:11:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa706509-1ca2-437c-a196-3acec8a02a8e</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;WUOPCx should be inverted. A value of 1 in WUOPCx will set the pin as wakeup source and with all the pullups enables you will wake up immediately from power down.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: will nrf24le1 impossible to design a low stanby remote controller ?</title><link>https://devzone.nordicsemi.com/thread/14049?ContentTypeID=1</link><pubDate>Sat, 11 Oct 2014 11:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca7c271e-fbec-481a-b26f-63fc031cce9a</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;it still with problems, can not enter sleep mode and reset when key down. please see below code. thanks.
the mcu is QFN32&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: will nrf24le1 impossible to design a low stanby remote controller ?</title><link>https://devzone.nordicsemi.com/thread/14051?ContentTypeID=1</link><pubDate>Sat, 11 Oct 2014 11:00:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a12e491-8533-4068-8f84-efc026d2cb0d</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;void main(void)
{
P0DIR = 0xff;		
P1DIR = 0x3f;	
PWRDWN = 0;
OPMCON=  0x00; 		
P1CON =  0x50;&lt;br /&gt;
P1CON =  0x51;&lt;br /&gt;
P1CON =  0x52;&lt;br /&gt;
P1CON =  0x53;&lt;br /&gt;
P1CON =  0x54;&lt;br /&gt;
P1CON =  0x55;&lt;br /&gt;
P0CON =  0x50;&lt;br /&gt;
P0CON =  0x51;&lt;br /&gt;
P0CON =  0x52;&lt;br /&gt;
P0CON =  0x53;&lt;br /&gt;
P0CON =  0x54;&lt;br /&gt;
P0CON =  0x55;&lt;br /&gt;
P0CON =  0x56;&lt;br /&gt;
P0CON =  0x57;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;	rf_init();								                       
 	EA=1;  
	LED1=1;
	delay(50);

	TX_Mode();								
	while (!(TX_DS|MAX_RT));				
	sta = 0;
	PD_Mode();							
	delay(50);
	
	LED1=0;   
    WUOPC0 = 0XFF; 
    WUOPC1 = 0X3F;                            
    OPMCON = 0x06;
	PWRDWN = 0x01;
 	while(1);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;also I ve try folowing code:&lt;/p&gt;
&lt;p&gt;void main(void)
{	P0 = 0x00;
P1 = 0x00;
P0DIR = 0xff;		
P1DIR = 0x3f;	
PWRDWN = 0;
OPMCON=  0x00; 		
P1CON =  0x50;&lt;br /&gt;
P1CON =  0x51;&lt;br /&gt;
P1CON =  0x52;&lt;br /&gt;
P1CON =  0x53;&lt;br /&gt;
P1CON =  0x54;&lt;br /&gt;
P1CON =  0x55;&lt;br /&gt;
P0CON =  0x50;&lt;br /&gt;
P0CON =  0x51;&lt;br /&gt;
P0CON =  0x52;&lt;br /&gt;
P0CON =  0x53;&lt;br /&gt;
P0CON =  0x54;&lt;br /&gt;
P0CON =  0x55;&lt;br /&gt;
P0CON =  0x56;&lt;br /&gt;
P0CON =  0x57;&lt;br /&gt;
LED1=1;
delay(500);&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;LED1=0;   
    WUOPC0 = 0XFF; 
    WUOPC1 = 0X3F;                            
    OPMCON = 0x06;
PWRDWN = 0x01;
 	while(1);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;}              				&lt;/p&gt;
&lt;p&gt;it also failed to enter sleep&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: will nrf24le1 impossible to design a low stanby remote controller ?</title><link>https://devzone.nordicsemi.com/thread/14048?ContentTypeID=1</link><pubDate>Wed, 24 Sep 2014 12:47:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5b5eeba-4672-4b16-8b43-bd8e3261dc25</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;1: The pull up/down can be individually set in P0CON registers. The configurations are chosen in bit 6:5 and then with bit 2:= you address which pin you want this configuration to. So if you want to set 5 pins as pull up you have to write to P0CON 5 times. One for each pin.&lt;/p&gt;
&lt;p&gt;2: Not all pins can be used a active low. Which pins are available as active low is described in &lt;a href="http://www.nordicsemi.com/eng/content/download/2443/29442/file/nRF24LE1_Product_Specification_rev1_6.pdf"&gt;nRF24LE1 prod spec table 65 on page 116.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3: &lt;a href="https://www.nordicsemi.com/eng/Nordic-FAQ/Silicon-Products/nRF24LE1/How-to-setup-deep-sleep-on-the-nRF24LE1"&gt;Have a look at the deep sleep example in the FAQ.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4: &lt;a href="https://www.nordicsemi.com/eng/Nordic-FAQ/Silicon-Products/nRF24LE1/How-to-setup-deep-sleep-on-the-nRF24LE1"&gt;The above FAQ also shows how to read and use a pin as wake up source.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>