AT32F415 OTG New Features
●This document introduces how to use AT32F415C OTG new features as below:
◆Feature 1: In OTGFS Device mode, VBUS (PA9) can be configured for use by other peripherals; Set bit[21]=1 in the OTG_FS_GCCFG register to enable feature 1.
◆Feature 2: In OTG_FS Device mode, endpoint 3 supports remap. Once enabled, it can be used as endpoint 3 and endpoint 4 (depending on the configuration of USB device) to communicate with host simultaneously.
◆Set ((uint32_t *)0x40021044) |= 0x80000000 to enable feature 2.
●This sample code applies to Revision C products of AT32F415 series, which integrates ARM™ 32-bit Cortex®-M4 core.
●Table 2 lists all product models, and Table 1 lists the identification method of products mentioned in this document.
◆Revision code on the device marking
◆The last number of product identification on the packaging label
|
|
Reference Program |
|
|
|
Please see the document for details |
|
|
|
|
|
|
|
English Chinese Chinese and English Japanese |
|
2021.12.10 |
|
Ver 2.0.0 |
|
SC0058 |
|
663 KB |
- +1 Like
- Add to Favorites
Recommend
All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.