This is the documentation for the latest (main) development branch of mcuxpresso sdk. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

Hardware requirements

  • Mini/micro USB cable

  • TWR-KM34Z75M board

  • Personal Computer

Board settings

On TWR-KM34Z75M board: Channel 1:

  • Use external power supply to input DC analog signals to AFE channel 2(J31-pin10 & J31-pin12) and channel 3(J31-pin14 & J31-pin16), AFE sample can support both single-ended or differential mode;

  • To monitor frequency, use a signal generator to input the AC sine signal to the AFE channel 2(J31-pin10 & J31-pin12).

Prepare the Demo

  1. Connect a USB cable between the PC host and the OpenSDA USB port on the board.

  2. Open a serial terminal with these settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the example.

Running the demo

These instructions are displayed/shown on the terminal window:

AFE QTIMER DEMO.

First Channel value: 8388607

Second Channel value: 90678

Frequency: 55
Frequency: 55
Frequency: 55
Frequency: 55
Frequency: 55
Frequency: 54
Frequency: 55
Frequency: 55
Frequency: 55

AFE QTIMER DEMO FINISH.