Jump to content

MIOS_MIDI_TxBufferPut in interval


Rio
 Share

Recommended Posts

At my last changes on program, where i execute 3 MIOS_MIDI_TxBufferPut(..); functions in a Timer Intervall, i got critical states in programm...

So after a duration of worrking my program crashes, hangs or does some other programm code/states :o after a time...  :-X

maybe it's to time critical or txbuffer is overrun... i don't know.. 

Can anyone help or knows a solution for that behavior?

Greets Rio.

Link to comment
Share on other sites

mhh... background:

i've implemented a timer function for notifyevent of pressing keys from sm_matrix in my application, because i want increase/decrease CC values by pressing a key til i release the key in realtime.

It's functional without sending data, but if i used MIOS_MIDI_TxBufferPut at every step (50ms) - different errors occurs -> til hanging / crashing of application at random time, or wrong visuals on LCDs.. :-\

what can i do?

PS: What is about sending BPM-values? Mhh.. seems that they can be transfered in this time or i'm wrong? Are you sure that 50 ms is to less?

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...
 Share

×
×
  • Create New...