Nordic Semiconductor nRF5 AirFuel SDK
version 2.2.0
|
The PRU and PTU application projects are found in:
PTU:
PRU
Both these example projects can be used with the Nordic PCA10028 or PCA10040 development kits. The example projects have a UART debugging interface, both for outputting status information and for allowing the user to send debug commands for overriding the hardware abstraction layers (HALs).
There are two alternative example PRU projects that can be used; one having a wired debug interface using the evaluation kit's USB+UART interface directly, and another providing a wireless debug link for the PRU.
For the wireless debug link option a proprietary Gazell (non-BLE) wireless link is established in addition to the BLE link used for communicating between the PRUs and the PTU. When using wireless debugging a evaluation kit must be set up as a counterpart for the wireless debug link. This counterpart will serve as a bridge from the wireless debug link to a wired USB+UART.
The PRU wireless debug counterpart project is found here:
After power on the PTU application will enter "Power save" state and start scanning for PRUs. If one or more PRUs are discovered and registered the PTU will enter "Power transfer" state.
After power on the PRU application will enter "Null" state. For the PRU to enter "Boot" state and start attempting to connect to a PTU, the rectifier voltage VRECT read from the HAL has to exceed a certain threshold. This can be obtained by using the UART debugging interface for increasing VRECT. When using the UART debugging interface it is sufficient to send the 'Enable debug' command to achieve this. (The 'Enable test-mode' command enables overriding of the HAL, and the default override value for VRECT is above the threshold required for entering "Boot" state).
If the PRU manages to connect to a PTU the PRU will enter "On" state.
The projects are compiled using Keil, and will also require installation of the nRF SDK 11 packs in order to install the nRf5xxx device files into Keil.
The S13x SoftDevice must be flashed to the boards that is to be the PRU or PTU. This can be done with nRFgo Studio.