aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #143 from qmk/fix_kinesis_usb_data_syncFabien Poussin2018-03-081-16/+41
|\ | | | | Fix Kinetis usb databank synchronization problems
| * Fix data usb data toggle sync problemFred Sundvik2018-02-081-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 KinetisFred Sundvik2018-02-031-0/+23
| |
* | Added support for STM32F7Adrian2018-01-315-5/+20
| | | | | | | | Tested only for STM32F746, other chipsets have to be checked.
* | Add STM32F769 to FSMCv1 sdram driverDave Flogeras2017-12-143-3/+5
| |
* | Merge pull request #125 from marcoveeneman/tiva_add_uartmarcoveeneman2017-11-233-0/+1301
|\ \ | | | | | | Add Tiva UART driver.
| * | Initial version of the Tiva UART driver.marcoveeneman2017-09-103-0/+1301
| | |
* | | Merge pull request #133 from belak/k20x-mcg-c2Fabio Utzig2017-11-041-3/+2
|\ \ \ | | | | | | | | Fix for K20x startup
| * | | Fix for K20x startupKaleb Elwert2017-11-041-3/+2
| | | |
* | | | Aligned the Tiva port to the SPI driver improvements.marcoveeneman2017-09-102-8/+34
| | | |
* | | | Merge branch 'master' into usbh_develFabien Poussin2017-08-086-1/+593
|\ \ \ \
| * \ \ \ Merge pull request #120 from marcoveeneman/tiva_add_adcmarcoveeneman2017-08-086-1/+593
| |\ \ \ \ | | | | | | | | | | | | Tiva add ADC driver
| | * | | | Fixed ADC driver.mkmarcoveeneman2017-07-031-2/+2
| | | | | |
| | * | | | Added missing driver.mk file for the ADC driver.marcoveeneman2017-07-031-0/+9
| | | | | |
| | * | | | Improved ADC driver and ADC testhal application.marcoveeneman2017-07-031-34/+33
| | | | | |
| | * | | | Initial ADC driver and testhal application for TM4C123x.marcoveeneman2017-07-035-1/+585
| | | |/ / | | |/| |
* | / | | USBH: STM32 LLD: break LS activity detect loop if port is disabledDiego Ismirlian2017-08-071-11/+18
|/ / / /
* | | | USBH: STM32 LLD: various improvementsDiego Ismirlian2017-07-312-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 onesDiego Ismirlian2017-07-161-7/+1
| | | |
* | | | USBH: Correct bug in LLDDiego Ismirlian2017-07-161-1/+1
| | | |
* | | | USBH: moved definition of driver to LLDDiego Ismirlian2017-07-091-0/+7
|/ / /
* | | USBH: moved declaration of driver to LLDDiego Ismirlian2017-06-091-0/+9
| | |
* | | USBH: STM32 lld, activate correction of unexpected lengthDiego Ismirlian2017-06-081-1/+1
| | |
* | | Mass license dates updateDiego Ismirlian2017-06-052-4/+4
| | |
* | | Remove redundant hal_stm32_otg.h fileDiego Ismirlian2017-06-051-934/+0
| | | | | | | | | | | | The correct version is already present in ChibiOS
* | | USB Host fixesDiego Ismirlian2017-06-052-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 usedAndres Vahter2017-06-051-4/+54
| | |
* | | Updated license headersmarcoveeneman2017-04-2030-30/+30
| | |
* | | Fixed Tiva low level driver @file documentation.marcoveeneman2017-04-1822-25/+41
| | |
* | | Improved documentation of the Tiva serial driver.marcoveeneman2017-04-181-18/+62
| | |
* | | Implemented advanced buffering support for the Tiva serial driver.marcoveeneman2017-04-182-12/+211
| | |
* | | Changed the flag set when a serial buffer is full.marcoveeneman2017-04-181-1/+1
| | |
* | | Added driver.mk file for each low level peripheral driver.marcoveeneman2017-04-1811-113/+115
| | |
* | | [DMA2D, LTDC] Removing ch.h dependencies. Fix #111.Romain Reignier2017-02-282-2/+0
| | |
* | | [Comp] Adding interrupt functions, updating example.Fabien Poussin2017-02-092-2/+200
| | |
* | | [Comp] Adding support for STM32F0.Fabien Poussin2017-02-071-1/+7
| | |
* | | [Comp] Adding more definesFabien Poussin2017-02-071-0/+45
| | |
* | | [Comp] Adding init, helper defines.Fabien Poussin2017-02-071-0/+94
| | |
* | | [Comp] Cleaning example, removing dependencies and adding checks.Fabien Poussin2017-02-072-138/+134
| | |
* | | [COMP] Fixing headers, missing includes.Fabien Poussin2017-02-071-5/+5
| | |
* | | Adding COMP Driver.Fabien Poussin2017-02-063-0/+665
| | |
* | | [Timcap/Eeprom] Removing ch.h dependencies.Fabien Poussin2017-02-062-2/+0
| | |
* | | [STM32, NAND] Fixed #elif without expressionbarthess2017-01-241-2/+1
| | |
* | | FSMC NAND improvements.barthess2017-01-173-65/+140
| | | | | | | | | | | | | | | 1) Implemented 16 bit bus width support 2) Added workaround errata in STM32
* | | Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contribbarthess2017-01-065-20/+34
|\ \ \
| * \ \ Merge pull request #107 from pl4nkton/stm32_fixesFabien Poussin2017-01-045-20/+34
| |\ \ \ | | | | | | | | | | Stm32 fixes
| | * | | STM32: fix USB HOST HS when cpu is in sleep modeNicolas Reinecke2016-12-051-1/+2
| | | | |
| | * | | change qei types to int16_tPeter2016-12-052-2/+2
| | | | |
| | * | | usbh: add otg stepping 2 codeNicolas Reinecke2016-12-052-0/+12
| | | | |
| | * | | usbh: cleanupNicolas Reinecke2016-12-053-17/+18
| | | | |