SIM_UID with UART (without printf)

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

SIM_UID with UART (without printf)

641 次查看
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?

标记 (3)
0 项奖励
1 回复

412 次查看
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 项奖励