Closed tiancj closed 8 months ago
No i think your datasheet is incorrect and not official, please see
You can find this config in TI/ES32 or other chips with offical.
Thanks, I recheck these two registers, FS and HS have different definitions. FS in 8 bytes, HS in bytes. :-)
In function usbd_ep_open,
MUSB_IND_RXMAP_OFFSET
and/orMUSB_IND_TXMAP_OFFSET
is set toep_cfg->ep_mps
, but according to Mentor USB SW guide, the value of these registers is in unit of 8 Bytes, so the correct value of these registers may beep_cfg->ep_mps >> 3
.