cancel
Showing results for 
Search instead for 
Did you mean: 

The stm32 hal driver generated by stm32CubeMX cannot work !

ausera uirwaij
Associate III

the driver generated by stm32CubeMX compiles with no error but the device's peripheral dont work such as svc ,I2C, DMA, UART. However, I substitute HAL driver with example project's HAL files, all seem well.

4 REPLIES 4
Otavio Borges
Associate III

Without further info is hard to help you. Post a snippet of your HAL config and usage.

Are you using the full project created by CubeMX?

What MCU are you using?

IDE?

Hi, @Otavio Borges​  Thank you agian. I'm using F429IIT, KEIL 5.36, CMSIS pack 5.8.0.

I test CubeMX project without any modifying except for main() function, I write test code in main(). Freertos , I2C and SVC all cannot work, they call work if I switch HAL driver files to 2015 year's older version.

0693W00000LyXtwQAF.png 

0693W00000LyXtrQAF.png

LCE
Principal

I have tried this but with no good luck.