Hi,
I have read the BF548 hardware reference guide, and am a little confused by what it says regarding byte access to the USB FIFOs through the MMR peripheral bus (not DMA).
The datasheet:
Hi,
I have read the BF548 hardware reference guide, and am a little confused by what it says regarding byte access to the USB FIFOs through the MMR peripheral bus (not DMA).
The datasheet:
Hi Wayne,
Sorry for the delay.
What you said is correct i.e setting TXCOUNT = 5, perform 3 word writes. Ensure that the last byte is aligned to the least significant byte lane. Yes, (EPx FIFO address + 4) would be the low word address. Let us know if you are encountering any issues in transferring odd number of bytes in core mode.
Best Regards,
Guru
hi,
If i have a descriptor buffer and i want to reply for the request Get_descriptor through end point 0. Then how can i send the buffer whether i need to update my buffer address in USB_EP0_FIFO (0xFFC03C80) register, but it is 16 bit register. I am confused with this. Please explain me briefly.
Thanking you,
Regards,
NSN
Hello,
did you see ad_usb_hdrc.c source code for example? That is ADI's USB driver for bf54x.
for(i=0;i<wTxCount;i++)
*pUSB_EP0_FIFO = *pData++;
ssync();