Arm Keil MDK v6 Essential and Professional editions are now available to buy as monthly or annual subscriptions from our Developer Tools store. Visit the store to get access to the tools suite today!

  1. Boards
  2. TWR-KV58F220M

TWR-KV58F220M

NXP
TWR-KV58F220M
VSCode with the Arm Keil Studio extension

Accelerate your application development with example projects

Import your chosen project to Keil Studio for VS Code or Keil Studio Cloud, or download for use in Keil uVision.

Learn more about Keil tools
  • Keil Studio, µVision AC6

    This 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
  • Keil Studio, µVision AC6

    This 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
  • Keil Studio, µVision AC6

    The 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
  • Keil Studio, µVision AC6

    The 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
  • Keil Studio, µVision AC6

    The 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
  • Keil Studio, µVision AC6

    The 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
  • Keil Studio, µVision AC6

    The 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 AC6

    The 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 AC6

    The 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
  • Keil Studio, µVision AC6

    The 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