Posted on October 14, 2015 at 21:12
Hi All,
I'm facing a strange problem with my STM32F407(Discovery board).
While reading from SPI Data Register, sometimes the last bit is incorrect, which means result from my observation with logic analy...
Posted on December 02, 2014 at 22:56Hi All,I try to amplify audio obtained in mic(mp45dt02) with amp(CS43L22 ) and hear the voice on headphones. The way to do this is not with STM32F4, but directly via PDM_OUT port. This is possible as mic output is...
Posted on November 06, 2015 at 14:27In general, Your previous software method works, but it is not recommended in any kind of applications. There is dedicated core for SPI communication, which You incorrectly configured.The easiest way is to compare...
Posted on November 02, 2015 at 16:06When NSS is software, as configured in this case, when is it toggled to activate slave? What ADC You use + waveform from logic analyzer :)
Posted on November 02, 2015 at 14:21What ADC are You going to connect?Do You have some logs from logic analyzer if there is clock, chip select active?If hardware, why You configure this: SPI_InitStruct.SPI_NSS = SPI_NSS_Soft?
Posted on October 22, 2015 at 22:18Hi,You use dma2stream3, channel 3 for transmission on SPI1?You use normal mode, upon transfer is complete, DMA stops, maybe You need to enable it again.You can check this using interrupt when transfer is complete a...
Posted on October 22, 2015 at 21:45Hi, at least for STM32F407 on Discovery board it's possible.Just configure DMA to service 8 data, 32-bit each. In normal mode, configure DMA interrupt when transfer is complete, clear interrupt flagand enable DMA a...