Hi Thomas,
On 9/22/20, Thomas Axelsson wrote:
> Hi,
>
> I have now created a PR for a simple IMXRT ADC driver. (
> https://github.com/apache/incubator-nuttx/pull/1868 )
>
Nice work, thank you!
> The names of register bit values for ADC_CFG:ADSTS do not match between
> IMXRT 1020 and 1050/1060.
@nuttx.apache.org
Subject: RE: i.MX RT 1060 ADC
Thank you, David,
It's good to have a working example.
Regarding the existing ADC code, I realized that I had only diffed over the
various LPCxxx drivers. My current starting point is the LPC driver with things
picked from the STM32. The LPC driv
drane
Sent: den 15 september 2020 12:15
To: dev@nuttx.apache.org
Subject: RE: i.MX RT 1060 ADC
Hi Thomas,
If you structure the driver like any of the other ADC drivers in tree you
should be able to reference px4_arch_adc_init and px4_arch_adc_sample
from
https://github.com/PX4/Firmware/blob/m
Hi Thomas,
If you structure the driver like any of the other ADC drivers in tree you
should be able to reference px4_arch_adc_init and px4_arch_adc_sample
from
https://github.com/PX4/Firmware/blob/master/platforms/nuttx/src/px4/nxp/im
xrt/adc/adc.cpp to get the required logic.
To fill in the mea