Jump to content

Recommended Posts

Posted

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.

Posted

i init the timer with 50 ms value:

MIOS_TIMER_Init(0x03,62500);

is that time to short to proceed 3x MIOS_MIDI_TxBufferPut?

Posted

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?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...