How to use STM32F10xUSBLib2.21 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-29 5:04 AM
Guys,
Does anyone have experience on using STM32F10xUSBLib2.21 ? I couldn't find a port for SDcard SPI on the code... I tried to find on hw_config.c, but couldn't find a configuration for SDcard connection... Any helps will be appreciated, Thanks #stm32 #usb #mass-storage- Labels:
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-29 6:35 AM
I would suspect the pin configuration can be located with materials about the STM3210C-EVAL board, and the MSC example project for that board
STM32_USB-Host-Device_Lib_V2.1.0\Project\USB_Device_Examples\MSC STM32_USB-Host-Device_Lib_V2.1.0\Utilities\STM32_EVAL\STM3210C_EVAL\stm3210c_eval.h STM32_USB-Host-Device_Lib_V2.1.0\Utilities\STM32_EVAL\STM3210C_EVAL\stm3210c_eval_spi_sd.cUp 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-08-29 7:58 AM
I don't use :
STM3210C_EVAL That's why I need the configuration file to modify according to my board, any files that I can modify ? Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-29 8:26 AM
So, review the project, and create you own board support files.
The Utilities directories illustrate how ST solved the board issue, either model your scheme after that, or understand it well enough to address your board, in your own way.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-08-29 4:30 PM
In this code :
/* Configure SPI1 pins: SCK, MISO and MOSI */ GPIO_InitStructure.GPIO_Pin = GPIO_Pin_5 | GPIO_Pin_6 | GPIO_Pin_7; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; GPIO_Init(GPIOA, &GPIO_InitStructure); Does it mean PA5 = SCK PA6 = MISO PA7 = MOSI ? Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-29 5:07 PM
What part/board do you have, this isn't code for an STM32F10x part?
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-08-29 5:32 PM
