SIM_UID with UART (without printf)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SIM_UID with UART (without printf)

1,137件の閲覧回数
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 返信

908件の閲覧回数
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 件の賞賛
返信