mess Posted September 24, 2006 Report 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
TK. Posted September 25, 2006 Report 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.
mess Posted September 27, 2006 Author Report 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?
TK. Posted September 27, 2006 Report 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now