summaryrefslogtreecommitdiff
path: root/src/portable/nordic
AgeCommit message (Collapse)Author
2021-11-23fix nrf easy dma race conditionhathach
2021-10-24remove ep descriptor wMaxPacketSize bitfield due to endian issuehathach
2021-10-15fix -Wcast-qualhathach
2021-08-29fix nrf clear data toggle sequence when clearing stallhathach
2021-08-29fix a couple of nrf dcd issuehathach
- limit out xact dma to prevent usbd overflow in certain situation after stalled - drained already acked data when stalling an OUT endpoint
2021-08-27explicitly clear stall and data toggle for edpoint upon open()hathach
2021-08-27implement dcd_edpt_close_all() for nrf52840hathach
2021-08-26add dcd_edpt_close_all() for clear existing configured statehathach
correctly responded to TD 9.13 Set Configuration Test
2021-08-16complete suspend, resume, remote wakeup for nrf52hathach
2021-06-26GCC 11 build fix DuMaM
During Adafruit Bootloader compilation, I spotted bellow error which do not allow me build project. ``` c inlined from 'hfclk_running' at lib/tinyusb/src/portable/nordic/nrf5x/dcd_nrf5x.c:785:13: lib/tinyusb/src/portable/nordic/nrf5x/dcd_nrf5x.c:792:31: error: 'is_running' may be used uninitialized [-Werror=maybe-uninitialized] 792 | return (is_running ? true : false); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ ```
2021-06-19fix race condition with control since TASKS_EP0RCVOUT also require EasyDMAhathach
2021-05-11only apply errata walkaround for nrf52hathach
2021-05-11Allow build for NRF5340 MCUJerzy Kasenberg
Errata code referred to NRF_USBD_BASE. This definition is not present in NRF5340 but both NRF52 and NRF53 do have NRF_USBD which maps to NRF_USBD_BASE for NRF52 and to NRF_USBD_S_BASE for NRF5340. This just make build possible for NRF5340.
2021-03-18fix race condition that could cause drop packet of Bulk OUT transferhathach
NRF_USBD->SIZE.EPOUT[epnum] only need to write once to enable Bulk/Interrupt transfer. We only need to do it in dcd_edpt_open() and dcd_edpt_clear_stall()
2021-01-08use dcd_event_bus_reset() with speed to replace bus_signalhathach
2020-10-01nrf5x: Add support for ISO endpointsJerzy Kasenberg
ISO endpoints were not covered so far by the driver code. This adds support for ISO IN and OUT endpoint handling. Registers for ISO IN(OUT) endpoints are placed just after normal IN(OUT) so in some cases common code could be used for handling all type of transfers. Generally code synchronizes ISO endpoint handling to SOF interrupt. This code does not change the way of how non-ISO endpoints are treated. Code uses strategy outlined in nRF52840 Produce Specification v1.0 sections 6.35.11.1 and 6.35.11.2.
2020-10-01nrf5x: Increase size of mps to 16 bitsJerzy Kasenberg
msp stores max packet size. For ISO endpoints 8 bits is not enough so it's changed to 16 bits.
2020-10-01nrf5x: 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-09-15nrf52: Fix edpt_dma_start() wrong condition checkJerzy Kasenberg
Operator < used in while condition was obviously incorrect. Loop starts with checking if unsigned variable is less then 0. This condition is always false. This reverses condition to follow intention of of the code.
2020-08-04manually submit unplugged event for nrf dcd_disconnect()hathach
2020-08-01correct isr context for nrf DCD_EVENT_UNPLUGGEDhathach
also rename debug lookup to prevent conflict
2020-05-21fix nrf hanged (blocking wait) when called within critical sectionhathach
2020-05-05detect if SD is actually present on the flash using SD magichathach
even with SOFTDEVICE_PRESENT defined, SD may not be present on actual flash.
2020-04-17complete remove dcd_set_config(), fix unit testhathach
2020-04-17mass rename tud/dcd_irq_handler to tud/dcd_init_handlerhathach
2020-04-11Merge branch 'master' into refactor-irqhandlerHa Thach
2020-04-09implement dcd connect/disconnect for samd and nrfhathach
2020-04-06call tud_irq_handler() for all nrf5x boardhathach
2020-03-08fix zlp for nrf52840hathach
2019-11-11update dcd nrf5x to be indepent from nrf_usbd.hhathach
fix build error with nrfx 2.0
2019-08-05clean uphathach
2019-08-05nrf5x remove the depenedent on nrfx_power.hhathach
2019-08-05merge dcd/hal_nrf5x.c into dcd/dcd_nrf5x.chathach
2019-06-10remove dcd_edpt_busy()hathach
2019-05-14more clean up use inline bit funciton instead of macroshathach
2019-05-14update license year to 2019hathach
2019-05-09fix clear stall usage, fix reset data toggle with dcd_clear_stall for nrf52hathach
2019-05-01clean uphathach
2019-04-08fix #53 use nrfx_usbd_errata.hhathach
2019-04-02nrf5x enable suspend after set address, instead of set confighathach
2019-03-31nrf5x added LOWPOWER when suspend/resumehathach
2019-03-30added tud_suspended() and tud_ready()hathach
2019-03-30added dcd_remote_wakeup() stub for all portshathach
2019-03-30usbd add connected, suspended, remote_wakeuphathach
- remove use of osal_queue_reset
2019-03-29working on suspend and resumehathach
change dcd_init signature
2019-03-29added Suspend and Resume event for nrf5x porthathach
also rename DCD_EVENT_SUSPENDED to DCD_EVENT_SUSPEND
2019-03-27replace dcd_edpt_(clear)stall by usbd_edpt_(clear)stallhathach
- remove dcd_edpt_stalled() from dcd porting
2019-03-27remove dcd_get_frame_number()hathach
2019-03-24remove tusb_hal_millis() usage, less work for portinghathach
2019-03-20migrate license from BSD 3 clause to MIThathach