I am using :STM32CubeMXKeil mdk V5what is configured and working correctly :SDCard Fatfs using spi protocolI2c to control cs43l22.PD4 RESET of audio coded cs43l22.what is needed :the right configuration of I2s and DMA and how to send PCM data from SD...
Posted on January 16, 2018 at 13:03 Hi , I am generating usart2 in STM43F407 Discovery using stmcubemx and keil where it does not work and the configuration in stmcube is as follows : > rcc - crystal oscillator - HSEPLL Source > USART2 - async...
hi Clive,you are right about your point of view.Thanks for your help and I were able to figure out the issue which is :generated FatFS library uses DMASo we need to configure DMA for both Read and write (with automatic generated configuration).once w...
yes I tried examples and worked and I need code to be generated from stm32cubemx to be integrated with my project because examples are different implementation
Posted on January 16, 2018 at 20:23Yes, we can use HSI (highh speed internal clock) to generate uart with low error. But based on STM32 Reference Manual, HSI Should be used only if there HSE Failure. HSI as backup for HSE
Posted on January 16, 2018 at 18:10 Thanks Mr Neil.Andrewfor your help as it was my mistake and once I changed the HSE to 8MHZ it worked and I am happy regarding our conversation due to the knowledge I got
Posted on January 16, 2018 at 18:06 Thanks Mr Golab.BogdanI solved it , where it was my mistake as I set HSE (High speed external clock) as either 25 or 16 MHZ as it should be 8MHZ , So your advices regarding uart helped me and gave me great ideas...