Can I use Maix BIT as MPU which get data from device, process them and return to PC via USB

Hello here,

Just need any help with my task which is as follows: I want to get data from sensor connected to Maix BIT, process such data and return back to PC via USB port. Is there any way to do so?

As far as I understand I use Kendryte FreeRTOS SDK in PlatformIO. Now, it is a bit unclear how to organize communications via USB Type-C? Any examples?
I already made this with STM32, so I can understand if someone gives just a direction, please.

Thx, Vlad.

Did you use Arduino Framework for SMT32? if yes I think the same code can work in K210.
It can be done for sure.