From bc5e961d735f2994fab8f13cb2c39190c515774d Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 3 Oct 2018 22:40:01 -0400 Subject: stm32f1: Initial support for serial over USB Signed-off-by: Kevin O'Connor --- docs/stm32f1.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'docs/stm32f1.md') diff --git a/docs/stm32f1.md b/docs/stm32f1.md index 04868ec6..e65113fd 100644 --- a/docs/stm32f1.md +++ b/docs/stm32f1.md @@ -20,10 +20,14 @@ STM32F1 port. Fixed pins ========== -The UART used for communication with the host is fixed to pins PA9 (TX) and PA10 -(RX). SWD pins (PA13/PA14) are enabled for debugging and cannot be used for any -I/O. SPI uses pins PB13/PB14/PB15, but the pins can be used as general I/O if -SPI is not used. +When using serial, the UART used for communication with the host is +fixed to pins PA9 (TX) and PA10 (RX). When using USB, the PA11 (D-) +and PA12 (D+) pins are reserved. The USB code assumes that PA12 (D+) +has a fixed pullup resistor attached to it. + +SWD pins (PA13/PA14) are enabled for debugging and cannot be used for +any I/O. SPI uses pins PB13/PB14/PB15, but the pins can be used as +general I/O if SPI is not used. Digital I/O =========== -- cgit v1.2.3-70-g09d2