<?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>I&amp;#39;m new to embedded system terminology.May i know what exactly do you mean by instance in the PWM explanation of nRF52 api?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25539/i-m-new-to-embedded-system-terminology-may-i-know-what-exactly-do-you-mean-by-instance-in-the-pwm-explanation-of-nrf52-api</link><description>Module for generating a pulse-width modulated output signal. 
 This module provides a PWM implementation using timers, GPIOTE, and PPI. 
 Each PWM instance utilizes 1 timer, 2 PPI channels, and 1 PPI channel group plus 2 PPI and 1 GPIOTE channels per</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Oct 2017 12:22:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25539/i-m-new-to-embedded-system-terminology-may-i-know-what-exactly-do-you-mean-by-instance-in-the-pwm-explanation-of-nrf52-api" /><item><title>RE: I'm new to embedded system terminology.May i know what exactly do you mean by instance in the PWM explanation of nRF52 api?</title><link>https://devzone.nordicsemi.com/thread/100697?ContentTypeID=1</link><pubDate>Mon, 09 Oct 2017 12:22:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d5fbe96-4320-482f-9b93-1a4107092040</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It means one instance of the SPI peripheral. The nRF52832 IC &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/spim.html?cp=2_1_0_30#concept_j35_hv2_wr"&gt;support up to 3 SPIM instances&lt;/a&gt;. Each of the instances can operate independently, and have its own set of pins used for communication with external device(s).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm new to embedded system terminology.May i know what exactly do you mean by instance in the PWM explanation of nRF52 api?</title><link>https://devzone.nordicsemi.com/thread/100696?ContentTypeID=1</link><pubDate>Sat, 07 Oct 2017 06:52:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:728252f7-2c16-4475-a75b-a375a0d4ab22</guid><dc:creator>Yashur</dc:creator><description>&lt;p&gt;Then what does an SPI instance mean?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm new to embedded system terminology.May i know what exactly do you mean by instance in the PWM explanation of nRF52 api?</title><link>https://devzone.nordicsemi.com/thread/100695?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2017 07:55:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:114be5c7-3617-4034-b87f-a6e7581b8dc6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When the documentation say it support multiple instances of the library, this means that you can setup the library multiple times to produce more outputs. Just like you can create multiple variables of the same type, for instance &lt;code&gt;unsigned int&lt;/code&gt;, you can create multiple instances of the library. When you are out of resources (Timers, GPIOTE channels and PPI channels for PWM), you cannot create more instances of the library. Similar for variables, when you are out of RAM, you cannot create more variables.&lt;/p&gt;
&lt;p&gt;Note that the nRF52832 have hardware PWM peripheral that can be used for creating up to 12 PWM channels. The PWM library is soft PWM, implemented using other resources (Timers, GPIOTE, PPI), and controlled by software.&lt;/p&gt;
&lt;p&gt;You can read about &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/timer.html?cp=2_1_0_23#concept_xbd_hqp_sr"&gt;TIMERS&lt;/a&gt;, &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/gpiote.html?cp=2_1_0_20#concept_knz_kww_lr"&gt;GPIOTE&lt;/a&gt;, and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/ppi.html?cp=2_1_0_21#concept_sxf_21l_1s"&gt;PPI&lt;/a&gt; in the documentation.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>