Hello,
In fact, Sensor fusion software does send data using UART drivers through FRDM-K64F's SDA interface (UART0 - PTB16 and PTB17) or UART3 PTC16 and PTC17 (designed to send data to bluetooth module) but this data is "encoded" and Sensor Fusion toolbox is responsible to parse this data, as you can see on next image, I opened a COM terminal with a board with sensor fusion's software and this is what I got:

So, that is why you saw strange data in your terminal. (Sensor fusion does not send data in ASCII format, so we only see symbols in our terminal).
If you want to analyze the code, i will recommend you to look on the function CreateAndSendPacketsViaUART located at driver.c file in which, a packet is created and sent through UART interface. At the end of this function, you will notice a calling: UART_A_SendBlock(), this function is the one that sends data through UART interface, this function receives three parameters:
- The Device Data pointer (Like these drivers were created using PEx, this pointer is already defined when UART module is initialized).
- The Output Buffer (This array contains the data that will be sent through UART)
- The size (This variable specifies how many bytes are going to be sent)
So basically, if you want to send data through UART interface (i will recommend you to add a new UART component) you can call this function (UART_X_SendBlock(DeviceDataPtr_X, outputBuffer, SizeOfOutputBuffer);) and data will be sent through UART.
Also, please check that Sensor fusion enables interrupt for receiving and transmitting data (event.c file) so you can write your code based on how this library is built.
I hope this can help you,
Best Regards,
Isaac
----------------------------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
----------------------------------------------------------------------------------------------------------------------------------------