Save serial data from P&E prob

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

Save serial data from P&E prob

1,675 Views
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 Kudos
Reply
6 Replies

1,585 Views
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 Kudos
Reply

1,584 Views
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 Kudos
Reply

1,584 Views
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 Kudos
Reply

1,585 Views
aminesedki_as
Contributor I

I use PRINTF to print float 

0 Kudos
Reply

1,585 Views
aminesedki_as
Contributor I

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

0 Kudos
Reply

1,585 Views
aminesedki_as
Contributor I

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

0 Kudos
Reply