7.1 Demo Setup

The following steps explain the procedure for setting up the hardware for Three-Phase Sequence Detection using the AVR128DA48 microcontroller.

  1. Insert the AVR128DA48 Curiosity Nano board in the Curiosity Nano slot of Curiosity Nano base for Click boards.
    Note: For proper orientation while inserting the Curiosity Nano board, refer to the marking on Curiosity Nano base board.
  2. Insert three waveform clicks in the three mikroBUS slots (slot 1, slot 2, and slot 3) available on Curiosity nano base board.
  3. Connect SMA output of the waveform clicks to the respective microcontroller I/O pins using SMA connectors, as shown in the Table 7-1.
  4. Disconnect the waveform click 2 OEN pin from the mikroBUS slot2 PWM2 pin.
  5. Disconnect the waveform click 3 CS pin from the mikroBUS slot3 CS3 pin.
  6. Connect the PWM2 pin of the mikroBUS slot2 to pin PB5, and the CS3 pin of the mikroBUS slot3 to pin PB4.
  7. Connect the Curiosity Nano board to a host computer (PC) using the standard micro B USB cable.
  8. Refer to the Firmware section for firmware and hex file.
  9. To program application firmware on the microcontroller, refer to the AVR128DA48 Curiosity NanoHardware User Guide.
Table 7-1. Connection Between the mikroBUS Slots and the Microcontroller
Serial nomikroBUS pinMicrocontroller pin
1Waveform Click 1 output signal connector (SMA)PD6, PE3
2Waveform Click 2 output signal connector (SMA)PD5, PD1
3Waveform Click 3 output signal connector (SMA)PD4
4mikroBUS slot 2 PWM2 pinPB5
5mikroBUS slot 3 CS3 pinPB4

Figure 7-1 shows the hardware setup required for the three-phase sequence detector demonstration.

Figure 7-1. Demonstration Setup using the AVR128DA48 Curiosity NANO Board