Selecting UART port in K60N512

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

Selecting UART port in K60N512

跳至解决方案
1,692 次查看
Magnetron
Contributor III

Hi,

 

The default serial output in TWR-K60N512 board is UART3, PORTC (pin PTC16 - RX, pin PTC17 - TX).

In my custom board the default serial output is UART4, PORTE (pin PTE25 - RX, pin PTE24 - TX).

 

In <mqx_dir>\mqx\source\bsp\twrk60n512\twrk60n512.h i set UART4 (ttye):

 

#define BSP_DEFAULT_IO_CHANNEL                        "ttye:"

 

But I don't know how to select port E (custom board) insteed port C (TWR board).

 

Any ideas?

0 项奖励
回复
1 解答
1,271 次查看
Magnetron
Contributor III

Solution has been found.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,272 次查看
Magnetron
Contributor III

Solution has been found.

0 项奖励
回复
1,271 次查看
tfrauenrath
Contributor III

Can you please write down the Solution? THX.

0 项奖励
回复