UART Interrupt Sample Code

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

UART Interrupt Sample Code

4,037 次查看
mehmetak
Contributor I

Hello,

 

I am new uC and FRDM-K64F. I have a project RS485 communication. I need UART interrupt code. Is there any UART interrupt code sample ? I couldn't find it on WEB.

标签 (1)
0 项奖励
回复
4 回复数

2,520 次查看
mehmetak
Contributor I

Hi @Fiona Kuang

Thank you for example interrupt code. But, I have a problem, when i debug sample code, i am taking this failure

" make: *** No rule to make target `C:/Users/makin/Desktop/SDK_2.0_FRDM-K64F/boards/frdmk64f/driver_examples/uart/interrupt/uart_interrupt.c', needed by `source/uart_interrupt.o'.

make: Target `all' not remade because of errors."

I don't understand what problem is. Could you help me ?

0 项奖励
回复

2,520 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Mehmet,

please, see my proposal here How can i communicate rs485 with MK64N1M0VLL12 ?

Please let me know if this helps you.

Best Regards,

Iva

0 项奖励
回复

2,520 次查看
mehmetak
Contributor I

Hi Fiona,

Thank you for help.

0 项奖励
回复

2,520 次查看
TICS_Fiona
NXP Employee
NXP Employee

Hello Mehmet

SDK 2.0 includes the code example for UART driver, you can download it from:

http://kex.freescale.com/en/welcome

Please click on ‘Build an SDK’ to choose the FRDM-K64F board.  Then click on ‘Build SDK Package’ button and download the package.

frdm-k64f.png

After unzip it, you will find the UART examples under its subfolder:

..\boards\frdmk64f\driver_examples\uart

For more information about SDK2.0, please refer to:

https://community.freescale.com/docs/DOC-329783

Best Regards

Fiona Kuang

TIC - Technical Information Center

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Mark Correct button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

Best Regards

Fiona Kuang

TIC - Technical Information Center

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Mark Correct button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复