2017-06-13 06:03 PM
Hello,
I realize this is a basic question, but I am looking for documentation on how to move a ST supplied example (Specifically the X-CUBE-SPN2, X-Nucleo-IHM02A motor driver example) to the Nucleo STM32F429zi. The supplied example only has code for the Nucleo-F072RB, Nucleo-F302RB, and the Nucleo-F401RE.
I am aware of section 6.9 page 192 of 'Switching to Another MCU' in 'STM32CubeMX for STM32 configuration and initialization C code generation' but don't seem to be getting very far when I try the import function. It is greyed out for the board and I have to direct select the processor in CubeMX v4.21.0 and the IHM02A example seem to lack the required .ioc file.
If anyone has other links on documentation on how to convert to it run on the Nucleo-STM32F429zi I am all ears (or if they have the IHM02A example code ported to the Nuclie-STM32F429zi ... ).
Thanks in advance.
-Kevin
#nucleo-144-stm32f429zi #x-nucleo-ihm02a2017-06-13 08:48 PM
>>..seem to lack the required .ioc file
Most of the expansions/examples don't actually use CubeMX to generate them.
The main thing you're likely to need to do is evaluate and change the pins used on the Nucleo-64 vs Nucleo-144 platforms related to the Arduino shield headers. ie manually port code
Both use the F4 code, code compiled for an F401 should run on a F429, you can adjust the PLL settings to boost the speed.