USB CAN conflict with STM32F103
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-06-12 7:34 AM
I am brand new to USB development. I am using the STM32F103 in a new prototype board and keil tools to develop with. During my search all over the internet for information and examples, I came across the following quote found here
''As far as i remember there are some hardware issues with the stm32f1xx where some buffers/ram area are common for usb and can, so practically it is impossible to use usb and can at the same time...'' First of all, is this true because my application needs both CAN and USB? Secondly, if not true, can someone please show me some actual code on how to initialize the USB device so I can connect my prototype board to a PC and send and receive data via the USB? Thanks. #usb-can-stm32f- Labels:
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-06-12 8:09 AM
It is true, they share a common 512 byte buffer, and pins. Review the functional diagram if you doubt.
The F105/107 ''Connectivity'' parts are different, and have provision for both.Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-06-12 8:21 AM
you will have to use an F3 or F4.
RM0008 page 629
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 usedconcurrently (the shared SRAM is accessed through CAN and USB exclusively). The USBand CAN can be used in the same application but not at the same time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-06-12 8:35 AM
Why didn't I see that! Sorry for my oversight everyone. Thanks for your answers. Now what do I do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-06-12 9:05 AM
Now what do I do?
There's always eBay, half a dozen STM32F107 boards there. Also some nice F207 ones, withUp vote any posts that you find helpful, it shows what's working..
