 Hello, and welcome to this presentation. My name is Badr Dean, and in this video we'll learn how to cache the bitmaps stored in an SD card. In this first part, we'll see how to set up the SDMMC peripheral and add FrataFS file system to the SDM32F746.jfx template. I will start by.jfx designer, which is a GUI builder that lets you easily build the visual appearance of your graphics application. Here I have to select application name and use SDM32F746 SD cache bitmaps. On the application template, I'll click Change and select SDM32F746 discovery kit template. Here we see we have two different versions, one that does support SDM32 Cubemax project and one that does not. I will select the one that supports SDM32 Cubemax to easily add SDMMC configuration. I click Select. And then in the UI template, I click Change. And I will select any application template from here. For example, today I will use the animation texture mapper and then click Select. Then I'll click Create. And now TADGFX will download the template from the server. Now I have the application template available on my desk. I'll click Generate Code. And then click on Browse to the TADGFX files. Click here. And then here I have my TADGFX files. I go up by one level here. And I find my SDM32 Cubemax file, this IUC file. I'll double-click on it. Here I have my SDM32 Cubemax open. Now we need to enable the peripheral that's connected to the SD card. If we look at the user manual of the SDM32F746 discovery board, we see that SD or microSD connector is connected to SD MMC1 peripheral. And if we look at the schematic, we see that the 4-bit or 4 pins are connected to the SD card. So I go back to SDM32 Cubemax, go Connectivity, select SD MMC1, and then select SD 4-bits widebush. Then we'll enable the SD MMC1 global interrupt. And then we go to DMA Settings. And we enable the DMA channels for TX and RX. This helps to offload the CPU. OK, then if I go back to the schematic of the SDM32F746, we see here that the microSD uses a GPIO for detect signal. And this pin has to be set up as input with pull-up. So this microSD detect pin is connected to PC13, as we can see here. So microSD detect is connected to PC13. I go back to SDM32 Cubemax project. And we select PC13. And we set it up to GPIO input. We still need to enable the pull-up, the internal pull-up for PC13. We go to System Core, GPIO. We go to PC13. And here in GPIO pull-up pull-down configuration, we select pull-up. OK, now we are done with SDMMC configuration. We go to Clock Configuration tab. And we see here that the clock is above what the spec says. If I check the data sheet of the SDM32F746, we see here that the clock frequency for the SDMMC peripheral has to be lower than 50 MHz. So we see here that the SDMMC clock is 200. So I'll select the PLL48 clock. And then here I'll divide this clock by 8. And here we have the SDMMC clock set up to 50 MHz. Next, we want to use a file system to allow us to do file operations, such as open a file, read a file, or write a file. So we'll go to middleware and FATFS. So here we'll use FATFS on SD card. And then for the detect signal, we use PC13. And now I'll save my SDM32QMX project and click on Generate Code. So the code is successfully generated. I'll click Open Project. Thank you for joining me in this video. And we hope that you enjoyed learning how to set up the SDMMC peripheral and add FATFS file system to the SDM32F746.GFX template. And the second part of this video we see how to set up the bitmap cache and how to cache the bitmaps stored in an SD card.