does anybody have experience and/or know a useful link about porting the no-OS driver for the AD7176-2 (the evaluation board) to an ARM-based environment? Using STM32F4.
Thanks in advance.
The AD7176 has a SPI interface so you have only to implement the SPI_Init(), SPI_Read() and SPI_Write() functions of the communication driver for the STM32F4 processor. The driver for the ADC itself will work without modifications.
All right, so just to confirm for the slow ones here: in the init fct., the initial clock polarity is to be set to low, the CPHA bit to falling edge, and MSB first?
This is the configuration of the SPI interface:
- MSB first;
- Idle state for clock is a high level; active state is a low level;
- Serial output data changes on transition from idle clock state to active clock state.
Retrieving data ...