Open SDA for serial communication

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Open SDA for serial communication

跳至解决方案
2,542 次查看
samc
Contributor III

Hello,

I have a FRDM-KL43Z development board. I would like to know if it's possible to use the OpenSDA to communicate like a serial port with the target processor ?

I see correctly the created port COM (CDC Serial Port) in Device manager and I can enter inside like a storage G: (I see the HTML, TXT, CAT and INF files).

I'm able to open the port COM with the software "Hercules", so I imagine I can send data but I don't see how to retrieve the data in my MCU. I tried to add a UART with Processor Expert but UART0 is not available (only the UART2).

Best regards,

Sam,

0 项奖励
回复
1 解答
2,214 次查看
samc
Contributor III

Hi,

Thank you, it's OK. I was misled by the schemtic of the kit where it's noted UART0 and not LPUART0, so I didn't see the UART0 when I added a fsl_uart, with fsl_lpuart it's OK.

Sorry for the trouble,

Sam,

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,215 次查看
samc
Contributor III

Hi,

Thank you, it's OK. I was misled by the schemtic of the kit where it's noted UART0 and not LPUART0, so I didn't see the UART0 when I added a fsl_uart, with fsl_lpuart it's OK.

Sorry for the trouble,

Sam,

0 项奖励
回复
2,214 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Sam,

Of course, you can use the USB CDC as a serial COM to communicate with KL43 on FRDM-KL43Z, pls refer to schematics of FRDM-KL43, the PTA1(PTA1/UART0_RX/TPM2_CH0) and PTA2(PTA2/UART0_TX/TPM2_CH1) pins are used as the SCI port(using uart0). Pls programe the uart0 so that it can communicate as serial port.

I suggest you download SDK2.0 based on KL43 from the website:

http://www.nxp.com/ksdk

You can use the Hello_World as the example.

C:\Freescale\SDK2.0KL43Z256\boards\frdmkl43z\demo_apps\hello_world in SDK2.0 tools

Hope it can help you

BR

Xiangjun Rong

0 项奖励
回复