UART sample code to interface RFID in FRDMK64F (Freescale_MQX_4_1)

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

UART sample code to interface RFID in FRDMK64F (Freescale_MQX_4_1)

726 Views
titusstalin
Contributor V

Dear All,

I want to interface RFID with FRDMK64F board and need some UART sample code for that (read and write).

Right now I'm using KDS as a IDE with "Freescale_MQX_4_1" software package.

Earlier I was able to run the UART code and able to read the RFID data when I used "MQX_KSDK_1.0.0" software package but I need the same for "Freescale_MQX_4_1" software package.

Ex:

configure_uart_pins

UART_DRV_Init

UART_DRV_ReceivePollBlocking

UART_DRV_ReceiveDataBlocking

UART_DRV_SendData

Could you please help me on this.

Regards,

Titus S.

Tags (1)
0 Kudos
1 Reply

224 Views
soledad
NXP Employee
NXP Employee

Hello Titus,

After install MQX you can find the following code examples:

<mqx_install_path>/mqx/examples/hello2  (simple example using UART module - serial I/O driver)

<mqx_install_path>/mqx/examples/rs485    (example on using serial I/O driver with flow control)

You will find the appnote AN4022, this may helps in this topic. The source code is also available:

http://cache.freescale.com/files/32bit/doc/app_note/AN4022.pdf

http://cache.freescale.com/files/32bit/doc/app_note/AN4022SW.zip

In addition I found the following paper (not provided by Freescale) that may helps!!

http://www.aicit.org/JCIT/ppl/JCIT2668PPL.pdf


Have a great day,
Sol

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

0 Kudos