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, tfAteba
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
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
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