2015-03-31 01:09 PM
Does anyone know how I would go about writing data from the USART (usart2) and forward this data to write out of PA12? I am looking to use it to transfer data over USB
2015-03-31 03:33 PM
Your question is oddly nonsensical, USB uses multiple pins, perhaps what you're looking for is a VCP/CDC type USB example, with the USART Rx,Tx buffered in/out via the virtual connectivity afforded by the VCP code.
Review the USB firmware libraries, and the examples therein.