7.1 Demo Setup
The following steps explain the procedure for setting up the hardware for Three-Phase Sequence Detection using the AVR128DA48 microcontroller.
- 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.
- Insert three waveform clicks in the three mikroBUS slots (slot 1, slot 2, and slot 3) available on Curiosity nano base board.
- Connect SMA output of the waveform clicks to the respective microcontroller I/O pins using SMA connectors, as shown in the Table 7-1.
- Disconnect the waveform click 2 OEN pin from the mikroBUS slot2 PWM2 pin.
- Disconnect the waveform click 3 CS pin from the mikroBUS slot3 CS3 pin.
- Connect the PWM2 pin of the mikroBUS slot2 to pin PB5, and the CS3 pin of the mikroBUS slot3 to pin PB4.
- Connect the Curiosity Nano board to a host computer (PC) using the standard micro B USB cable.
- Refer to the Firmware section for firmware and hex file.
- To program application firmware on the microcontroller, refer to the AVR128DA48 Curiosity NanoHardware User Guide.
Serial no | mikroBUS pin | Microcontroller pin |
---|---|---|
1 | Waveform Click 1 output signal connector (SMA) | PD6, PE3 |
2 | Waveform Click 2 output signal connector (SMA) | PD5, PD1 |
3 | Waveform Click 3 output signal connector (SMA) | PD4 |
4 | mikroBUS slot 2 PWM2 pin | PB5 |
5 | mikroBUS slot 3 CS3 pin | PB4 |
Figure 7-1 shows the hardware setup required for the three-phase sequence detector demonstration.