1.4.2 Configuring The PRIME PAL Module
The PRIME PAL is configured via MCC. The module is found in the PRIME Stack component. Below is a snapshot of the MCC configuration window for the PRIME PAL and a brief description.
Select PHY layer interfaces
With the Select PHY layer interfaces, the PRIME PAL module can enable or disables the following PHY interfaces:
- PLC PHY interface.
- RF PHY interface (only for PRIME v1.4).
- Serial PHY interface (only for BN and BN Slave in PRIME v1.3.6).
Depending on the selected PHY interface, further options may be available.
Note that the corresponding PHY Driver (PLC, RF, Serial) must be added to the MCC Project Graph and configured appropriately.
PLC PHY Interface
When the PLC PHY interface is selected, it is possible to enable or disable the use of the PVDD Monitor.
The PVDD Monitor monitors the voltage of the PL460 device to avoid damage. PLC transmissions are disabled if the voltage is not in the expected range. If the PVDD voltage is in the expected range, the PLC transmission is enabled.
If the PVDD Monitor is enabled, the PVDD Monitor service is used, and thus it has to be properly configured (refer to Smart Energy documentation).
RF PHY Interface
When the RF PHY interface is selected, it is possible to enable or disable the Frequency Hopping functionality.
- Channel Sequence: Channels included in the main sequence. Use a comma for individual channels and a dash to indicate a range of channels.
- BCN Channel Sequence: Channels included in the beacon sequence. Use a comma for individual channels and a dash to indicate a range of channels.
If the Frequency Hopping is enabled in the PAL, it is necessary to enable it in the RF PHY Driver, too (refer to Smart Energy documentation).
Enable PRIME PHY sniffer
The embedded PRIME PHY sniffer can be enabled or disabled with the Enable PRIME PHY sniffer option. This applies to all configured PHY layer interfaces and, if enabled, it requires the corresponding PHY Sniffer service. If the PRIME PHY sniffer is enabled, the sniffer functionality can be enabled and disabled for each PHY layer interface with the proprietary PIB PIB_PHY_SNIFFER_ENABLED (see Proprietary PIB Attributes.
If the PRIME PHY sniffer is enabled, all transmitted and received messages in the PAL are sent through the serial interface. The USI service is used for this and thus it has to be properly configured (refer to Smart Energy documentation). The USI Instance index must be selected to send the PHY sniffer frames to the USI service.