2012-11-28 05:34 AM
hello everyone,
i`m working on an academic project.i`m trying to read sensor values and needs to send the readings after calculation to PC via USB or Serial port Does initializing and sending data to USART1 require additional chips like MAX 232 or is it possible directly? also what kind of USB Communication modes are feasible in my context and how can i do that? anyone got suggestions or examples? #amazing-google-skills2012-11-28 05:58 AM
You can use USART with any RS232 to USB converter (so some USB to Serial cable, where you correctly connect at least RX and/or TX and GND).
2012-11-28 06:59 AM
The STM32F4 signals serial using CMOS levels, you can get USB-to-CMOS Serial adapters (DLP-RXTX ?) which can connect directly without RS232 level converters. If you use an RS232 serial port you will need a MAX232 or equivalent level converter.
There are many examples in the various firmware libraries, and there is a USB library which you should familiarize yourself with.2012-11-28 07:47 AM
i got USART working along with arduino. i dont actually have any RS232 converters
i`ve been working to get some idea with USB but cant find any examples can you please give links so that i could learn from it?2012-11-28 08:04 AM
Go search the Chip, and then under the ''Design Resources'' tab.
http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/USER_MANUAL/CD00289278.pdf
2012-11-29 05:44 AM
Thanks! appreciate it :)