I have been looking into a problem with using DMA transfers with the UART on a FRDM-KL26Z development board. I have replicated the problem using one of the driver sample codes for the Kinetis SDK v2.
The example code is located in the following directory of the KSDK v2 folder:
SDK_2.0_FRDM-KL26Z\boards\frdmkl26z\driver_examples\uart\dma_transfer
This code builds and runs just fine with the default baud rate of 115,200 bps. However changing the baud rate to the next highest standard value of 230,400 bps results in a hard fault when attempting to enable the UART Tx DMA. I have traced the hard fault back to where a KSDK library function (UART_EnableTxDMA() in fsl_uart.h) attempts to set the Transmitter DMA Select bit "TDMAS" in the UART1_C4 register.
Is this expected behaviour ? My reading of the KL26Z reference manual and other information suggests UART DMA transfers should be capable of much higher speeds.