Yossi Levy
d9a84c42cf
Remove SPI_PERSISTENT_MEM_CS macro and replace it with SPI_CS
2018-10-25 12:10:48 +03:00
Cruz Monrreal
0db896036c
Merge pull request #8485 from NXPmicro/feature-qspi-kinetis
...
Feature qspi kinetis
2018-10-23 12:38:11 -05:00
Mahesh Mahadevan
9dc3f8c19a
KL82Z FRDM: Update the KL82Z Freedom board for QSPI
...
Add the QSPI pin defines, clock information and flash details
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-18 12:14:27 -05:00
Mahesh Mahadevan
858e536f1a
K82F FRDM: Update the K82F Freedom board for QSPI
...
Add the QSPI pin defines, clock information and flash details
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-18 12:14:26 -05:00
Mahesh Mahadevan
9f64e46de2
K82F, KL82Z: Update register access mode for QSPI IPCR register
...
Add 16-bit access mode when writing the transfer size to prevent
the QSPI transaction from starting
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-18 12:14:26 -05:00
Mahesh Mahadevan
3bd6235032
K82F, KL82Z: Update the QSPI SDK driver to the latest version
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-18 12:14:25 -05:00
Mahesh Mahadevan
e28fb7466b
MCUXpresso: Add the QSPI HAL driver
...
This should support QSPI on Kinetis devices
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-18 12:14:23 -05:00
Mahesh Mahadevan
ebf31c67f0
MCUXpresso: Ensure the RTC OSC is running at bootup on Kinetis platforms
...
This is a fix for Issue 5348.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-18 08:55:48 -05:00
Cruz Monrreal
c9adf3cef4
Merge pull request #8307 from NXPmicro/Add-Support_RapidIoT
...
Add support for RapidIoT
2018-10-18 08:15:07 -05:00
Mahesh Mahadevan
9a47915791
MCUXpresso Flash Driver: Update Flash driver to support RAPIDIOT
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-16 08:52:15 -05:00
maclobdell
fd08cc94f2
Add support for NXP Rapid IoT prototyping kit
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-16 08:52:14 -05:00
Mahesh Mahadevan
f29a597411
MCUXpresso: Fix for the TRNG HAL driver
...
Apply the fix from K64F TRNG HAL driver.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-15 16:00:34 -05:00
Cruz Monrreal
73f1d4cabd
Merge pull request #8186 from deepikabhavnani/freescale_align_fix
...
Freescale/NXP: Fix alignment of execute region to 8byte boundary
2018-10-10 08:43:51 -05:00
Deepika
525545c7b0
Freescale: Fix alignment of execute region to 8-byte boundary
...
--legacyalign, --no_legacyalign are deprecated from ARMC6 compiler, in order to
remove deprecated flags all linker files (GCC and IAR as well to have uniformity)
should strictly align to 8-byte boundary
2018-09-19 09:35:59 -05:00
Russ Butler
66cce67d38
Update the K64F to use boot stack size config
...
Update the K64F linker scripts to make use of the newly added stack
size target config.
2018-09-07 17:00:48 +01:00
Yossi Levy
acfda5895e
Changes in PR #7774 of PinNames.h should be reverted. This commit reverts those files excpet for K82F and K64F which are left as an example
2018-09-05 14:13:05 +03:00
Cruz Monrreal
993c897b55
Merge pull request #7774 from yossi2le/sd-spif-to-mbed-os
...
Add default block device support (SD, SPIF and FLASHIAP)
2018-09-01 11:15:13 -05:00
Yossi Levy
ed8e170d15
Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure.
2018-08-29 12:01:11 +03:00
Russ Butler
4ff5ea40dd
Revert uVisor changes for K64F
...
Revert the changes made in the commit:
1c2a7d8842
Added the commit: Access MCG and SIM through secure access
2018-08-25 20:40:31 -05:00
Oren Cohen
787317b7eb
Remove uVisor from mbed-os
2018-08-22 16:36:59 +03:00
Oren Cohen
795248bcaf
Restore lp_ticker_free to previous implementation when running with uvisor
...
This is a temporary patch until uvisor is removed
2018-08-20 13:20:45 +03:00
Cruz Monrreal
8e25d2d905
Merge pull request #7669 from SigmaDeltaTechnologiesInc/master
...
SDT64, 8195, 32620, 32625, 51822, 52832B added to targets
2018-08-17 11:10:12 -05:00
MateuszM
b5eb59091a
fix formatting
2018-08-08 16:53:21 +02:00
MateuszM
b5d23c3f26
Fix issue #5119 , changed pwmout_api.
...
The period of pwm we could get was limited to 69.9 ms, because prescaler value was set once only during initialization. base->mod is a 16 bit register, to get longer period we have to slow down the clk.
2018-08-07 09:36:32 +02:00
Jiwon Yune
04fc7aa36f
Generic pin names added
2018-08-06 14:50:19 +01:00
Przemyslaw Stekiel
ace821017f
Add implementation of ticker_free() function to CI boards.
...
This PR provides implementation of ticker_free() function for the following boards:
ARCH_PRO
EV_COG_AD3029LZ
EV_COG_AD4050LZ
K22F
K64F
K82F
KW24D
KW41Z
LPC546XX
NRF51_DK
NRF52_DK
NUCLEO_F207ZG
NUCLEO_F401RE
NUCLEO_F429ZI
NUCLEO_F746ZG
REALTEK_RTL8195AM
2018-08-02 09:48:10 +02:00
Jiwon Yune
e5877910d2
SDT64B added
2018-08-01 18:13:33 +09:00
Przemyslaw Stekiel
c0ee843d63
Add lp/us ticker_free() functions stub.
...
This patch adds only empty stubs of `us_ticker_free()` and `lp_ticker_free()` for all boards where these functions are not implemented.
2018-07-25 08:58:38 +02:00
Cruz Monrreal
e8005f6d72
Merge pull request #7206 from mikaleppanen/k64f_async_powerup
...
K64f non-blocking powerup
2018-06-19 21:49:37 -05:00
David Saada
714d025f6c
Rename text region in ARM linker file for a few NXP CPUs
2018-06-18 17:32:01 +03:00
Mika Leppänen
b7627e823b
K64F, K66F: Update the ENET PHY driver
...
PHY init and autonegotation is split into own functions.
2018-06-15 10:41:31 +03:00
Przemyslaw Stekiel
a499341b2d
K64F CRC driver: Fix coding style
2018-06-07 15:12:56 +02:00
Przemyslaw Stekiel
ee6a07e7ab
K64F CRC driver: Fix handling of CRC final XOR value
...
According to the test results final XOR was incorrectly handled by the CRC driver.
This patch fixes this issue.
2018-06-07 15:06:36 +02:00
Przemyslaw Stekiel
da557a58a6
K64F CRC driver: hal_crc_is_supported() - fix condition which validates CRC width
...
It looks like the intention was to return false when CRC width is different than: {16, 32} bits.
2018-06-07 15:06:36 +02:00
Bartek Szatkowski
a305d849a8
Rename LOWPOWERTIMER to LPTICKER
2018-05-25 13:06:56 -05:00
Przemyslaw Stekiel
1e46895f75
K64F: adapt RTC drivers to the new standards (is_enabled function)
...
Make rtc_isenabled() to return 1 if the RTC is initialized and the time has been set; 0 otherwise.
Disable clock gate on exit from this function if RTC was initialized.
2018-05-25 12:52:40 -05:00
Przemyslaw Stekiel
377db73100
K64F: adapt RTC drivers to the new standards (free function)
...
rtc_free() does not stop the RTC from counting. Only disables clock gate since processor no longer needs to read RTC registers.
2018-05-25 12:52:40 -05:00
Russ Butler
a0a9626420
Keep rtc code if low power timer is used
...
Keep the RTC code if either DEVICE_RTC or DEVICE_LOWPOWERTIMER is
defined on the devices which use the RTC for both the rtc api and the
low power timer api. This allows DEVICE_LOWPOWERTIMER to be enabled while
DEVICE_RTC is turned off.
2018-05-25 12:37:19 -05:00
Mahesh Mahadevan
d46af14bb6
KL27Z: Update usticker to use TPM instead of LPTMR for ticker
...
This will free up the LPTMR to be used as lpticker
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-05-25 12:33:41 -05:00
Mahesh Mahadevan
a21d21e700
KL43Z: Update usticker to use TPM instead of LPTMR for ticker
...
This will free up the LPTMR to be used as lpticker
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-05-25 12:33:41 -05:00
Mahesh Mahadevan
62254c2bae
KW41Z: Update usticker to use TPM instead of LPTMR for ticker
...
This will free up the LPTMR to be used as lpticker
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-05-25 12:33:41 -05:00
Mahesh Mahadevan
4eb8841dc1
MCUXpresso: Update the usticker implementation
...
Enabled usticker for K22F, K24F, K66F, K82F, KL82Z, KW24D
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-05-25 12:32:38 -05:00
Mahesh Mahadevan
0d0321a7f0
MCUXpresso: Update Low Power Ticker
...
1. Enable LPTICKER for K22, K24, K64, K66, K82, KL82F, KW24D
2. Change the implementation to only use the LPTMR which reduces
the amount of interrupts generated which is required for tickless
operation
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-05-25 12:32:38 -05:00
Bartek Szatkowski
6e9f04bf2f
Rename DEVICE_LOWPOWERTIMER to DEVICE_LPTICKER
...
That's to match DEVICE_USTICKER.
2018-05-25 12:20:09 -05:00
Przemyslaw Stekiel
39852f772c
Adapt K64F lp ticker driver to the new standards.
...
Low power ticker time counter is created based on RTC which is driven by 32KHz clock. Additional low power timer is used to generate interrupts.
We need to adapt driver to operate on ticks instead of us.
Perform the following updates:
- provide lp ticker configuration: 32KHz/32 bit counter.
- lp_ticker_init() routine disables lp ticker interrupts .
- adapt the driver functions to operate on ticks instead us.
- adapt comments.
- add us_ticker_free() routine.
2018-05-25 12:18:55 -05:00
Przemyslaw Stekiel
c4bd9d125b
Adapt K64F us ticker driver to the new standards.
...
- provide ticker configuration: 1MHz/32 bit counter.
- us_ticker_init() routine disables interrupts.
- adapt comments.
2018-05-25 12:18:55 -05:00
Steven Cartmell
738d92a79f
HAL CRC: K64F: Set output width based on input width, not the polynomial
2018-05-24 17:51:49 +01:00
Steven Cartmell
1da75e5e85
HAL CRC: Fix code to match coding conventions
2018-05-24 17:51:49 +01:00
Steven Cartmell
f006002dec
Add support for final_xor for K64F Hardware CRC
2018-05-24 17:51:49 +01:00
Steven Cartmell
8e14b5977b
HAL CRC: Add bit width parameter to crc_config_t
2018-05-24 17:51:49 +01:00