Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #143 from qmk/fix_kinesis_usb_data_sync | Fabien Poussin | 2018-03-08 | 1 | -16/+41 |
|\ | | | | | Fix Kinetis usb databank synchronization problems | ||||
| * | Fix data usb data toggle sync problem | Fred Sundvik | 2018-02-08 | 1 | -16/+41 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USB control transfers are structured as the following. For incoming transfers Setup (Data0 out) Data (Data1/Data0 in) - starting with data 1 Status (Data1 out) For outgoing transfers Setup (Data0 out) Data (Data1/Data0 out) - starting with data 1 Status (Data1 in) The in buffers (device to host) are always correctly synchronized, since they can always be reset to Data1 each setup packet without any synchronization problems. The problem occured for outgoing transfers (host to device). For incoming transfers the data banks always alternates, and will automatically stay in sync. Outgoing transfers also stays in sync when there's an odd number of data packets. However when the number is even, including zero, then the last packet received by the device will be data0 and the next setup packet also has to be data0, so there's a synchronization problem. This itself is not a problem since data toggle synchronization(DTS) is ignored for setup packets, however if the follwoing packet after that is also an out packet, then the data bank will be wrong and the packet dropped. In this case the USB spec don't allow sending a nack, so it will only recover after a timeout, when the host tries to send a new setup packet. The old code tried to take care of this situation by reinitializing both data banks when a setup packet is received. The problem is that the next packet might already have been received or is in progress of being received at this point, so the fixup comes to late. The new code does the fixup when a status packet is about to be sent from the device to avoid this problem. | ||||
* | | Add usb_lld_wakeup_host for Kinetis | Fred Sundvik | 2018-02-03 | 1 | -0/+23 |
| | | |||||
* | | Added support for STM32F7 | Adrian | 2018-01-31 | 5 | -5/+20 |
| | | | | | | | | Tested only for STM32F746, other chipsets have to be checked. | ||||
* | | Add STM32F769 to FSMCv1 sdram driver | Dave Flogeras | 2017-12-14 | 3 | -3/+5 |
| | | |||||
* | | Merge pull request #125 from marcoveeneman/tiva_add_uart | marcoveeneman | 2017-11-23 | 3 | -0/+1301 |
|\ \ | | | | | | | Add Tiva UART driver. | ||||
| * | | Initial version of the Tiva UART driver. | marcoveeneman | 2017-09-10 | 3 | -0/+1301 |
| | | | |||||
* | | | Merge pull request #133 from belak/k20x-mcg-c2 | Fabio Utzig | 2017-11-04 | 1 | -3/+2 |
|\ \ \ | | | | | | | | | Fix for K20x startup | ||||
| * | | | Fix for K20x startup | Kaleb Elwert | 2017-11-04 | 1 | -3/+2 |
| | | | | |||||
* | | | | Aligned the Tiva port to the SPI driver improvements. | marcoveeneman | 2017-09-10 | 2 | -8/+34 |
| | | | | |||||
* | | | | Merge branch 'master' into usbh_devel | Fabien Poussin | 2017-08-08 | 6 | -1/+593 |
|\ \ \ \ | |||||
| * \ \ \ | Merge pull request #120 from marcoveeneman/tiva_add_adc | marcoveeneman | 2017-08-08 | 6 | -1/+593 |
| |\ \ \ \ | | | | | | | | | | | | | Tiva add ADC driver | ||||
| | * | | | | Fixed ADC driver.mk | marcoveeneman | 2017-07-03 | 1 | -2/+2 |
| | | | | | | |||||
| | * | | | | Added missing driver.mk file for the ADC driver. | marcoveeneman | 2017-07-03 | 1 | -0/+9 |
| | | | | | | |||||
| | * | | | | Improved ADC driver and ADC testhal application. | marcoveeneman | 2017-07-03 | 1 | -34/+33 |
| | | | | | | |||||
| | * | | | | Initial ADC driver and testhal application for TM4C123x. | marcoveeneman | 2017-07-03 | 5 | -1/+585 |
| | | |/ / | | |/| | | |||||
* | / | | | USBH: STM32 LLD: break LS activity detect loop if port is disabled | Diego Ismirlian | 2017-08-07 | 1 | -11/+18 |
|/ / / / | |||||
* | | | | USBH: STM32 LLD: various improvements | Diego Ismirlian | 2017-07-31 | 2 | -112/+134 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - general cleanup - implemented workaround to undocumented erratum (the OTG core may report successful enabling of port when connecting a low-speed device, but really it generates no traffic and remains in a "dumb" state) - improved handling of disconnection of devices (avoid submitting URBs if the port is disabled) | ||||
* | | | | USBH: remove unnecessary reschedules and add necessary ones | Diego Ismirlian | 2017-07-16 | 1 | -7/+1 |
| | | | | |||||
* | | | | USBH: Correct bug in LLD | Diego Ismirlian | 2017-07-16 | 1 | -1/+1 |
| | | | | |||||
* | | | | USBH: moved definition of driver to LLD | Diego Ismirlian | 2017-07-09 | 1 | -0/+7 |
|/ / / | |||||
* | | | USBH: moved declaration of driver to LLD | Diego Ismirlian | 2017-06-09 | 1 | -0/+9 |
| | | | |||||
* | | | USBH: STM32 lld, activate correction of unexpected length | Diego Ismirlian | 2017-06-08 | 1 | -1/+1 |
| | | | |||||
* | | | Mass license dates update | Diego Ismirlian | 2017-06-05 | 2 | -4/+4 |
| | | | |||||
* | | | Remove redundant hal_stm32_otg.h file | Diego Ismirlian | 2017-06-05 | 1 | -934/+0 |
| | | | | | | | | | | | | The correct version is already present in ChibiOS | ||||
* | | | USB Host fixes | Diego Ismirlian | 2017-06-05 | 2 | -20/+92 |
| | | | | | | | | | | | | | | | | | | | | | | | | - Cleaned up alignment macros for GCC & IAR - Corrected EP halt and Clear halt behaviours - Initialization of class drivers by USB Host main driver - Minor cosmetic fixes - Updated USB_HOST testhal app | ||||
* | | | Add checks to QEI if STM32 TIM is already used | Andres Vahter | 2017-06-05 | 1 | -4/+54 |
| | | | |||||
* | | | Updated license headers | marcoveeneman | 2017-04-20 | 30 | -30/+30 |
| | | | |||||
* | | | Fixed Tiva low level driver @file documentation. | marcoveeneman | 2017-04-18 | 22 | -25/+41 |
| | | | |||||
* | | | Improved documentation of the Tiva serial driver. | marcoveeneman | 2017-04-18 | 1 | -18/+62 |
| | | | |||||
* | | | Implemented advanced buffering support for the Tiva serial driver. | marcoveeneman | 2017-04-18 | 2 | -12/+211 |
| | | | |||||
* | | | Changed the flag set when a serial buffer is full. | marcoveeneman | 2017-04-18 | 1 | -1/+1 |
| | | | |||||
* | | | Added driver.mk file for each low level peripheral driver. | marcoveeneman | 2017-04-18 | 11 | -113/+115 |
| | | | |||||
* | | | [DMA2D, LTDC] Removing ch.h dependencies. Fix #111. | Romain Reignier | 2017-02-28 | 2 | -2/+0 |
| | | | |||||
* | | | [Comp] Adding interrupt functions, updating example. | Fabien Poussin | 2017-02-09 | 2 | -2/+200 |
| | | | |||||
* | | | [Comp] Adding support for STM32F0. | Fabien Poussin | 2017-02-07 | 1 | -1/+7 |
| | | | |||||
* | | | [Comp] Adding more defines | Fabien Poussin | 2017-02-07 | 1 | -0/+45 |
| | | | |||||
* | | | [Comp] Adding init, helper defines. | Fabien Poussin | 2017-02-07 | 1 | -0/+94 |
| | | | |||||
* | | | [Comp] Cleaning example, removing dependencies and adding checks. | Fabien Poussin | 2017-02-07 | 2 | -138/+134 |
| | | | |||||
* | | | [COMP] Fixing headers, missing includes. | Fabien Poussin | 2017-02-07 | 1 | -5/+5 |
| | | | |||||
* | | | Adding COMP Driver. | Fabien Poussin | 2017-02-06 | 3 | -0/+665 |
| | | | |||||
* | | | [Timcap/Eeprom] Removing ch.h dependencies. | Fabien Poussin | 2017-02-06 | 2 | -2/+0 |
| | | | |||||
* | | | [STM32, NAND] Fixed #elif without expression | barthess | 2017-01-24 | 1 | -2/+1 |
| | | | |||||
* | | | FSMC NAND improvements. | barthess | 2017-01-17 | 3 | -65/+140 |
| | | | | | | | | | | | | | | | 1) Implemented 16 bit bus width support 2) Added workaround errata in STM32 | ||||
* | | | Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib | barthess | 2017-01-06 | 5 | -20/+34 |
|\ \ \ | |||||
| * \ \ | Merge pull request #107 from pl4nkton/stm32_fixes | Fabien Poussin | 2017-01-04 | 5 | -20/+34 |
| |\ \ \ | | | | | | | | | | | Stm32 fixes | ||||
| | * | | | STM32: fix USB HOST HS when cpu is in sleep mode | Nicolas Reinecke | 2016-12-05 | 1 | -1/+2 |
| | | | | | |||||
| | * | | | change qei types to int16_t | Peter | 2016-12-05 | 2 | -2/+2 |
| | | | | | |||||
| | * | | | usbh: add otg stepping 2 code | Nicolas Reinecke | 2016-12-05 | 2 | -0/+12 |
| | | | | | |||||
| | * | | | usbh: cleanup | Nicolas Reinecke | 2016-12-05 | 3 | -17/+18 |
| | | | | |