STM32F4: Generating parallel signals with the FSMC. Address generation will be disregarded, as well as other control signals dedicated to memory chips. It must be noted that the STM32F40x and STM32F41x have the FSMC (static memories), while the STM32F42x and STM32F43x have the FMC (static and dynamic memories). Issuu is a digital publishing platform that makes it simple to publish magazines, catalogs, newspapers, books, and more online. Easily share your publications and get them in front of Issuu’s.
I have downloaded Keil and STM32 CUBEMX (Together with firmware library for my microcontroller).
I don't understand how do I put my c code to see what is really going on?I tried connecting Keil with STM32 Cubemx when creatning new project, but when I go to device there is no STM32 Cube, what should I do?
Ana MatijanovicAna Matijanovic
1 Answer
You can't just drop a preexisting project into CubeMX and expect it to sort out what you're trying to do - CubeMX is a code generator for initialization of the hardware, and that's it.
To do what you're trying to do, you need to configure the peripherals as you'd like for your project in CubeMX, have CubeMX generate the project from that (CubeMX can generate projects for a variety of IDEs, including Keil), and then open that project in your IDE and edit in the specifics of your project as you'd like, starting from the generated main function.
Remember to only modify the parts of the generated files between the 'USER CODE' comment lines, and not modify those comments if you think you'll ever want to change the project settings you set up in CubeMX - the generator uses those comments to ensure that it doesn't overwrite user code while regenerating the project.
Logan HunterLogan Hunter