<?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 power off and power on the ble and usb module in ncs sdk?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117517/how-to-power-off-and-power-on-the-ble-and-usb-module-in-ncs-sdk</link><description>Hi, 
 im develop a keyboard by ncs sdk in nrf52840,and one funcation is that power off/on the keyboard ny fn key .i see the CAF: Power manager module , It doesn&amp;#39;t seem to solve my problem.so there is some event i can send to power on and off the usb and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Jan 2025 14:40:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117517/how-to-power-off-and-power-on-the-ble-and-usb-module-in-ncs-sdk" /><item><title>RE: How to power off and power on the ble and usb module in ncs sdk?</title><link>https://devzone.nordicsemi.com/thread/517272?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 14:40:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:037d24bc-ecef-44da-b149-b9ca55f33233</guid><dc:creator>pipixia_1_1</dc:creator><description>&lt;p&gt;if i call&amp;nbsp;&lt;span&gt;force_power_down(), if i call press the key，the system will work up&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to power off and power on the ble and usb module in ncs sdk?</title><link>https://devzone.nordicsemi.com/thread/517040?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 14:53:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dadae4b5-d7e2-4608-9b80-7bf5c1f41cf3</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can you try to elaborate a bit what you want to achieve here? Because there are already mechanism that will disable USB when there is no VBUS, and the BLE stack will not draw any current if it&amp;#39;s not advertising or in a connection. If you just want to abrupt power off you should be able to call&amp;nbsp;&lt;span&gt;force_power_down&lt;/span&gt;&lt;span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to power off and power on the ble and usb module in ncs sdk?</title><link>https://devzone.nordicsemi.com/thread/516423?ContentTypeID=1</link><pubDate>Sat, 28 Dec 2024 15:39:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72d10778-34d0-4b2a-b793-638c35c65eef</guid><dc:creator>pipixia_1_1</dc:creator><description>&lt;p&gt;my product is developed from this application,but there is no method to swicth on off the usb and ble when runing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to power off and power on the ble and usb module in ncs sdk?</title><link>https://devzone.nordicsemi.com/thread/516400?ContentTypeID=1</link><pubDate>Sat, 28 Dec 2024 00:27:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a830369-bebe-46a9-849f-2acb83c40772</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;&lt;span&gt;We have the nRF Desktop application (under NCS applications) that is a reference design of HID devices&amp;nbsp;&lt;/span&gt;&lt;span&gt;that connect to a host through BLE, USB or both.&amp;nbsp;&lt;/span&gt;&lt;span&gt;Depending on the configuration, this application can work as a desktop mouse, gaming mouse, keyboard, or connection dongle. Maybe you can have a look at this application.&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/nrf_desktop/api.html"&gt;NRF_DESKTOP&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to power off and power on the ble and usb module in ncs sdk?</title><link>https://devzone.nordicsemi.com/thread/516267?ContentTypeID=1</link><pubDate>Thu, 26 Dec 2024 08:15:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6c7b9a5-f01f-4de0-868a-320322317273</guid><dc:creator>pipixia_1_1</dc:creator><description>&lt;p&gt;hello ,tere is some method to slove this problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to power off and power on the ble and usb module in ncs sdk?</title><link>https://devzone.nordicsemi.com/thread/516194?ContentTypeID=1</link><pubDate>Tue, 24 Dec 2024 01:39:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:180516fc-1b64-43fa-806f-0c4792a30fea</guid><dc:creator>pipixia_1_1</dc:creator><description>&lt;p&gt;i know,the&amp;nbsp;&lt;span&gt;CAF Power manager can&amp;nbsp;automatically manage USB power states based on USB events.what i need is disable the usb and ble funcation by fn key and will not influence other funcation like key scan .&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to power off and power on the ble and usb module in ncs sdk?</title><link>https://devzone.nordicsemi.com/thread/516180?ContentTypeID=1</link><pubDate>Mon, 23 Dec 2024 19:45:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:907df1cd-6334-425f-997a-95e1d8959d81</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The USB state power manager module works in conjunction with the CAF Power manager to handle USB power states. Enable the USB state power manager module by selecting the CONFIG_DESKTOP_USB_PM_ENABLE option.&amp;nbsp;The module will automatically manage USB power states based on USB events:&lt;br /&gt;When USB is connected and active, it restricts the power level to POWER_MANAGER_LEVEL_ALIVE.&lt;br /&gt;When USB is suspended, it restricts to POWER_MANAGER_LEVEL_SUSPENDED and generates a force_power_down_event.&lt;/p&gt;
&lt;p&gt;Also, the Bluetooth state power manager module works with the CAF Power manager to handle BLE power states.&amp;nbsp;Enable the Bluetooth state power manager module by selecting the CONFIG_CAF_BLE_STATE_PM option.&amp;nbsp;This module will limit the power level to POWER_MANAGER_LEVEL_SUSPENDED when there&amp;#39;s at least one active BLE connection, and&amp;nbsp;remove power level limitations when there are no active connections.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>