EasyManua.ls Logo

Bouffalo Lab BL702 - Page 308

Default Icon
375 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
18
USB
18.1 USB introduction
USB (Universal Serial Bus), fully supports USB1.1 full-speed devices, and partially supports USB2.0.
18.2 USB main features
Support USB full speed device-mode
Supports 8 bidirectional endpoints: EP0 can be configured as control/bulk/interrupt/synchronization endpoints,
EP1-EP7 can be configured as bulk/interrupt/synchronization endpoints
Each endpoint contains TX and RX FIFOs with a depth of 64 bytes and supports DMA
Support internal transceiver
Support suspend/resume
Support LPM
Support multiple USB interrupt configurations
18.3 USB function description
18.3.1 USB steps
1. Configure the internal transceiver, the corresponding addresses are 0x40000228 and 0x4000022C
2. Configure usb_config and epx_config of each endpoint
3. Configure USB interrupt related registers
4. Configure USB DMA related (optional)
5. Configure GPIO as USB function (internal transmitter----function is 10)
BL702/704/706 Reference Manual
308/ 375
@2021 Bouffalo Lab
guest@bouffalolab

Table of Contents