User guide

4. Perform settings for using the SCI/OSJTAG debugger.
SCI can be used for FreeMASTER connection in MP demo, and the baud rate is 19200. If
OSJTAG is used to link FreeMASTER through SCI, some changes are needed. Perform the
following steps to enable the OSJTAG debugger connection:
a. Import wct1012demo in CW10. Enable macro “FMSTR_USE_SCI” and disable
“FMSTR_USE_JTAG”. They are defined in 15W_MP –> example> wct1012 –>hal ->
freemaster_cfg.h as follows:
#define FMSTR_USE_SCI 1 /* To select SCI communication interface */
#define FMSTR_USE_JTAG 0 /* 56F8xxx: use JTAG interface */
Enable SCI0 by setting macro QSCI0_ENABLED” TRUE, which is defined in example ->
wct1012 –> wct_hal_cfg.h as follows:
#define QSCI0_ENABLED TRUE // Enable the SCI0 driver
b. Rebuild the demo, and download it according to the used debugger.
c. Link the SCI port on OSJTAG to MP board as shown in the following figure.
Figure 38 Using OSJTAG for FreeMASTER connection
Note: Intert one row of the pins into the SCI port, as shown in the following figure.
WCT1012 15W Single Coil TX V3.0 Reference Design System User’s Guide, Rev. 0, 09/2015
Freescale Semiconductor 25