cancel
Showing results for 
Search instead for 
Did you mean: 

Cycle count of 32x32 multiplication on STM32F072?

MParu.1
Associate

The technical docs state that multipleication (MULS instruction) can take either 1 cycle or 32 cycles. This is defined when the board is produced. Does anyone know which of the two configurations the STM32F072RB uses?

1 ACCEPTED SOLUTION

Accepted Solutions

>>This is defined when the board is produced

That sounds like complete nonsense, can you provide an actual cite?

Do you mean what ARM IP ST chose to include in their Cortex-M0 chip level implementation?

https://www.st.com/resource/en/programming_manual/dm00051352-stm32f0xxx-cortexm0-programming-manual-stmicroelectronics.pdf

As far as I'm aware ST chose to have the multiplier, systick and debug functionality. "Single-cycle 32-bit hardware multiplier"

Should be easy enough to measure ones' self if there is any doubt.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2

>>This is defined when the board is produced

That sounds like complete nonsense, can you provide an actual cite?

Do you mean what ARM IP ST chose to include in their Cortex-M0 chip level implementation?

https://www.st.com/resource/en/programming_manual/dm00051352-stm32f0xxx-cortexm0-programming-manual-stmicroelectronics.pdf

As far as I'm aware ST chose to have the multiplier, systick and debug functionality. "Single-cycle 32-bit hardware multiplier"

Should be easy enough to measure ones' self if there is any doubt.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thank you.