When building the sample applications or xNCP images for the EFR32 on the WSTK, UART0 can be routed to the USB mini-B connector (located between the Ethernet port and the battery socket) or the 20 pin expansion header on the opposite end of the board.  By default the board controller will pick which ever interface is enabled first.  This can be problematic when trying to use the expansion header while powering the WSTK via a PC or certain smart charger which energize the D+/D- lines.


You can force the WSTK to route UART0 serial through the expansion header by making PA5 and output and setting the value high.   As a shortcut, this can be done with a define statement in any of you files, like your board header:


This define will call a function halEnableVCOM(), which will enable this port for you.  Saving you the need to explicitly enable PA5 as an output and set it high.


  • ZigBee and Thread
  • Thread SDK
  • Knowledge Base Articles
  • Great note and thanks for putting this up.


    Is there anyway to make the Thunderboard Sense forced into serial comms through the UART_TX (port 12)? 


    Perhaps this a backward way of looking at it however I'm trying to get sensor data off the board without the need to send it through any radio of any sorts. Is this possible?