background image

AX-ConfigurationUtility User Manual 

 

 

 

www.onsemi.com

 

13

 

4.1.

 

Wake on Radio Mode (WOR) 

In 

Wake on Radio

 mode the receiver periodically wakes up and searches the channel for 

a signal. In absence of signal the receiver is switched off again immediately to save power. 
If  a  signal  is  detected the  receiver  stays  on  and  looks  for  a  valid  packet  delimiter.  The 
Radio performs this task autonomously. Only after a valid packet has been received and 
is waiting in the FIFO, the Radio wakes up the micro controller via an interrupt. A typical 

application  of  this  mode  would  be  an  infrequently  operated  remote  control.  The  “

WOR 

Settings” button opens the Wake on Radio panel:

 

 

 

  

Figure 1: Wake on Radio. WOR settings panel. 

 

1.

 

This field configures how often the receiver wakes up and checks for signal. Waking 
up  less  often  reduces  the  average  RX  (idle)  current.  However,  it  increases  the 
necessary preamble length and average latency since the preamble needs to be at 
least as long as the gap between two successive wake ups. 

2.

 

The “enable RSSI threshold” option determines how the RX searches for signal upon 

wake up:  

a.

 

If  this  option  is  disabled,  the  RX  directly  scans  for  preamble  pattern. 
Sensitivity in this mode is comparable to continuous RX operation. 

b.

 

If this option is enabled the RX first acquires an RSSI value. The scan for 
preamble pattern is performed only if RF energy is detected. This reduces 
current  consumption  (most  notably  at  low  data  rates)  since  the  RSSI 
measurement is faster than the scan for preamble pattern. The drawback is 
a reduction of sensitivity, since the RSSI threshold has to be set several dB 
above 

the 

sensitivity 

limit 

to 

prevent 

false 

positives. 

The RX proceeds to scanning for preamble if RSSI > absolute threshold AND 
RSSI >= (background RSSI + relative threshold). Background RSSI is the 
RSSI average over past wake ups. 

1. 

 

 

2. 

 

 

3. 

 

 

Summary of Contents for AXM0F343

Page 1: ...www onsemi com 1 Version 1 4 20211020 USER MANUAL AX ConfigurationUtility for AXM0F343 with AX5043...

Page 2: ...aming Panel 24 9 Basic and Regulatory Tests Panel 28 10 Programming the Target boards 30 11 Comments on C code Firmware 31 11 1 File Structure 31 11 2 Define Statements for Tweaking the Firmware 31 11...

Page 3: ...d mode The generated Eclipse compatible firmware can then be imported within the ON Semiconductor IDE and flashed via the standard AXM0F343 toolchain Further modification of the generated firmware sou...

Page 4: ...y to work correctly you need to import the ON Semiconductor AXM0F343 CMSIS Pack within the ON Semiconductor IDE first Additionally you need to install the ARM CMSIS 5 8 0 Pack downloadable from https...

Page 5: ...compiler supported is ARM GNU GCC Debugger JLINK version 670e and above is the only debug interface available with the current AX ConfigurationUtility GUI Kit Types This option is also populated based...

Page 6: ...oard the eclipse project can be imported relatively using Projectdir MASTER axm0f343 64 or Projectdir MASTER axm0f343 256 Similar logic applies to Slave Tests Eclipse projects for various configuratio...

Page 7: ...placed with the User s ID where pack is installed in respective PC s By doing the above steps the firmware drivers source files within the F343 pack is available for debug 3 2 Upgrading AXM0F343 CMSIS...

Page 8: ...bug and release configurations e Master i axm0f343 64 ii axm0f343 256 f Slave i axm0f343 64 ii axm0f343 256 g Tests i axm0f343 64 ii axm0f343 256 The variable is defined in the environment section of...

Page 9: ...he axradiolabstate xml file resides and hit done Note do not open the template_firmware_504x project inside the AX ConfigurationUtility installation directory as this is the template from which the fi...

Page 10: ...lave module RX to answer successful packet reception with an acknowledge packet The master module TX tries to receive the acknowledge packet The smiley on the LCD UART print indicates whether the ackn...

Page 11: ...defaults even if the defaults have changed e g upon making changes in the PHY panel and hitting Calculate Registers Tweaked values are highlighted in yellow or green if they accidentally correspond t...

Page 12: ...et reception MCU CMSIS Pack based timer infrastructure with timer0 clocked by MCU LPOSC 640hz RC oscillator Only used for ACK timing and channel state polling RX is continuously on Upon receiving a va...

Page 13: ...erage RX idle current However it increases the necessary preamble length and average latency since the preamble needs to be at least as long as the gap between two successive wake ups 2 The enable RSS...

Page 14: ...the TMGRXPREAMBLE1 register in the expert panel Frequency tracking AFC requires settling time which adds to the receiver start up time and therefore increases the average current consumption Large da...

Page 15: ...nces and slow gradients and minimizes required margins in the RX on time slots An increased margin is used for the packet reception right after synchronization where the effective period has not been...

Page 16: ...cket reception can fail before the RX switches to back to synchronization mode 4 Re synchronization time out Time the RX tries to receive a packet for re synchronization before temporarily giving up a...

Page 17: ...packet period and LPXOSC precision Double click the field to change it manually If packet reception fails in a given RX on time slot the firmware automatically increases the margin for the next time...

Page 18: ...For AXM0F343 64 AXM0F343 64 868 1 GEVB AXM0F343 64 915 1 GEVB o For AXM0F343 256 AXM0F343 256 868 1 GEVB AXM0F343 256 915 1 GEVB The kit configuration panel consists of device compiler debugger and k...

Page 19: ...tatus change of the radio state Use MCU hibernate instead of sleep option decides if the MCU uses hibernate mode instead sleep mode When hibernate mode is enabled in the kit configuration panel after...

Page 20: ...fig select differential single ended or both power amplifier s Loop Filter Config determines whether the internal or an external PLL loop filter is used VCO Config Select VCO 1 fully integrated VCO wi...

Page 21: ...the VCO is running at 4 times the LO frequency rather than 2 times depending on the frequency band This is an indicator only unless you are using an external inductor and the selected frequency can be...

Page 22: ...te Increasing the range of the AFC allows for the use of a less precise TCXO or XTAL However the drawbacks are a Longer preambles may be necessary to settle the AFC In WOR and RX Sync mode this enlarg...

Page 23: ...atory to use HDLC flags 0x7E as preamble characters Other encoding modes such as SCRAM are not allowed and unnecessary in FEC mode since FEC leads to data whitening by itself Note When PSK shaped modu...

Page 24: ...ne byte character which will be repeated length 8 times The preamble character is always sent MSB first irrespective of the send MSB first option in the DATA chunk See comment on that option below If...

Page 25: ...ter a SYNC WORD or a HDLC flag has been received LEN MAC MAC header length specifies the length of the packet header which can contain a length field a sequence number for acknowledge and addresses In...

Page 26: ...MASTER to SLAVE communication and the master s address for packets sent from SLAVE to MASTER e g ACK packets in the demo firmware DATA The DATA field allows you to specify a static sample payload whic...

Page 27: ...e the received packet including CRC bytes In Raw Packet Match mode the RX strips the CRC bytes unless you manually set bit 5 in the radio specific PKTSTOREFLAGS register For example AX5043_ PKTSTOREFL...

Page 28: ...d using the scrambler RX 1010 performs measurement of bit error rate BER Typically connect the RX to a signal generator sending an infinite 1010 stream i e in FSK mode the generator should toggle betw...

Page 29: ...ww onsemi com 29 Note When the any of the option in the panel is clicked the configuration is saved in the firmware Further firmware can be downloaded using eclipse workspaces available in Tests folde...

Page 30: ...with Jlink debugger interface Eclipse workspaces is available for 64 256 Master Slave and Tests The workspaces are added for Application files linked CMSIS based driver as library The user could conf...

Page 31: ...nsists of the following files File Description MASTER main c MASTER application level main code SLAVE main c SLAVE application level main code TESTS main c TESTS application level main code COMMON mis...

Page 32: ...irmware packet reception timing AX ConfigurationUtility computes axradio_sync_slave_rxadvance and axradio_sync_slave_rxwindow based on the rx_margin which can be configured in the SYNC Timing panel as...

Page 33: ...and RX bandwidth Case 1 XTAL TCXO precision bitrate and carrier frequency are given If XTAL TCXO precision bitrate and carrier frequency are given how should the FSK deviation and the RX Bandwidth be...

Page 34: ...AX ConfigurationUtility User Manual www onsemi com 34 Figure 9 868 3 MHz 10 kbps FSK 10 ppm XTAL precision example for step 1 of PHY setup...

Page 35: ...AX ConfigurationUtility User Manual www onsemi com 35 Step 2 Set RX Bandwidth to 2 Max AFC range Figure 10 868 3 MHz 10 kbps FSK 10 ppm XTAL precision example for step 2 of PHY setup...

Page 36: ...actor or the deviation until the field XTAL precision is no longer red This is typically at a value 1 _ _ 2 _ Bitrate range afc Max Factor Modulation If a modulation factor value larger than 5 emerges...

Page 37: ...AX ConfigurationUtility User Manual www onsemi com 37 Figure 11 868 3 MHz 10 kbps FSK 10 ppm XTAL precision example for step 3 of PHY setup...

Page 38: ...ier frequency and FSK deviation are given how should the RX Bandwidth be set to achieve maximum sensitivity and what is the XTAL TCXO precision that is required for this to work Step 1 Set carrier fre...

Page 39: ...sing the Max AFC range until the red warning No initial overlap of RX BW and TX BW is guaranteed disappears This will occur at a Max AFC range value of RX BW 2 If your XTAL TCXO is not precise enough...

Page 40: ...the displayed value is XTAL precision 2 RX TX ppm ppm The above setting allows the tracker to walk away f in the wrong direction while there is no signal see Figure 14 In the worst case the receiver f...

Page 41: ...ncy precision tracking and bandwidth Note By default AX ConfigurationUtility generated firmware adjusts the programmed receiver frequency upon successful packet reception This feature can be disabled...

Page 42: ...ions or design information or advice quality characterization reliability data or other services provided by ON Semiconductor shall not constitute any representation or warranty by ON Semiconductor an...

Page 43: ...860 Toll Free USA Canada Fax 303 675 2176 or 800 344 3867 Toll Free USA Canada Email orderlit onsemi com N American Technical Support 800 282 9855 Toll Free USA Canada Europe Middle East and Africa Te...

Reviews: