Hi, i'm working with the FRDM K64 board and i couldn't find the right instruction to send and recive data through UART3
thank's a lot..
Thank you so much for the help im gona try that :smileyhappy:
Hi Kerbouche,
There are many UART examples in (Software Development Kit for Kinetis MCUs|NXP ).
You can select and download SDK_2.0_FRDM-K64F in Kinetis SDK Builder (REV 2 & 1.3)
The uart examples can be found in the installed folder (such as E:\SDK_2.0_FRDM-K64F\boards\frdmk64f\driver_examples\uart)
The Demo(driver_examples\uart\interrupt\iar) use UART0 as DEMO_UART, you can change it to UART3.
Select the PTB10 and PTB11 as the UART3 function.
When the demo runs successfully, the log would be seen on the UART3 (PTB10 and PTB11) terminal .
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Kerbouche,
what do you mean with "right instruction to send and recive data"?
If you check K64's reference manual (http://cache.nxp.com/files/microcontrollers/doc/ref_manual/K64P144M120SF5RM.pdf?fpsp=1&WT_TYPE=Refer... ) you can see chapter 52 related to UART and there you can find reference for UART Data Register (UART0_D) that is used to read/transmit data. Obviously, you need to configure all the module (Bit formatting, Baud Rate, Interrupts, etc).
If you are looking for some stacks, you can look at KSDK package that is available for FRDM-K64. There you can find examples for UART in different configurations such as polling mode, non-blocking, blocking and more. (Software Development Kit for Kinetis MCUs|NXP )
I hope this can help you!
Regards
Isaac Avila
you were so helpful ,thank you , i'm a biginner and im working on RFID project so i need a UART communication with the RFID Reader