2018-10-31 11:05 PM
hello!
as I want to implement TCP/IP and Fatfs based application I have to use HAL library which I'm not very comfortable with. so for other peripherals like USART, SPI and I2C i want to use STD peripheral library which is much easier to understand and implement. or anyone can suggest me an example or reference code using STD peripheral library with TCP/IP stack for stm3220xG eval board.
Solved! Go to Solution.
2018-11-03 06:37 AM
This is an SDIO+FATFS example for the STM32F4-DISCO with STM32F4DIS-BB, a 2017 refresh of something I put together several years ago.
https://drive.google.com/open?id=0B7OY5pub_GfINVZnNXFvTGxaWmM
This is a damaged thread from one of the prior discussions
https://community.st.com/s/question/0D50X00009XkdmcSAB/stm32f4disbb-fatfs
2018-11-01 11:47 AM
I have tried. But they are not compatible. Can't even make it to compile.
They both try to define the same things, or different things in the same files. It's a mess.
2018-11-01 12:40 PM
Should be example for that board doing LwIP+Ethernet in SPL
https://www.st.com/en/embedded-software/stsw-stm32059.html
2018-11-01 09:22 PM
thanks! it works perfectly fine..
do you know any link where I get some sample code related to Fatfs which uses STD library. cause all I'm getting HAL and STM32CubeMX examples. If available it will be a big help, if not! then I'll have to merge STD and HAL.
2018-11-02 05:32 AM
Should be SDIO examples in the SPL trees. Seem to recall some FATFS examples for the EVAL boards. I know I've posted numerous working FATFS examples over the years for F4 boards, the F2 and F4 designso are very similar.
2018-11-02 05:53 AM
STM32F4xx_DSP_StdPeriph_Lib_V1.8.0\Utilities\STM32_EVAL\STM3240_41_G_EVAL\stm324xg_eval_sdio_sd.c
STM32F4xx_DSP_StdPeriph_Lib_V1.8.0\Project\STM32F4xx_StdPeriph_Examples\SDIO\SDIO_uSDCard
2018-11-03 03:08 AM
the example code is very similar to STM32F2xx standard peripherals example of SDIO but I'm unable to find Fatfs example(File input/ output). As I'm not very familiar with SDIO and its working so i don't know how to use other "uSD card" libraries or functions.
2018-11-03 06:37 AM
This is an SDIO+FATFS example for the STM32F4-DISCO with STM32F4DIS-BB, a 2017 refresh of something I put together several years ago.
https://drive.google.com/open?id=0B7OY5pub_GfINVZnNXFvTGxaWmM
This is a damaged thread from one of the prior discussions
https://community.st.com/s/question/0D50X00009XkdmcSAB/stm32f4disbb-fatfs
2018-11-04 08:40 PM
thanks a lot I'll look at it and let you know the result.