Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed_blinky-bmd-200 bmd-200_accel_demo firstRig
Fork of mbed-src by
Revision 537:589848968e4d, committed 2015-05-04
- Comitter:
- mbed_official
- Date:
- Mon May 04 08:30:08 2015 +0100
- Parent:
- 536:fe11edbda85c
- Child:
- 538:6cdb58309977
- Commit message:
- Synchronized with git revision ffaae4bf4b40d730019091feaba2966aedce31fa
Full URL: https://github.com/mbedmicro/mbed/commit/ffaae4bf4b40d730019091feaba2966aedce31fa/
K64F - Removed configuration of MII pins
Changed in this revision
| targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/spi_api.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/spi_api.c Thu Apr 30 13:45:11 2015 +0100
+++ b/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/spi_api.c Mon May 04 08:30:08 2015 +0100
@@ -91,6 +91,7 @@
CLOCK_SYS_GetFreq(kBusClock, &busClock);
uint32_t spi_address[] = SPI_BASE_ADDRS;
DSPI_HAL_SetBaudRate(spi_address[obj->instance], kDspiCtar0, (uint32_t)hz, busClock);
+ DSPI_HAL_CalculateDelay(spi_address[obj->instance], kDspiCtar0, kDspiLastSckToPcs, busClock, 500000000 / hz); //Half clock period delay after SPI transfer
}
static inline int spi_writeable(spi_t * obj) {
