BL702/704/706 Reference Manual
18.3.3 USB enumeration phase interrupt processing flow
1. The first is a reset of more than 10ms, which will trigger the reset interrupt.
2. When the reset ends, the reset end interrupt will be triggered.
3. The SETUP transaction, IN transaction, and OUT transaction of the enumeration process will trigger e0sdit, e0icit,
and ep0dit respectively.
4. After the enumeration is over, the IN transaction and OUT transaction between the host and the specific endpoint
EPx will trigger epxcit and epxdit respectively.
18.3.4 Register operation flow of each transfer transaction
• Control transmission-SETUP transaction data reception:
– Enter interrupt
– Determine the e0sdit interrupt flag bit
– What is stored in e0rfr is the data from the setup firm, which can be obtained by reading e0rfr according
to e0rfc
– Set a crsr to release subsequent transactions
– Clear interrupt flag
– Exit interrupt
• Control transmission-IN transaction data transmission:
– Enter interrupt
– Determine the e0idit interrupt flag bit
– Wait for swrdy to be 0 before writing data to e0tfw
– Set a crsr to release subsequent transactions
– Clear interrupt flag
– Exit interrupt
• Control transmission-OUT transaction data reception:
– Enter interrupt
– Determine the ep0dit interrupt flag bit
– What is stored in e0rfr is the data from the OUT firm, which can be obtained by reading e0rfr according
to e0rfc
– Set a crsr to release subsequent transactions
BL702/704/706 Reference Manual 311/ 375
@2021 Bouffalo Lab