Hi all,
In the last days I'm studing the usb protocol, but there is a doubt I can't solve.
In the USB protocol, I understood that every Endpoint share a memory space in the MCU and, through the USBTXFIFOADD and USBTXFIFOSZ I should define the address and the size for each endpoint, which is definitively accessed using EPIDX indexer.
My problem is that I can't understand where is defined the BASE address for each endpoint, in fact in the datasheet description of the USBTXFIFOADD register, on page 1146 of the datasheet, this register is defined as the "Start Address" but in terms of "how many bytes", but from where???
Finally, which is the start address of the USB FIFO SRAM memory?
Thanks a lot.