Associate III
August 24, 2012
Question
stm32f407 DIS with external ADC(MCP3201)
- August 24, 2012
- 8 replies
- 2989 views
Posted on August 24, 2012 at 17:25
Hi,
i try to read the value from external adc by stm32f407.but i could not get the result from adc.MSP3201 is connected STM32f407 by SPI.MCP 3201does not have MOSI pin.the program runs good atSendChar('b')
; .the control is going towhile (SPI_I2S_GetFlagStatus(SPI2, SPI_I2S_FLAG_RXNE) == RESET); repeatedly.
what i did mistakenly? did i correctly configure the SPI2?i attached my programs.i need any suggestion from you.i have attached hiper terminal result also.please check it out #adc