Save serial data from P&E prob

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

Save serial data from P&E prob

1,185 次查看
aminesedki_as
Contributor I

Hello,

I want to save serial data that comes from my K60_dev_board but i can't get an access with MATLAB to the serial com port data i use the P&E prob to do a  debug and show data with MCUxpresso console, can someone help me to do this. 

Thanks.

Sincerely. 

0 项奖励
6 回复数

1,095 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello Amine

I suggest you to try sending another type of data, just to check if you are receiving it rigth.

In addition it is important to say that the k60 has a default baudrate of 115200.

Let me know if this helps
Best regards

 

Omar

0 项奖励

1,094 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello Amine

Make sure that the SDK debug console has marked UART.
This will allow you to display the data for UART.

pastedImage_1.png


For more information about the MATLAB connection you can check this link:

https://www.mathworks.com/help/matlab/matlab_external/getting-started-with-serial-i-o.html

Let me know if this helps
Best regards

Omar

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

0 项奖励

1,094 次查看
aminesedki_as
Contributor I

Hello Omar,

Thanks for u quick reaction, actually i set the UART in MCUxpresso IDE, but i get an incorrect data i don't why Capture.JPG

0 项奖励

1,095 次查看
aminesedki_as
Contributor I

I use PRINTF to print float 

0 项奖励

1,095 次查看
aminesedki_as
Contributor I

Actually the PRINTF with float number work fine with the semihost console

0 项奖励

1,095 次查看
aminesedki_as
Contributor I

I found the solution the problem now is the speed synchronization between the transmission and reception line 

0 项奖励