Jump to content

Bitbanging a serial out on J5?


mess

Recommended Posts

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.

Link to comment
Share on other sites

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 directly

Best Regards, Thorsten.

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