<?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>App Scheduler Max Event Size 4-byte Multiple</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48465/app-scheduler-max-event-size-4-byte-multiple</link><description>We use the app scheduler in our app and I recently needed to increase the EVENT_SIZE passed into APP_SCHED_INIT. I changed it to a value that is not an event 4-byte multiple. This seemed to cause undefined behavior, including hard faults. 
 Is it required</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Jun 2019 08:54:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48465/app-scheduler-max-event-size-4-byte-multiple" /><item><title>RE: App Scheduler Max Event Size 4-byte Multiple</title><link>https://devzone.nordicsemi.com/thread/192271?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 08:54:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3225b80e-57a9-4de5-a614-c6db45564447</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Is it required that this value is a 4-byte multiple or is this behavior unexpected?[/quote]
&lt;p&gt;Yes, I can confirm that it is a requirement that the input buffer is word-aligned. However; there&amp;#39;s no mention of this in our documentation. I&amp;#39;ll report this internally.&lt;/p&gt;
&lt;p&gt;The only thing that can hint towards that requirement in our docs is the macro for initializing, as it rounds in word size:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__app__scheduler.html#gaa9670ed0053a67304c3d2d0cb3eb1333"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__app__scheduler.html#gaa9670ed0053a67304c3d2d0cb3eb1333&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for reporting this back to us!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>