KDS 3.0 and KSDK 1.3.0 frdmk22f - cannot get UAR working

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

KDS 3.0 and KSDK 1.3.0 frdmk22f - cannot get UAR working

575 次查看
aroste
Contributor IV

Hi all, 

I have a board based on this development board,  In the project I have mqx, board and hardware init file specific to my hardware.  

 

I use several I/O and 2 SPI that work fine. (it seems)

 

I want to implement an UART but without success. I tried the different solutions from the examples but no way.  

 

I have a specific task just for the UART, in init I call 

UART_DRV_Init(UART2, &uartState, &uartConfig);

 

I tried to add install RxCallback, etc..  

 

I miss something ?

 

Thanks

BR

 

P.S: The BSP debug UART1 init code is commented.

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

482 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I am sorry for the delay.

Do you use the board FRDM-K22F or your own board based on the FRDM-K22F?

For uart test, I suggest you output the char and hook a scope to the UART2_TX to check if there is signal.

If you do not have signal, pls check the pin assignment.

BR

Xiangjun Rong

0 项奖励
回复