after flashing my dsp script from audio weaver, can i still be able to use my stm32 processor to program other features like my touch screen interrupts

2 posts / 0 new
Last post
vpotlur1_3636
Offline
Last seen: 7 months 4 days ago
Joined: 01/16/2019 - 2:56am
after flashing my dsp script from audio weaver, can i still be able to use my stm32 processor to program other features like my touch screen interrupts

Hi,

I need to run a lowpass filter and also touch screen interrupts on my stm32 processor. So I designed lowpass filter with audio weaver and flashed it on the processor. Can I be able to use multi threading to run touch screen interrupts always on another thread?

if so how to acheive this?

Axel Nilsson
Offline
Last seen: 6 days 3 hours ago
Joined: 12/19/2016 - 2:02pm

Hello,

For most boards you should be able to set up the touch screen interrupt and also use the interrupts necessary to implement our BSP. There are a couple of boards that use the same interrupt for the touch screen as for some other peripherals (I believe it was the CODEC DMA complete interrupt) and if this is the case it might present an issue. 


If you do find an issue with interrupt re-use, you can always create a thread that waits on a semaphore. When the semaphore is triggered it does some work and the loops back to wait on the semaphore again. The semaphore can be triggered from an interrupt handler.

 

Thanks

-Axel