2017-05-12 11:58 PM
Hi to all,
I'm new to stm32. I start working with 'NUCLEO-F030R8' and i wish to control a display 128x64 monocromatic via SPI.
To do thisI started using STM32CubeMX to configure GPIO and SPI, but SPI doesn't works.
Someone can help me to correct my mistakes?
Thanks,
Gas
2017-05-13 08:45 AM
Hi ,
You may refer to the SPI examples within
, this help you on your applicationSTM32Cube_FW_F0_V1.8.0\Projects\STM32F030R8-Nucleo\Examples\SPI
2017-05-16 02:11 AM
Hi Imen,
thank you for you help. Now it's works. It's remains the question: why the spi clock doesn't works if it's configured with STM32CubeMX?
Best Regards
Gas
2017-05-16 04:07 AM
Hi,
I'd installed the new version, I'd created a new project, but I don't understand why that it's not creates a file .uvprojx to use with ide keil uvision.
Thanks,
Gas
2017-05-16 04:19 AM
Hi,
Could you please precise which CubeMX version are you using?
If you are using an old version, I recommend you to use the latest one :
Thanks
Imen
2017-05-16 05:07 AM
Hi,
When you create a new project, you should update Project Settings and select the Toolchain 'MDK-ARM V5' for Keil, this will create the project folder and save in there the .ioc file only.
You will have to click 'generate code' to create MDK-ARM folder with a .
uvprojx file.
If your issue is not resolved, you can attach your .ioc file to check with you this case.
Regards
Imen
2017-05-18 03:19 AM
Hi Imen,
now it's works. Thanks for your precious helps.
Best regards,
Gas