UART Interrupt Sample Code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UART Interrupt Sample Code

3,054 Views
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.

Labels (1)
0 Kudos
4 Replies

1,537 Views
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 Kudos

1,537 Views
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 Kudos

1,537 Views
mehmetak
Contributor I

Hi Fiona,

Thank you for help.

0 Kudos

1,537 Views
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 Kudos