1 Testing of Code on PSC3M5_MC1kit Program can be directly flash to PSC3M5 kit alsoand can be tested via terminal window Option 1 : adapt and change the pins andresources to match MC1 Via device configurator Option 2 : use the same setting and connect the jumperson kit for UART terminal a) Connect the kit via USB to Computer , power the kit via USB with jumperX20 between VDD5 and 5VUSB b) Generate jlink build for kit from Makefile – write the belowlines inside the make file, check your Jlink path and version BSP_PROGRAM_INTERFACE=Jlink MTB_JLINK_DIR=C:/ProgramFiles/SEGGER/Jlink_V810i c) Generate launches from ModusToolbox Quick panel d) Flash the code via Jlink debug e) Open the serial terminal f) Use X17 connector on MC1 kit to give UART resources and connect UART_RXàCAN1_RX ; UART_TX àCAN1_TX g) Serial Terminal will work now to test the code h) Note – check the resources mapping for MC1 kit and adjust accordinglyfor ADCs pins
|