user63309: How to create a USB CDC device. (I'm using stm32f103c8 black pill board) and I want to read the data through USB in my raspberry pi as a serial port.
I am using a black pill to read RFID-rf522 to read a tag (SPI) and send it to raspberry pi through a USB (using DM and DP pins).
Quick responses are welcomed.

user56652: You can use the one provided by generating it with STMCubeMx. This is going beyond arduino though. But it is highly feasible.

63309: <p>How to create a USB CDC device. (I'm using stm32f103c8 black pill board) and I want to read the data through USB in my raspberry pi as a serial port.</p>

<p>I am using a black pill to read RFID-rf522 to read a tag (SPI) and send it to raspberry pi through a USB (using DM and DP pins).</p>

<p>Quick responses are welcomed.</p>
 56652: <p>You can use the one provided by generating it with <a href="https://www.st.com/en/development-tools/stm32cubemx.html" rel="nofollow noreferrer">STMCubeMx</a>. This is going beyond arduino though. But it is highly feasible.</p>
