STM32F42X ADC and ART settings

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
Rick Burnett
Posts: 150
Joined: Tue Jan 08, 2013 2:20 pm

STM32F42X ADC and ART settings

Post by Rick Burnett »

I've been reading through the ST application notes on getting the ADC to be more accurate.

I ran across a section talking about configuring ART to use data and instruction cache, but disabling prefetch. I've been trying to figure out how this relates to settings in ChibiOS but not really finding anything.

Anyone have some pointers on this? Is ART enabled in ChibiOS by default?

Rick
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: STM32F42X ADC and ART settings

Post by Giovanni »

Hi,

ART is enabled by default, all settings are meant to be in their optimal state. The initialization code is in hal_lld.c/.h.

Giovanni
Rick Burnett
Posts: 150
Joined: Tue Jan 08, 2013 2:20 pm

Re: STM32F42X ADC and ART settings

Post by Rick Burnett »

Excellent, thanks for letting me know.

I need to shut off the prefetch to test performance without it AND see how the ADC behaves. ST recommend shutting off the prefetch portion only if you need to get better ADC accuracy.
Post Reply