Save serial data from P&E prob

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

Save serial data from P&E prob

1,860件の閲覧回数
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,770件の閲覧回数
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,769件の閲覧回数
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,769件の閲覧回数
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,770件の閲覧回数
aminesedki_as
Contributor I

I use PRINTF to print float 

0 件の賞賛
返信

1,770件の閲覧回数
aminesedki_as
Contributor I

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

0 件の賞賛
返信

1,770件の閲覧回数
aminesedki_as
Contributor I

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

0 件の賞賛
返信