Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of CIAA-FSL Drivers with KSDK 1.2 #342

Merged
merged 50 commits into from
Sep 20, 2015
Merged

Conversation

evolentini
Copy link
Contributor

Total revision of CIAA-FSL support code. Details of task completed in this branch:

  • Migration ok Kinetis Driverts provided by Freescale to KDSK 1.2
  • Depuration of drivers using only HAL layer and discard DRIVERS layer.
  • Reimplementation of DIO Driver
  • New implementation of UART driver
  • Partial new implementation of AIO drivers.

evolentini and others added 30 commits April 14, 2015 15:19
… de Kinetis. Agregado de soporte para el K60F12 a partir del K63F12
…gs in reception and does not operates in fifo, only one byte is send by interruption.
…duced two problems: One problem when more than 1 byte is sent through UART. In that case, the first byte to transmit is sent twice, and the second byte is omitted. The other problem is when only 1 byte is sent through UART. In that case the UART's interrupt due to empty buffer is triggered continuously.

The cause of the problem is because when "writting through UART" routine is called, it tries to send the first byte and immediately enables the UART's interrupt due to empty buffer. That thing before updating the buffer. That produces that the interrupt takes control before the main thread updates the buffer pointer. The solution is to enable the UART's interrupt due to empty buffer, right after filling the buffer with data and not to try sending data through the main thread.

Signed-off-by: Alejandro Permingeat <apermingeat@gmail.com>
…ementation

Signed-off-by: Alejandro Permingeat <apermingeat@gmail.com>
…s the ADCs modules initialization and the pins related to ADC initialization)

Signed-off-by: Alejandro Permingeat <apermingeat@gmail.com>
…nitialization and to avoid the use of the lower layer in the ciaa device type

Signed-off-by: Alejandro Permingeat <apermingeat@gmail.com>
… a Bug is corrected related to ADC handler interrupt. Initialization bug is corrected related to ADC channel selection.

Signed-off-by: Alejandro Permingeat <apermingeat@gmail.com>
… de Kinetis. Agregado de soporte para el K60F12 a partir del K63F12
…gs in reception and does not operates in fifo, only one byte is send by interruption.
evolentini and others added 20 commits September 9, 2015 18:08
…duced two problems: One problem when more than 1 byte is sent through UART. In that case, the first byte to transmit is sent twice, and the second byte is omitted. The other problem is when only 1 byte is sent through UART. In that case the UART's interrupt due to empty buffer is triggered continuously.

The cause of the problem is because when "writting through UART" routine is called, it tries to send the first byte and immediately enables the UART's interrupt due to empty buffer. That thing before updating the buffer. That produces that the interrupt takes control before the main thread updates the buffer pointer. The solution is to enable the UART's interrupt due to empty buffer, right after filling the buffer with data and not to try sending data through the main thread.

Signed-off-by: Alejandro Permingeat <apermingeat@gmail.com>
…ementation

Signed-off-by: Alejandro Permingeat <apermingeat@gmail.com>
…s the ADCs modules initialization and the pins related to ADC initialization)

Signed-off-by: Alejandro Permingeat <apermingeat@gmail.com>
…nitialization and to avoid the use of the lower layer in the ciaa device type

Signed-off-by: Alejandro Permingeat <apermingeat@gmail.com>
… a Bug is corrected related to ADC handler interrupt. Initialization bug is corrected related to ADC channel selection.

Signed-off-by: Alejandro Permingeat <apermingeat@gmail.com>
…TWR-K60F120M

Conflicts:
	modules/drivers/x86/src/ciaaDriverFlash.c
…ignation is corrected in function ciaaDriverAio_open()

Signed-off-by: Alejandro Permingeat <apermingeat@gmail.com>
…io_Internal.h #236

Signed-off-by: Alejandro Permingeat <apermingeat@gmail.com>
@evolentini evolentini added this to the ciaaFirmware 0.7.0 milestone Sep 19, 2015
@mcerdeiro mcerdeiro merged commit ff258d4 into master Sep 20, 2015
evolentini added a commit that referenced this pull request Sep 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants