打印
[PSOC™]

Psoc C3 Hands on 1: Testing of Code on PSC3M5_MC1 kit

[复制链接]
21|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
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


使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

66

主题

115

帖子

3

粉丝