TWR-KE18F
-
Core
Cortex-M4
-
Device
MKE18F512xxx16
-
CMSIS Pack
TWR-KE18F_BSP
-
cmsis_lpuart_edma_transfer
Keil Studio, µVision AC6CMSIS-Driver defines generic peripheral driver interfaces for middleware making it reusable across a wide range of supported microcontroller devices. The API connects microcontroller peripherals with middleware that implements for example communication stacks, file systems, or graphic user interfaces. More information and usage methord please refer to http://www.keil.com/pack/doc/cmsis/Driver/html/index.html.The cmsis_uart_edma_transfer example shows how to use uart cmsis driver with EDMA:In this example, one uart instance connect to PC through uart, the board willsend back all characters that PC send to the board.Note: The example echo every 8 characters, so input 8 characters every time.
Download Pack -
cmsis_lpuart_interrupt_transfer
Keil Studio, µVision AC6CMSIS-Driver defines generic peripheral driver interfaces for middleware making it reusable across a wide range of supported microcontroller devices. The API connects microcontroller peripherals with middleware that implements for example communication stacks, file systems, or graphic user interfaces. More information and usage methord please refer to http://www.keil.com/pack/doc/cmsis/Driver/html/index.html.The cmsis_uart_interrupt_transfer example shows how to use uart cmsis driver in interrupt way:In this example, one uart instance connect to PC through uart, the board willsend back all characters that PC send to the board.Note: The example echo every 8 characters, so input 8 characters every time.
Download Pack -
crc
Keil Studio, µVision AC6The CRC Example project is a demonstration program that uses the KSDK software to generate checksumsfor an ASCII string. Several CRC protocols are implemented using the CRC driver API.
Download Pack -
dac32_adc12
Keil Studio, µVision AC6The dac32_adc12 example shows a simple case of using DAC32 and ADC12. The DAC32 module would output analog signal, then ADC12 module would read this value of this signal and output the voltage value.User needs to make sure that DAC's output and ADC's input are stable.Notice:In few cases of this demo,DAC's input and ADC's output might not match,since the voltage signalis unstable.User has to wait the DAC a few while to make the result as expected in application if necessary.
Download Pack -
dac32_basic
Keil Studio, µVision AC6The dac32_basic example shows how to use DAC32 module simply as the general DAC converter.When the DAC32's buffer feature is not enabled, the first item of the buffer is used as the DAC output data register.The converter would always output the value of the first item. In this example, it gets the value from terminal,outputs the DAC output voltage through DAC output pin.
Download Pack -
dac32_buffer_interrupt
Keil Studio, µVision AC6The dac32_buffer_interrupt example shows how to use DAC32 buffer with interrupts.When the DAC32's buffer feature is enabled, user can benefit from the automation of updating DAC output by hardware/software trigger.As we know, the DAC converter outputs the value of item pointed by current read pointer. Once the buffer is triggered by softwareor hardware, the buffer's read pointer would move automatically as the work mode is set, like normal (cycle) mode, swing mode,one-time-scan mode or FIFO mode.In this example, it captures the user's type-in operation from terminal and does the software trigger to the buffer.The terminal would also display the log that shows the current buffer pointer's position with buffer events.
Download Pack -
dac32_continuous_pdb_edma
Keil Studio, µVision AC6The demo shows how to use the PDB to generate a DAC32 trigger and use the DMA to transfer data into DAC32 buffer.In this example, DAC32 is first set to normal buffer mode. PDB is as DAC32 hardware trigger source and DMA would work when DAC32 read pointer is zero. When run the example, the DAC32 is triggered by PDB and the read pointer increases by one,every time the trigger occurs. When the read pointer reaches the upper limit, it goes to zero directly in the next trigger event.While read pointer goes to zero, DMA request will be triggered and transfer data into DAC32 buffer. The user should probethe DAC output with a oscilloscope to see the Half-sine signal.
Download Pack -
ecompass
Keil Studio, µVision AC6The E-Compass demo application demonstrates the use of the FXOS8700 sensor. The tilt-compensated algorithm calculatesall three angles (pitch, roll, and yaw or compass heading).
Download Pack -
ecompass_peripheral
Keil Studio, µVision AC6The E-Compass demo application demonstrates the use of the FXOS8700 sensor. The tilt-compensated algorithm calculatesall three angles (pitch, roll, and yaw or compass heading). You can open the mex file with MCUXpresso Config Tool to do further configuration of pin, clock and peripheral.
Download Pack -
edma_memory_to_memory
Keil Studio, µVision AC6The EDMA memory to memory example is a simple demonstration program that uses the SDK software.It excuates one shot transfer from source buffer to destination buffer using the SDK EDMA drivers.The purpose of this example is to show how to use the EDMA and to provide a simple example fordebugging and further development.
Download Pack