SIM_UID with UART (without printf)

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

SIM_UID with UART (without printf)

630 Views
armaram
Contributor III

Hi,

I need help sending the SIM_UID to UART without using printf. We are not using processor expert, we use only the baremetal drivers. The IDE is KDS3.0.

Can anyone please help?

Tags (3)
0 Kudos
1 Reply

401 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Arvind,

If your project is baremetal without KSDK, you need overwrite the functions of "_write()" and "_read()",

also configure the UART you want to use . About how to write, you can copy the code of Processor Expert.

I recommend you refer to this doc:  How to use printf() to print string to Console and UART in KDS2.0     

the part of “2.3 Use printf() in Bare Board Project ”

pastedImage_2.png

There is also a demo about use printf() in baremetal project. this is for KDSv2.0, while the method is the same

with KDS3.0 , just copy the files of the below :

pastedImage_3.png

Hope it helps


Have a great day,
TIC

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

0 Kudos