Platform Data Set
One single command is used to configure the WF200 according to its hardware environment (XTAL, GPIOs, FEM). It allows the host driver code to be independent from the hardware platforms it is using. This command takes an encoded string containing all the platform information called Platform Data Set or PDS . See sl_wfx_send_configuration() to learn how the PDS is sent from the host to the WF200.
During the Initialization and Configuration phase, the host has to send the Platform Data Set corresponding to its hardware. In the FMAC driver, the PDS information is provided by the host through the following functions:
- sl_wfx_host_get_pds_data() (function to be implemented by the host)
- sl_wfx_host_get_pds_size() (function to be implemented by the host)
The latest PDS files for existing evaluation boards can be found in a Github repository .
More information about the PDS concept can be found in the UG404: WF(M)200 Configuration Guide with PDS