summaryrefslogtreecommitdiff
path: root/src/portable/dialog
AgeCommit message (Collapse)Author
2021-01-08use dcd_event_bus_reset() with speed to replace bus_signalhathach
2020-10-08DA146xx: Allow transmitting of packets larger then 64 bytesJerzy Kasenberg
FIFO is limited to 64 bytes yet MCU is capable of transmitting larger packets provided that FIFO will be filled on the fly and USB_USB_TXCx_REG_USB_LAST_Msk bit is set after FIFO is filled with all the data that should be transmitted. This change allows to use FIFO level warning interrupt to fill FIFO. When DMA is available it will be used instead of interrupts. Some function names were changed to better reflect what each function does.
2020-10-08DA146xx: Add support for ISO endpointsJerzy Kasenberg
Few changes were needed to have working ISO endpoints.
2020-10-08DA146xx: Add dcd_edpt_closeJerzy Kasenberg
Closing endpoints can be important when there are alternate instances. This adds functionality of closing endpoints similar to what exists in other drivers.
2020-10-08DA146xx: Allow receiving of packets larger then 64 bytesJerzy Kasenberg
Internal FIFO for each endpoint is limited to 64 bytes. It is possible to have longer packets if respective FIFO is read during actual packet transmission. This change updates receive data path to allow packets (and endpoint size) larger then 64 bytes. If DMA is not used yet DMA is setup for reception of big packets. If DMA is already assigned to some transfer, code enables FIFO level warning interrupts and tries to read data before FIFO is filled up.
2020-08-01enable pull-up in dcd_init() instead of usbdhathach
2020-06-09Add DCD for Dialog DA1469x MCUJerzy Kasenberg
Dialog Semiconductor's BLE MCU DA1469x comes with full speed USB. It's base on National Semiconductor discrete USB controller USBN9603/4. This adds support for: - control/interrupt/bulk endpoints (up to 64 bytes) - ISO endpoint were not tested and may not work correctly - reset/sleep/wakeup are handled - code for VBUS changes is provided