cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 SPI DMA in STOP mode

donpedro
Associate II
 
1 REPLY 1
donpedro
Associate II

I got the SPI working with DMA for the STMH743 chips (and H750).

However, getting stop mode to work on top of that is proving a bit tricky.

I need to enter STOP mode and then wake up on DMA completion.

I have setup the EXTI on line 66 to enable the wakeup, but i might be missing something.

The RTC wakeup works fine, but i simply cannot get the SPI/I2S to do the same.

It is not helped by the fact that there is little/no documentation on this,

and zero examples that shows how EXTI works with periphials.

In theory it should work as the reference manual states that the data clock (I2S CLK) can run

from an external clock even tough the chips own clocks are stopped.

I assume the same goes for the DMA, or else why would it have an entry in the EXTI table?

Just finding the EXTI number was a challenge, as it was not in any of the manuals.

Ended up finding it in a F4 -> H7 porting guide.

Any help/examples on this would be fantastic!

Thanks,

/pedro, on behalf of GN Great Nordic