mess Posted September 24, 2006 Report Share Posted September 24, 2006 Hello,I need a additional serial (rs232) out for my midibox projectwould it be possible to use a J5 pin for this like the midi outs of clockbox v1.1?specifications:4800baudstart and stop bit, no parityMichaël Quote Link to comment Share on other sites More sharing options...
TK. Posted September 25, 2006 Report Share Posted September 25, 2006 Hi,it depends on your application - bitbanging requires to disable interrupts. The baudrate is very slow, much slower than MIDI. If something is received via MIDI while your function sends out a 4800 baud stream, data loss can happen at the receiver side - if you are sure, that nothing will be received, than I don't see problems here...Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
mess Posted September 27, 2006 Author Report Share Posted September 27, 2006 Ok great news :-)could you tell me how you simulated your bitbanging routine to determinate the required delay cycles?is it possible to simulate mixed C/ASM in MLAB? Quote Link to comment Share on other sites More sharing options...
TK. Posted September 27, 2006 Report Share Posted September 27, 2006 It could be somehow possible to realize a mixed C/ASM simulation, but why do you want to simulate the 2 second startup of bootloader/MIOS (which takes some minutes), just to execute this tiny routine?So far I remember, I copy&pasted the assembly routine into a dummy .asm file, and simulated it directlyBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.