Hello.
I want to use opamp's integrated in STM32F303 MCU. I know ADC driver was tempt to be portable and generic as much as possible, to be used with many different MCU's but is there any extended futures in ADC or separated driver for integrated opamp's? Also any example code of integrated opamp's usage with ADC driver will be helpful.
Does ChibiOS have drivers for integrated operational amplifiers?
Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Does ChibiOS have drivers for integrated operational amplifiers?
Hi,
Never used those but there is not much to do for a driver, the configuration is trivial.
Giovanni
Never used those but there is not much to do for a driver, the configuration is trivial.
Giovanni
- alex31
- Posts: 379
- Joined: Fri May 25, 2012 10:23 am
- Location: toulouse, france
- Has thanked: 38 times
- Been thanked: 62 times
- Contact:
Re: Does ChibiOS have drivers for integrated operational amplifiers?
Hello,
You can find here an implementation for some F3 devices that i had done some time ago.
https://github.com/alex31/chibios_enac_various_common/tree/master/hal
if follows chibios organisation with an HAL api, and lld files for the F3.
Giovani is right, no big deal, only sensible part is calibration.
It was to implement an ESC, but we have found shorter after a Texas chip that was doing the job better than ST integrated opamp, so this implementation was not used a lot.
Alexandre
You can find here an implementation for some F3 devices that i had done some time ago.
https://github.com/alex31/chibios_enac_various_common/tree/master/hal
if follows chibios organisation with an HAL api, and lld files for the F3.
Giovani is right, no big deal, only sensible part is calibration.
It was to implement an ESC, but we have found shorter after a Texas chip that was doing the job better than ST integrated opamp, so this implementation was not used a lot.
Alexandre
-
- Posts: 483
- Joined: Sat Nov 19, 2011 6:47 pm
- Location: Le Mans, France
- Has thanked: 21 times
- Been thanked: 30 times
Re: Does ChibiOS have drivers for integrated operational amplifiers?
Alex, I've added your opamp calibration code in the contrib repo. You name was added the the header for copyright as well.
Who is online
Users browsing this forum: No registered users and 7 guests