It creates C-code firmware projects based on the AX-ConfigurationUtilityAPIManual (described in DOCU/ AX-ConfigurationUtilityAPIManual.pdf), which demonstrate the use of the AX5043 transceiver together with the AXM0F343 SoC for packet transmission and reception in several modes. Using the simple GUI, the transmitter (MASTER) and receiver (SLAVE) can be easily configured into the desired mode.
• To verify and validate SoC AXM0F343, compiler such as ARM GCC (Version 5.0 and above) is required to be installed. AX-ConfigurationUtility is included as a standalone installer. Please uninstall any previously installed versions of this software before starting a new installation.
AXM0F343-64-868-1-GEVB ▪ AXM0F343-64-915-1-GEVB ▪ For AXM0F343-256 AXM0F343-256-868-1-GEVB ▪ AXM0F343-256-915-1-GEVB ▪ 3.1. Import Eclipse Projects The project created using AX-ConfigurationUtility consists of folder templatefirmware. This directory consists of eclipse projects and template source code specific to AXM0F343-64 and AXM0F343-256 SoC. www.onsemi.com...
Page 6
AX-ConfigurationUtility User Manual Based on the Target board, 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 configurations can be opened as below: - • Open Projects from File System using Eclipse IDE...
3.2. Upgrading AXM0F343 CMSIS Pack The Template firmware accesses CMSIS pack specific to the AXM0F343 SoC. The Eclipse projects in Template firmware accesses the CMSIS pack drivers relatively be defining environment variable in the project settings namely AXM0F343_CMSIS_PACK_ROOT.
Page 8
AX-ConfigurationUtility User Manual AX Configuration Utility located at C:\Program Files (x86)\ON Semiconductor\AX-ConfigurationUtility in 6 different locations for debug and release configurations:- e. Master i. axm0f343-64 ii. axm0f343-256 Slave i. axm0f343-64 ii. axm0f343-256 Tests i. axm0f343-64 ii. axm0f343-256 The variable is defined in the environment section of the eclipse project in each of the above 6 different sets in debug and release configurations.
1. Select the TX operation mode: • TX periodic (LPOSC): Periodic packet transmission driven by the MCUs low power RC oscillator. • TX periodic (LPXOSC): Periodic packet transmission driven by the MCU’s low power 32kHz tuning fork crystal oscillator www.onsemi.com...
Page 10
Save & Write Output button. Manual changes in the firmware projects are never overwritten by the GUI except for the configuration files in your_projectdir /AX_Radio_Lab_output/. • Saves configuration and register values into your_projectdir\axradiolabstate.xml, allowing you to reopen your project with AX-ConfigurationUtility. www.onsemi.com...
Page 11
7. Opens the Basic & Regulatory Tests panel, allowing you to transmit CW, simple patterns, or random data and to measure bit error rates. 8. Open Project Folder – This enables the user to open the project directory in the explorer. www.onsemi.com...
Page 12
Low power periodic data transmission Table 1: Summary of TX and RX modes and corresponding firmware projects for AXM0F343 SoC MCU activity apart from timekeeping wake-ups due to the running CMSIS pack-based timer infrastructure. www.onsemi.com...
RSSI threshold has to be set several dB above sensitivity limit 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. www.onsemi.com...
Page 14
Thus, while the RX wakes up periodically, actual packet reception is the exception in this mode, occurring only e.g. if a remote-control button was pressed. This is in contrast to the Synchronized with TX mode; in which a packet is expected each time the RX wakes up. www.onsemi.com...
The Sync Timing button opens the Sync Timing panel, where various timing parameters can be configured. This contrasts with the asynchronous nature of Wake on Radio mode, where a preamble is at least as long as the RX sleep interval is required. www.onsemi.com...
Page 16
AX-ConfigurationUtility User Manual Figure 2: RX Synchronized with TX, Sync Timing panel for AXM0F343 1. Packet period (send packet every): This is simply a duplicate of the TX periodic (every) field in the main panel for convenience. 2. Synchronization time-out after power-up: Time the RX tries to receive the first packet, before temporarily giving up and switching to re-sync pause mode.
Page 17
RX-on time slot has to be large enough for the full, uncorrected timing deviation. 11. Radio XTAL prestart time: Determines how long the XTAL reference oscillator of the radio chip is settled before the RX synthesizer is started. www.onsemi.com...
Figure 3: Kit Configuration panel for AXM0F343 Output Debug Info: For AXM0F343, the debug messages are transmitted to a serial terminal via UART0. This option enables to print debug information. The terminal settings should be configured to set baud rate = 115200, stop = 1, parity none, data = 8 bits.
Page 19
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 programming the device with the generated firmware, jumper J10 should be removed and hard reset should be done for the hibernate mode to work. www.onsemi.com...
AX-ConfigurationUtility User Manual 6. Pin Configuration Panel Figure 4: Pin Configuration panel for AXM0F343 • VCO Cal Config: VCO calibration is enabled by default • Ref Osc Config: select XTAL or TCXO • PA Config: select differential, single ended or both power amplifier(s) •...
AX-ConfigurationUtility User Manual 7. PHY Panel Figure 5: Physical layer for AXM0F343 1. Select Carrier Frequency. If more than one channel is configured (see below) the frequency selected here is that of channel number 0. RFDIV indicates that the VCO is running at 4 times the LO frequency, rather than 2 times (depending on the frequency band).
Page 22
TX can retry a number of times. If the channel continues to be busy the TX can either give up or transmit anyway (force TX). 12. Encoding: manchester, scrambler, differential and inversion. www.onsemi.com...
Page 23
When PSK shaped modulation is selected, the DIFF encoding mode is enabled automatically. There is a pop-up message that indicates “DIFF” encoding mode is enabled. If the user modifies the modulation in PHY panel, DIFF encoding mode must be manually deselected if not required. www.onsemi.com...
AX-ConfigurationUtility User Manual 8. Framing Panel Figure 6: Framing panel for AXM0F343 Framing mode: Options are HDLC, Raw Pattern Match and PN9 Compatibility. In Raw Pattern Match mode an arbitrary SYNC WORD of up to 32 bit marks the beginning of a frame. For legacy systems the PN9 Compatibility mode implements PN9 data whitening in software, based on the AX5043’s Raw Pattern Match mode.
Page 25
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. www.onsemi.com...
Page 26
The reason for this is, that the byte and nibble order of a SYNC WORD written left to right but read LSB first can be confusing.) • “CRC SKIP FIRST” causes the first byte of the packet to be excluded from CRC calculation. • Select CRC algorithm and initial value. www.onsemi.com...
Page 27
Packet Match mode, the RX strips the CRC bytes unless you manually set bit 5 in radio specific PKTSTOREFLAGS register. example: AX5043_ PKTSTOREFLAGS. • Packets with incorrect CRC are silently dropped unless you manually set bit 2 in the Radio specific PKTACCEPTFLAGS register. For example: AX5043_PKTACCEPTFLAGS www.onsemi.com...
AX-ConfigurationUtility User Manual 9. Basic and Regulatory Tests Panel Figure 7: Basic and Regulatory Tests panel for AXM0F343 • “Set CW” puts the RF chip to TX CW mode. • “Set Pattern” transmits the specified 8-byte pattern forever. The byte specified by the two leftmost digits is sent first.
Page 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 folder for 64 and 256 version of the chip. www.onsemi.com...
AX-ConfigurationUtility User Manual Programming the Target boards The AXM0F343 target boards can be programmed using eclipse workspace along 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 frequency is not adjusted by the entire tracked frequency offset at once. Rather low pass filtering is applied. Low pass filtering is controlled by FREQOFFS_K, higher values give slower adjustments. www.onsemi.com...
RX the very moment it is on air. On the other the RX should be enabled rx_margin before the packet is on air. Therefore dt_SFD is not simply the length of preamble plus SFD but also contains the processing delay of roughly 19 bit. www.onsemi.com...
RX Bandwidth be set to achieve maximum sensitivity? Step 1 Set carrier frequency and bitrate Set Max AFC range so that XTAL/TCXO precision matches the precision of the crystal or TCXO being used. Note that changes over temperature of the XTAL/TCXO should be included. www.onsemi.com...
Page 34
AX-ConfigurationUtility User Manual Figure 9: 868.3 MHz, 10 kbps FSK, 10 ppm XTAL precision example for step 1 of PHY setup www.onsemi.com...
Page 35
AX-ConfigurationUtility User Manual 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 www.onsemi.com...
Page 36
• range − longer red. This is typically at a value . If a Modulation Factor Bitrate modulation factor value larger than 5 emerges, then it is strongly recommended to increase the bitrate and to redo the setup procedure. www.onsemi.com...
Page 37
AX-ConfigurationUtility User Manual Figure 11: 868.3 MHz, 10 kbps FSK, 10 ppm XTAL precision example for step 3 of PHY setup www.onsemi.com...
XTAL/TCXO precision that is required for this to work? Step 1 Set carrier frequency, bitrate and FSK deviation or modulation factor. Figure 12: 868.3 MHz, 10 kbps FSK, modulation factor 5 example for step 1 of PHY setup www.onsemi.com...
Page 39
If your XTAL/TCXO is not precise enough then increase the RX BW but note that this will come at the cost of lower sensitivity. Figure 13: 868.3 MHz, 10 kbps FSK, modulation factor 5 example for step 2 of PHY setup www.onsemi.com...
• For optimal sensitivity RX BW should be chosen. If values emerges, increasing the bitrate should be considered as the RX BW for large h values has to be increased beyond RX BW to achieve stable operating conditions. www.onsemi.com...
Page 41
AX-ConfigurationUtility User Manual Figure 14: Frequency 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 by commenting out the #define ADJUST_FREQREG statement in SLAVE/main.c. www.onsemi.com...
Matching the F343 pack Version 1.4 onsemi logo is updated and the images in the document is upgraded to latest ON Semiconductor and the ON Semiconductor logo are trademarks of Semiconductor Components Industries, LLC dba ON Semiconductor or its subsidiaries in the United States and/or other countries.
Page 43
Phone: 303−675−2175 or 800−344−3860 Toll Free Europe, Middle East and Africa Technical Order Literature: Support: USA/Canada Fax: 303−675−2176 or 800−344−3867 Toll Free https://www.onsemi.com/orderlit Phone: 421 33 790 2910 USA/Canada Email: orderlit@onsemi.com For additional information, please contact your local Sales Representative www.onsemi.com...
Need help?
Do you have a question about the AXM0F343 and is the answer not in the manual?
Questions and answers