0xc0170
a384d1d875
pwm channel 7 correction, enhanced mode
2013-12-30 18:12:01 +01:00
0xc0170
dc19dcbb94
fix - KL46Z cmsis header (v2.2), shared interrupt PORTCD
...
- Ports C and D sharing same interrupt vectors
- KL46Z CMSIS header update
- InterruptIn methods irq_disable/enable comment update
2013-12-30 12:19:24 +01:00
0xc0170
8d7c3da179
i2c clock from global clock value, syntax corrections
2013-12-30 11:39:36 +01:00
0xc0170
63526032d9
K20D5M flash algo for template
2013-12-26 09:03:19 +01:00
0xc0170
78140c4aa1
LPTMR timer - OSCEN set, GCC startup vectors add
2013-12-25 20:02:56 +01:00
0xc0170
b73b57db26
I2C, pullup
2013-12-23 20:56:48 +01:00
0xc0170
366221524a
SPI, RTC, Serial changes
...
- SPI - implementation
- RTC - there's 32.768kHz crystal, use that as a source
- Serial - 10bit transfer
2013-12-23 19:57:10 +01:00
0xc0170
988894e837
Merge branch 'master' into K20D50
2013-12-17 16:13:27 +01:00
Bogdan Marinescu
c560db3233
Merge branch 'KL46_DEV' of git://github.com/sg-/mbed into sg--KL46_DEV
...
Conflicts:
README.md
2013-12-17 12:06:12 +02:00
sg-
33ae2fe364
Updates to comments and README.md to add new target links
2013-12-16 18:41:39 -06:00
sg-
4445a11673
Add pulldown support to PinMode enum and fix pullup value to match register definition
2013-12-16 13:05:13 -06:00
0xc0170
f7cee14193
KL05Z GCC support, exporters for arm_gcc, uvision
2013-12-15 11:54:44 +01:00
0xc0170
5e9e53f934
PWM - changes to start the channel
2013-12-10 15:57:43 +01:00
Sissors
9f89a4d218
Added (deep)sleep to KL25Z
...
Sleep is wait mode
Deepsleep is very low power stop mode
During the interrupt that removes it from deepsleep it will run at low
speed until the PLL is automatically re-enabled after the interrupt.
2013-11-30 19:28:00 +01:00
0xc0170
d8d526f656
Merge branch 'master' into K20D50
2013-11-28 17:24:57 +01:00
0xc0170
c5a2e6ed0e
pwm, spi - pin definition, dac removed
2013-11-27 18:46:30 +01:00
0xc0170
0e99a7c9bd
Analog API - pins, analog pins (arduino) correction, irq
...
- ADC - pins, mux
- analog pins - Ax
- irq - port A - E
2013-11-26 20:08:13 +01:00
Bogdan Marinescu
3c0a8b633f
Provide generic pinout defines
...
This commit adds generic peripheral names to various mbed enabled
boards, to make it easier to write portable code amongst various
mbed boards.
2013-11-26 17:12:36 +02:00
0xc0170
3dc97b20c0
startup ARM - stack pointer, serial functional
...
- stack pointer correction
- startup for ARM - clean up
- GCC ARM linker - RAM size correction
- NVIC - RAM address
2013-11-22 21:21:01 +01:00
0xc0170
4e09b52a71
K20 uVision files, ld NVIC offset
...
- K20 KEIL files
- clock set to 1 (48MHz)
- offset in GCC ld for vectors in RAM
- us ticker - PIT timer interrupt implementation
2013-11-19 20:06:26 +01:00
0xc0170
8ca8014c00
Merge branch 'master' into K20D50
2013-11-18 20:34:45 +01:00
0xc0170
f4591dbbab
Merge branch 'upstream_master' into dev_kl46z
2013-11-05 22:08:07 +01:00
0xc0170
b0537af763
gpio irq enable/disable
...
- InterruptIn disable_irq/enable_irq
2013-10-19 22:28:29 +02:00
0xc0170
d9ed7aba77
CMSIS KL46 files (were KL25 renamed)
2013-10-17 19:32:40 +02:00
0xc0170
5dcd8ea10e
ARM (KEIL) files for KL46Z
2013-09-29 20:40:06 +02:00
0xc0170
b83fd7fb3b
MUX corrections, Arduino Analog signals
...
- added new MUX options to all drivers
- removal of LED which are not there
- analog arduino R3 signals were switched
2013-09-29 20:04:56 +02:00
Michael Conners
5bd25ac046
Added K20D5M support
2013-09-24 10:36:04 -04:00
Michael Conners
afcc79ad27
Added KL46Z support
2013-09-24 10:01:06 -04:00
Abe Karplus
96101aed32
Added complete PwmOut mappings for KL25Z
2013-09-04 15:52:58 +03:00
Adam Green
692e666ced
Silence signed/unsigned comparison warnings in GCC.
...
i2c_frequency() compares a uint32_t ref variable to the int hz
function parameter passed in by the caller. I forced this to be an
uint32_t comparison.
i2c_slave_write() declared i and count variables to be of type uint32_t
but used them as int type throughout the code (in comparisons and
returns) so I switched them to be of signed int type.
spi_frequency() contains a change similar to that made in
i2c_frequency().
2013-08-13 01:47:20 -07:00
Adam Green
461a3dd0d2
Cast to matching enumeration type instead of uint32_t
...
This commit targets the KL25Z code, whereas previous ones targetted
similar issues in the LPC1768 and LPC11U24 mbed HAL code.
These changes were made to silence GCC warnings and fix potential bugs
where they would never be equal when the enumeration wasn't a 32-bit
type.
For example, pinmap.c used to contain this code:
if (pin == (uint32_t)NC) return;
I switched it to:
if (pin == (PinName)NC) return;
I wonder why this casting to uint32_t was done in the first place?
Maybe another supported compiler requires it?
2013-08-13 01:47:20 -07:00
Bogdan Marinescu
1a47a218a4
[KL25Z] Fixed counter type for i2c_read operations.
2013-08-12 12:31:05 +03:00
Bogdan Marinescu
9ee1fc9f55
[KL25Z] Fix I2C issue related to the silicon errata.
...
Makes a difference when running the I2C EEPROM test at 400KHz, which has a 100%
success rate after this change.
2013-08-07 14:49:11 +03:00
Bogdan Marinescu
1e8e50996c
[KL25Z] Restore full SPI pin mappings
2013-08-07 14:42:02 +03:00
0xc0170
6127ed3bb7
KL25Z adc channels A
...
- only channels B were available
2013-08-06 21:21:03 +02:00
emilmont
4f03cd09b8
Remove undefined peripherals
2013-08-05 22:09:32 +01:00
0xc0170
e1af24c1f2
Spaces correction
2013-08-05 19:06:22 +02:00
0xc0170
3c0775f5c3
More pin mux options for KL25Z
...
- as reported in mbed bug section, add all available mux options
2013-08-04 21:33:06 +02:00
Bogdan Marinescu
1cd95c2467
[KL25Z] Fix clock generation for I2C and SPI
...
Don't set a clock higher than the one requested for the I2C and SPI interfaces,
even if this setting is the closest to the requested one. This was causing
some issues with the EEPROM test and possibly other issues with the SPI SD test.
2013-07-29 18:20:04 +03:00
Bogdan Marinescu
0c33d40fbb
Added support for UART break generation.
2013-07-17 15:29:39 +03:00
0xc0170
43ace93009
removed KL05Z hw tests + mv KL05Z to TARGET_Freescale
2013-07-04 17:57:52 +02:00
0xc0170
551f06b66b
Merge branch 'master' into freedomKL05
...
Conflicts:
workspace_tools/toolchains/arm.py
2013-07-04 17:40:46 +02:00
Emilio Monti
597c62e06a
Add the vendor name as a proper target label
2013-07-03 17:14:43 +01:00