arduino / ArduinoCore-renesas

MIT License
110 stars 74 forks source link

OPAMP example? #23

Closed metanav closed 1 year ago

metanav commented 1 year ago

How can we configure and use the OPAMP? I could not find any code related to the OPAMP peripheral in the core. Only there are a few defines in the variants directory.

maxgerhardt commented 1 year ago

This Arduino core was compiled without the "OPAMP" component of the underlying Renesas FSP framework. However, you

  1. Can still add those missing files (https://github.com/renesas/fsp/tree/v4.0.0)
  2. Use direct writes to the OPAMP peripheral registers

I just copied the missing files next to the sketch and created a working OPAMP example for the Uno R4 WiFi, whose OPAMP pins are exposed on the analog pins A1 (Plus), A2 (Minus) and A3 (Output). I successfully tested a simple voltage follower example.

See https://github.com/maxgerhardt/uno-r4-opamp

Fashion-Corp commented 1 year ago

Dear Alexander Entinger et al,

I am a software development professional with 41 calendar-years of experience, hereof somem 15 years in embedded and microprocessors, ranging since the Z80, and up till todays date.

I am CTO in SkyFi Energy Aps of Denmark and CEO of Rational Intuitive Ltd. of Kenya. My question is:

I am heading a team of quite young developers with maybe 2 to 5 years of experience, mainly on the Web/Fullstack side of it.

We have decided on developing a product which will be using the Arduino UNO R4, due to its versatility, Bluetooth, WiFi, CAN-bus, RTC etc., and I would therefore like to understand how I can contribute from time to time on the development of the software residing on GitHub.

Sincerely Yours, David Svarrer

On Fri, Sep 15, 2023 at 11:28 AM Alexander Entinger < @.***> wrote:

Closed #23 https://github.com/arduino/ArduinoCore-renesas/issues/23 as completed via #97 https://github.com/arduino/ArduinoCore-renesas/pull/97 .

— Reply to this email directly, view it on GitHub https://github.com/arduino/ArduinoCore-renesas/issues/23#event-10380632700, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUI6JVXKVD7FAA7FJEUN3ZDX2QGSTANCNFSM6AAAAAAZ3EAGV4 . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>