AnsweredAssumed Answered

stm32f407 DIS with external ADC(MCP3201)

Question asked by m.vinothraj on Aug 24, 2012
Latest reply on Aug 30, 2012 by m.vinothraj
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 at SendChar('b'); .the control is going to while (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

Attachments

Outcomes