28.5 USB peripheralsection นี้ให้ the functional description of the OTG_FS ใน the USB peripheral mode. The OTG_FS ทำงานเป็น an USB peripheral ในสถานการณ์ต่อไปนี้:
• OTG B-Peripheral
– OTG B-device default state ถ้า B-side of USB cable ถูกเสียบ
• OTG A-Peripheral
– OTG A-device state หลังจาก the HNP สลับ the OTG_FS ไปเป็น peripheral role ของมัน
• B-device
– ถ้า the ID line ปรากฎ, หน้าที่และต่อถึง the B-side of the USB cable, และ the HNP-capable bit in the Global USB
Configuration register (HNPCAP bit in OTG_FS_GUSBCFG) จะถูกเคลียร์ (ดู On-The-Go Rev1.3 par. 6.8.3).
• Peripheral only (ดู
Figure 305)
– The force device mode bit ใน the Global USB configuration register (FDMOD in OTG_FS_GUSBCFG) ถูกเซ็ตเป็น
1, บังคับ the OTG_FS core ให้ทำงานเป็น a USB peripheral-only (ดู On-The-Go Rev1.3 par. 6.8.3). ในกรณีนี้, the ID
line จะถูกเพิกเฉยแม้ว่าปรากฎบน the USB connector.
Note: ในการสร้าง a bus-powered device implementation ในกรณีของ the B-device or peripheral-only configuration, an
external regulator ต้องถูกเพิ่มเพื่อสร้าง the VDD chip-supply จาก VBUS.