9. Hardware Setup

As mentioned before, SPS emulates serial cable communication. Data is transferred over UART to BLE and over BLE to UART. For SPS to work properly, the signals UCTS, URTS,URX and UTX of mainboard 376-18-B should connect in a proper way for each DK and module. This section describes the correct way for each chipset to be able to transfer or receive data with the use of SPS. The configuration of the UART pins described below are located in file user_periph_setup.h.

9.1. DA14585 DK

For SPS functionality there are three jumpers needed on the J1 connector of the mainboard 376-18-B at the following pins:
  • J1:11-J1:12

  • J1:13-J1:14

  • J1:17-J1:18

And one jumper cable is needed from J1:15 to J2:7 (P02). Remove the jumper from J1:19-J1:20 in case it exists. Figure 26 shows the proper jumpers setup of the J1 header.

../_images/585.svg

Figure 26 J1 Jumpers Setup for DA14585 DK

9.2. DA14531/DA14535 DK

For the SPS functionality to work with the DA14531 DK, four cables are needed that go from the J1 connector to the J2 connector at the following pins:
  • UCTS: J1:11 - J2:P28 (pink cable in Figure 27)

  • URTS: J1:13 - J2:P27 (yellow cable in Figure 27)

  • URX: J1:15 - J2:P25 (red cable in Figure 27)

  • UTX: J1:17 - J2:P26 (blue cable in Figure 27)

Figure 27 shows where the cables should be for a proper functional SPS.

../_images/531.svg

Figure 27 J1 Jumpers Setup for DA14531 DK

9.3. DA14531 Module

For the SPS functionality, four jumpers are needed on the J1 connector of the mainboard 376-18-B at the following pins:
  • J1:11-J1:12

  • J1:13-J1:14

  • J1:15-J1:16

  • J1:17-J1:18

Remove the jumper from J1:19-J1:20 in case it exists.

Figure 28 shows the proper jumpers setup of the J1 header.

../_images/531_module.jpg

Figure 28 J1 jumpers setup for the DA14531 TINY™ Module