cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 SPI ISSUE

MANISH
Associate II
Posted on April 06, 2018 at 16:43

Hai, Iam using the STM32H743VIT controller , We are using the spi4 in our board ,we generated the code using the cube mx nothing is coming(CLK and SIN)when transmit the data using the function ( HAL_SPI_Transmit(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t Timeout)). we configured the SPI to the 8 bit mode.But with the same configuration the SPI2 is working fine.

Thank you

Best regards

Maheshwar.

#uphill-skiing #stm32h7-spi-sync #stm32h7 #spi

Note: this post was migrated and contained many threaded conversations, some content may be missing.
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on April 06, 2018 at 22:58

Upgrading CubeMX is not enough.

You have to update HAL firmware to 1.2.0

In this version there are no SPI issues known.

View solution in original post

10 REPLIES 10
Imen.D
ST Employee
Posted on April 06, 2018 at 17:21

Hello

maheshwarreddy681

,

Which CubeMx and Firmware package version are you using? This will help us to check your issue.

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on April 06, 2018 at 17:51

Can we use ONE thread? Probability suggests these events/observations are related.

https://community.st.com/0D50X00009XkWXISA3

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on April 06, 2018 at 17:29

Thank you for the valuable reply .

We are using the version 4.22.1

Posted on April 06, 2018 at 17:38

Hi

maheshwarreddy681

,

You are welcome.

I recommend you to update and use latest version of STM32CubeMx version 4.25 and

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-mcu-packages/stm32cubeh7.html

v 1.2.0.

Then let us know if that problem is still being faced.

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on April 06, 2018 at 19:55

Thank you for the valuable reply .

We had updated the cube mx to the 4.25 then also same proble.

Posted on April 06, 2018 at 22:58

Upgrading CubeMX is not enough.

You have to update HAL firmware to 1.2.0

In this version there are no SPI issues known.

Posted on April 06, 2018 at 23:05

Can you please tell me . How to update the firmware. Now we are in need

On Sat 7 Apr, 2018, 2:28 AM Joerg Wagner, <st-microelectronics@jiveon.com>

Posted on April 06, 2018 at 23:21

Are you using the H7 v1.2.0, or not? The CubeMX library updater should be able to pull directly, and there is the Cube H7 download page.

http://www.st.com/en/embedded-software/stm32cubeh7.html

#uphill%20skiing

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on April 06, 2018 at 23:24

Yaaaa we are using same stm32h7 v2.1.0.

On Sat 7 Apr, 2018, 2:52 AM Clive One, <st-microelectronics@jiveon.com>