Skip to content

AVR128DB48: OPAMP0 output (PD2) not driven in Voltage_follower example (DxCore 1.6.x) #627

@agysft

Description

@agysft

I tested the NEW OPAMP Voltage_follower example on AVR128DB48 with DxCore 1.6.2.
https://github.com/SpenceKonde/DxCore/blob/master/megaavr/libraries/Opamp/examples/Voltage_follower/Voltage_follower.ino

Observed behavior

  • DAC voltage is output on PD6.
  • No voltage is observed on PD2 (OPAMP0 output pin).
  • In DxCore 1.6.2, PD2 remains undriven.

Expected behavior

  • PD2 (OPAMP0 output) should follow the DAC voltage (voltage follower).

Regression

  • DxCore 1.5.11: PD2 outputs the expected voltage.
  • DxCore 1.6.2: PD2 is not driven.

Steps to reproduce

  1. Use AVR128DB48
  2. Open the example above
  3. Compile and upload with DxCore 1.6.2
  4. Measure PD6 and PD2 (e.g., with a multimeter, oscilloscope, or using the internal ADC)

Note: No external circuitry is connected; using the example as-is.

Result

  • PD6: DAC output OK
  • PD2: no output (remains low or floating)

This may indicate a regression in DxCore 1.6.2.

Environment:

  • MCU: AVR128DB48
  • Bootloader: DB Optiboot (written with DxCore 1.5.11)
  • Clock: 24MHz internal
  • Arduino IDE: 2.3.8 / 1.8.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions