<?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>Bitcounter raising BCMATCH event for short packets</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127941/bitcounter-raising-bcmatch-event-for-short-packets</link><description>Hi, 
 I&amp;#39;m trying to use the bitcounter to drop packets that don&amp;#39;t comply to a specific UUID. I&amp;#39;m working with nrf52840. 
 My question is - if the received packet is shorter than the configured BCC value, will the bcmatch event not be asserted? 
 For example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Apr 2026 09:21:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127941/bitcounter-raising-bcmatch-event-for-short-packets" /><item><title>RE: Bitcounter raising BCMATCH event for short packets</title><link>https://devzone.nordicsemi.com/thread/565609?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2026 09:21:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c54e4ae1-17b7-4077-802e-5bded915f962</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=""]&lt;p&gt;My question is - if the received packet is shorter than the configured BCC value, will the bcmatch event not be asserted?&lt;/p&gt;
&lt;p&gt;For example, if i configure NRF_RADIO-&amp;gt;BCC = 96, and a packet arrives with&amp;nbsp;9 bytes after the access adress (72 bits), will the bcmatch event not be triggered at all?&lt;/p&gt;[/quote]
&lt;p&gt;This highly depend on when you start the bitcounter, but it must be started after the EVENTS_ADDRESS has occurred.&lt;/p&gt;
&lt;p&gt;If you start it on EVENTS_ADDRESS, it will start from the address match and going forward for the amount of configured bits.&lt;/p&gt;
&lt;p&gt;For more detailed information related to the bit counter, see here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52840/page/radio.html#ariaid-title12"&gt;https://docs.nordicsemi.com/bundle/ps_nrf52840/page/radio.html#ariaid-title12&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]For example, if i configure NRF_RADIO-&amp;gt;BCC = 96, and a packet arrives with&amp;nbsp;9 bytes after the access adress (72 bits), will the bcmatch event not be triggered at all?[/quote]
&lt;p&gt;At this time, the demodulator will continue to demodulate data, but you can get a corrupt/invalid payload at the end.&lt;/p&gt;
&lt;p&gt;If you get a address match, and a device address match, you will receive more data;&amp;nbsp;as the validity of the payload is depending on the CRC.&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>