Jump to content

Completely replacing MIOS32_AIN


Duggle

Recommended Posts

I'm considering an interesting midification. It requires 3 channels of audio bandwidth ADC. I'm using an STM32F103RE soldered to a low cost SMD adaptor PCB.

 

Is it sufficient to

#define MIOS32_AIN_CHANNEL_MASK 0

then I am free to call the ADC_*() and DMA_*() peripheral support routines and setup the hardware particular to my needs and define my own interrupt handlers in my own code?

 

I'd also need to do similar thing (i.e custom code overriding MIOS32 functionality) with the 2 channels of DAC as well as a timer/PWM channel.

 

The application has no LCD (I'll use a separate core running NG for the user interface), no SRIO, but will use 2 UARTS for MIDI. The hardware allocations I'll check myself, but I'm mainly asking about how to override/replace the existing software functionality of MIOS32 in those peripherals I'll be using.  

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...