ADC support for Olimex SAM7EX256 board
Posted: Sun Feb 24, 2013 8:59 am
Hi there,
I'm quite new with ChibiOS, but I found it great. The board that I'm using is an Olimex SAM7EX256 and as the Feature Matrix shows it is not fully supported yet... however I realized that some new HAL extension was commited a several days ago to the devel project:
https://github.com/ChibiOS-Upstream/ChibiOS-RT/tree/master/os/hal/platforms/AT91SAM7
My question is that is this already usable? Because it seems to be complete except the sampling rate and ADC input channel macros. Unfortunately I was not able to fit the STM32Fx demo projects to the SAM7EX256 board. Could anybody show me a sample how to configure the ADC HAL in order to get e.g. Temperature and/or TRIM potentiometer values?
I'm quite new with ChibiOS, but I found it great. The board that I'm using is an Olimex SAM7EX256 and as the Feature Matrix shows it is not fully supported yet... however I realized that some new HAL extension was commited a several days ago to the devel project:
https://github.com/ChibiOS-Upstream/ChibiOS-RT/tree/master/os/hal/platforms/AT91SAM7
My question is that is this already usable? Because it seems to be complete except the sampling rate and ADC input channel macros. Unfortunately I was not able to fit the STM32Fx demo projects to the SAM7EX256 board. Could anybody show me a sample how to configure the ADC HAL in order to get e.g. Temperature and/or TRIM potentiometer values?