Commit Graph

24893 Commits (0fd7dcaa4edb58153ddac5df8c43b4e30e7edc5c)

Author SHA1 Message Date
George Beckstein 0fd7dcaa4e Fixed IRQ_ENABLE call to IRQ_DISABLE (oops). 2019-05-28 10:48:09 -04:00
George Beckstein 1ab27aff1f Finished compatibility changes for nrfx renaming 2019-05-28 10:48:09 -04:00
George Beckstein 2bd024d174 Fixing compatibilities with new nrfx drivers 2019-05-28 10:48:09 -04:00
George Beckstein 5d86c3b36f Removed redundant virtual status transfer notifications. 2019-05-28 10:48:09 -04:00
George Beckstein 40ee528479 Added workaround for "unloading" IN endpoints after unstalling. Disable and then reenable when USBPhyHw::endpoint_unhalt() is called. 2019-05-28 10:48:09 -04:00
George Beckstein 7e15a5b54a Removed unnecessary logic and changed round robin DMA scheduling 2019-05-28 10:48:09 -04:00
George Beckstein 8c176c34ef Added in flag for preventing double IRQ triggering and added asserts for Nordic driver calls 2019-05-28 10:48:09 -04:00
George Beckstein 9e61bbc4e3 Ignore events that happen when an endpoint is stalled/halted 2019-05-28 10:48:09 -04:00
George Beckstein 54b72d2eb3 Added a return from the virtual status transfer software-triggered interrupt. Not entirely sure this is appropriate. 2019-05-28 10:48:09 -04:00
George Beckstein cfea14ce6d Added simulated status stage interrupt 2019-05-28 10:48:09 -04:00
George Beckstein 171c8fa8e5 Trying virtual status stage and generated interrupt 2019-05-28 10:48:09 -04:00
George Beckstein 1babcd1011 Added setup status enum and removed some old commented out code 2019-05-28 10:48:09 -04:00
George Beckstein 94d01a99f3 Implemented USBPhyHw::unconfigure() as it was causing configuration changes to fail. Endpoints were not being removed properly in the Nordic driver 2019-05-28 10:48:09 -04:00
George Beckstein 4b744c86af Added data toggle clearing to removing endpoints. Reworked aborting endpoints in nordic driver to prevent an ASSERT when it is called on ISO endpoints 2019-05-28 10:48:09 -04:00
George Beckstein 859329fb2e Changed a little formatting 2019-05-28 10:48:09 -04:00
George Beckstein dde7bffb87 Added code to ignore ZLP packets on the ISOOUT endpoint... not fixing issue yet 2019-05-28 10:48:09 -04:00
George Beckstein d3844a181c Removed function call for SOF event -- frame counter is already included in data from usb event 2019-05-28 10:48:09 -04:00
George Beckstein 0320ebc1d8 Removed 0 max packet size assert for ISO endpoints. Ensured usbd_ep_abort would not be called on ISO endpoints (this currently causes an ASSERT in the Nordic driver 2019-05-28 10:48:09 -04:00
George Beckstein 608e326942 Fixed bug causing usb_control_stall_test to fail intermittently. Preparing the Nordic HW for the status stage of a control transfer would sometimes cause the HW to automatically ACK an "invalid" command during the control stall test. This would cause the test to fail (because an invalid request was not stalled). 2019-05-28 10:48:09 -04:00
George Beckstein c006888557 Reviewing functions. Added critical sections to some functions that access state information. 2019-05-28 10:48:09 -04:00
George Beckstein f00053820b Removed disable from disconnect to see if it affects the success of the soft reset test. 2019-05-28 10:48:09 -04:00
George Beckstein 09c5982a4b Added EP0 stalls to setup event handler 2019-05-28 10:48:09 -04:00
George Beckstein 4a735cb31e Added in triggers to synchronize control transfer stages with what the hardware expects. First working example! 2019-05-28 10:48:09 -04:00
George Beckstein bb65ee0ef6 Non-working custom feeder. Modified nordic driver to disable automatic EP0STATUS task triggering at end of DMA transfer 2019-05-28 10:48:09 -04:00
George Beckstein 16b3511fc1 working on making the mbed and nordic drivers compatible 2019-05-28 10:48:09 -04:00
George Beckstein 823067e015 Added errata fixes (171, 187) from nRF SDK 15.2 that would prevent USBD from starting up 2019-05-28 10:48:09 -04:00
George Beckstein ceb3a105ef Changed driver to request hf and lf clock sources... not sure why USB Ready event isn't ever getting triggered 2019-05-28 10:48:09 -04:00
George Beckstein faa80d9028 Changed power handler to enable/start & disable/stop USBD driver in background 2019-05-28 10:48:09 -04:00
George Beckstein bd2605cce9 Configured sdk for enabling USB. Preliminary implementation of USB for nRF52840 2019-05-28 10:48:09 -04:00
Martin Kojtal 19e762298f
Merge pull request #10666 from ARMmbed/feature-nrf52-sdk15
Nordic SDK v15 Update
2019-05-28 09:48:44 +01:00
paul-szczepanek-arm 9bf2d0ae55 cryptocell acceleration as an option 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 4d236665a2 ifdef 52840 crypto 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 41e02279d3 config fixed for LL hci 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm c050faf268 fix typo 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 16bb7e5f04 fix merge conflixt 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm c9f8ca46ff config now applies to MCU_840 instead of only DK 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm ac66a0040c moved config to target nordic 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 0d1ca866ea license updated 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 6b705c881f remove usage of gpio and leds from nordic cordio LL as it interferes with normal function 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm e43aa12a5d removed stray comma 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 1bbadde9c0 configs in mbed json 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm a6f639ba27 zero copy HCI as a config option 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 87f5e1f057 review comments addressed 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 7894a9321d fix releaseing the WSF msg too early 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 88d000e18e update LL runtime config to new version 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 00bd959abe use TIMER2 instead 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 5025022ab8 handle extended reset 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 96040be349 wsf buffer transfers owenrship to controller 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 0de3510d1c service immediately after sending 2019-05-27 06:16:49 +01:00
paul-szczepanek-arm 8ddaf84516 use pal version of load bd address 2019-05-27 06:16:49 +01:00