TWR-KV58F220M
-
Core
Cortex-M7
-
Device
MKV58F1M0xxx24
-
CMSIS Pack
TWR-KV58F220M_BSP
-
ftm_quad_decoder
Keil Studio, µVision AC6This demo describes the usage of Quad Decoder feature in FTM module, which can be used to count the position of decoder.An external decoder is used to generate the PHA and PHB's signal. These two signals are feed to the FTM pins with Quad Decoder feature (FTMx_QD_PHA and FTMx_QD_PHB). Then, the counter value and direction would be displayed in terminal window predically.
Download Pack -
ftm_quad_decoder_peripheral
Keil Studio, µVision AC6This demo describes the usage of Quad Decoder feature in FTM module, which can be used to count the position of decoder.An external decoder is used to generate the PHA and PHB's signal. These two signals are feed to the FTM pins with Quad Decoder feature (FTMx_QD_PHA and FTMx_QD_PHB). Then, the counter value and direction would be displayed in terminal window predically. You can open the mex file with MCUXpresso Config Tool to do further configuration of pin, clock and peripheral.
Download Pack -
ftm_simple_pwm
Keil Studio, µVision AC6The FTM project is a simple demonstration program of the SDK FTM driver. It sets up the FTMhardware block to output a center-aligned PWM signal. The PWM dutycycle is periodically updated.On boards that have an LED connected to the FTM pins, the user will see a change in LED brightness.
Download Pack -
ftm_timer
Keil Studio, µVision AC6The FTM project is a simple demonstration program of the SDK FTM driver to use FTM as a timer.It sets up the FTM hardware block to trigger an interrupt every 1 millisecond.When the FTM interrupt is triggered a message a printed on the UART terminal.
Download Pack -
gpio_input_interrupt
Keil Studio, µVision AC6The GPIO Example project is a demonstration program that uses the KSDK software to manipulate the general-purposeoutputs.The example is supported by the set, clear, and toggle write-only registers for each port output data register. The example uses the software button to control/toggle the LED.
Download Pack -
gpio_led_output
Keil Studio, µVision AC6The GPIO Example project is a demonstration program that uses the KSDK software to manipulate the general-purposeoutputs.The example is supported by the set, clear, and toggle write-only registers for each port output data register. The example take turns to shine the LED.
Download Pack -
hello_world
Keil Studio, µVision AC6The Hello World demo application provides a sanity check for the new SDK build environments and board bring up. The HelloWorld demo prints the "Hello World" string to the terminal using the SDK UART drivers. The purpose of this demo is toshow how to use the UART, and to provide a simple project for debugging and further development.
Download Pack -
hsadc_dual_parallel_conversion
Keil Studio, µVision AC6The hsadc_dual_parallel_conversion example shows how to use the both converter parallel at the same time with HSADC driver.In this example, the HSADC is configured as "kHSADC_DualConverterWorkAsTriggeredParallel" (default) work mode. User should indicate 4 channel pairs to provide the differential voltage signal or 4 channels to provide the single ended voltage signal as the inputs for HSADC sample slots. If user select channel 6 and 7 of converter A or converter B to sample for specific sample slot, the sub mux channel number of channel 6 and channel 7 also should be configured. The sample slots would be assembled into the two conversion sequence for each converter. In "kHSADC_DualConverterWorkAsTriggeredParallel" mode, the converter A converts sample 0 and sample 1 (sample 0-7 are available) and the converter B converts sample 8 and sample 9 (sample 8-15 are available). As the "simultaneous mode" is enabled by default, the converter A's control logic can operate both the two converters to start and stop together.When running the project, typing any key into debug console would trigger the conversion. And then, the conversion result data of the four sample slots (Sample 0, 1, 8, 9) would be displayed in the terminal.
Download Pack -
hsadc_dual_seperate_conversion
Keil Studio, µVision AC6The hsadc_dual_seperate_conversion example shows how to use each converter separately with HSADC driver.In this example, the HSADC is configured as "kHSADC_DualConverterWorkAsTriggeredParallel" work mode. User should indicate 4 channel pairs to provide the differential voltage signal or 4 channels to provide the single ended voltage signal as the inputs for HSADC sample slots. If user select channel 6 and 7 of converter A or converter B to sample for specific sample slot, the sub mux channel number of channel 6 and channel 7 also should be configured. The sample slots would be assembled into the two short conversion sequences (can include 8 sample slots as most). Also the "simultaneous mode" is disabled, so that each converter can be operated by their own control logic separately.When running the project, typing any key into debug console would trigger the conversion. And then, the conversion result data of the converter A's sample slots (Sample 0, 1) would be displayed in the terminal. Type the keyboard again to trigger the converter B, the conversion result data of the converter B's two sample slots (Sample 8, 9) would be displayed.
Download Pack -
hsadc_sequential_conversion
Keil Studio, µVision AC6The hsadc_sequential_conversion example shows how to use a long conversion sequence (can include as many as all the 16 sample slots) with HSADC driver.In this example, the HSADC is configured as "kHSADC_DualConverterWorkAsTriggeredSequential" work mode. User should indicate 4 channel pairs to provide the differential voltage signal or 4 channels to provide the single ended voltage signal as the inputs for HSADC sample slots. If user select channel 6 and 7 of converter A or converter B as differential analog input pair for specific sample slot, the sub mux channel number of channel 6 and channel 7 should be configured to be same. If user select channel 6 or 7 of converter A or converter B as single ended analog input for specific sample slot, the sub mux channel number of channel 6 and channel 7 can be different. The sample slots would be assembled into a long conversion sequence.In "kHSADC_DualConverterWorkAsTriggeredSequential" mode, all the sample slots are organized as a long conversion sequence. The converter A's control logic would be used to operate this long conversion sequence. It can start and stop the sequence.When running the project, typing any key into debug console would trigger the conversion. And then, the conversion result data of the four sample slots (Sample 0, 1, 2, 3) would be displayed in the terminal.
Download Pack