background image

AX-ConfigurationUtility User Manual 

 

 

 

www.onsemi.com

 

25

 

 

Occasionally it may be necessary to conclude the preamble with a few special 
bits. This can be achieved using the field

s below “Append additional encoded 

bits”.

 

SYNC WORD 

 

In Raw Preamble Mode you can choose an arbitrary sync word of up to 32 bit as a 
start of frame delimiter. However, it is recommended to use a sync word with well 
peaking auto correlation function.

 

 

The SYNC WORD is always sent MSB first, irrespective 

of the “send MSB first” 

option in the DATA chunk. See comment on that option below.

 

 

The “unencoded” option

 causes the SYNC WORD to bypass the manchester, 

scrambler, differential and inversion encoder

3

Correspondingly the RX matching unit detecting the SYNC WORD will operate on 
the bit stream before decoding. 

 

DC content, running DC content and the number of transitions is computed in 
order to indicate the quality of the selected SYNC WORD.  Large DC or running DC 
components can impede correct frequency tracking, whereas a low number of 
transitions slows down time tracking. 

 

Selecting the “enable SFD callback” option causes the AXRadioAPI to notify the 

application level firmware each time a start of frame delimiter (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 Raw Pattern Match mode, a length field can be used to communicate the length 

of the current packet to the RX. Alternatively (uncheck “enable len 

field

”) the RX 

can be configured to expect packets of a fixed length. 

 

Position [Bits]

” determines

 the position of the length field inside the packet 

header. Zero means the length field follows immediately after the SYNC word. 

 

“Significant bits” tells

 the RX how many bits of the length field are used to encode 

the packet length. This is useful if your protocol uses a shared byte to encode the 
packet length plus something else. 

 

“len offset”: The actual packet length (excluding SYNC WORD & CRC) assumed by 

the RX is len + len offset. E.g. set len offset to zero if in your protocol the length 
byte counts the number of bytes including the length byte. Set len offset = 1 if 

 

3

 Bypassing the encoder is achieved by setting the UNENC flag corresponding FIFO DATA chunk. This causes the 

chunk  data  to  bypass  manchester,  scrambler  and  differential  encoder,  however  inversion  still  applies.  For 
convenience AX-ConfigurationUtility therefore inverts preamble and SYNC WORD bytes before writing them to 

the firmware code if “unencoded” and INV encoding are selected.

 

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: