Generic Interrupt Handler

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
Online
User avatar
jimmo
Posts: 661
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia

Re: Generic Interrupt Handler

Post by jimmo » Tue May 14, 2019 9:50 am

Hi,

Just to make sure I understand the question -- you're poking registers via stm.memX to configure the DMA device, but would like to implement one of the ISR vectors (e.g.) DMAx_StreamN from Python?

If so, sounds like you'd be much better off doing this in C, and then you'd have the benefit of the ST HAL and the code that already supports DMA for SPI/SDCard/etc.

Post Reply