Hi Jens8051
Differences.
1. STM32f103b-eval 'USB_Disconnect' uses pd9(output=high) to disconnect usb via software.
[refs a,b,3]
The stm32 Primer 'USB_NCON' uses pb12(input=high) to detect usb disconnect [refs b,c]
( It maybe interesting to configure pb12 as a low-output to disconnect a Primers USB thru
software. To reconnect you would reconfigure pb12 as as an input).
2. The STM32f103b-eval has a built-in rs232 driver chip connected to UART1
The STM32 Primer has no RS232 driver chip on UART1 so it cannot be connected
to a PC without modification.
3. The STM32f103b-eval uses the 100 pin STM32f103 package.
The STM32 Primer uses the 64 pin package with no port pd9!!
References;
a) http://www.st.com/stonline/products/lit … /13472.pdf p14 USB and JP1,
p31 schematic of USB
b) google for Usb-in-a-nutshell.pdf see section: Speed Identification. page6 para1.
1.5k pullup on usb+ (also called usb_dp) indicates to host that a usb device
(hi speed) is connected
c) get the stm32 primer schematic in the RESOURCES section of this site using the
Resources button at the top of all pages
I will check this and edit this post accordingly.
Stewee
Last edited by Stewee (2008-04-20 04:28:35)