Yes, I did notice that. According to the Reference manual all the STM32F10x apart from STM32F105 and STM32F107 have the USB and CAN peripherals share the same internal memory so can't be used at the same time :
"In low, medium, high and XL-density devices, the USB and CAN share a dedicated
512-byte SRAM memory for data transmission and reception, and so they cannot be used concurrently (the shared RAM is accessed through CAN and USB exclusively). The USB and CAN can be used in the same application but not at the same time."On 25/01/2012 15:45, Rich Webb wrote: > To clarify this a little, STM32 configuration registers allow either a > main function (typically GPIO) or an alternate function (e.g., UART, > SPI, CAN, ...) to control the I/O circuitry at a given pin. On some > devices the USB and CAN lines are both alternate functions on the same > pin, so if both peripherals are enabled and if the pin is set to use the > alternate function then they'll fight for control of the pin and Bad > Things Happen.
As you say, there is the issue with the pins too, but AFAIK it is the shared RAM which is the showstopper in respect of using CAN and USB simultaneously on all except the Connectivity line devices in this range. This means buying the more expensive STM3210C-EVAL board instaed of the STM3210E-EVAL :-(
Thanks to you both,
Boo