Jump to content

Problem with Magic Midi Delay


Recommended Posts

Hello, usually I figure out the problem 5 minutes after I post, but here goes:

I built a Magic Midi Delay on my breadboard with 8 non-detented encoders and one detented encoders. The only code I changed is the pin assignments for the encoders. When I first turn it on, I get all kinds of jitter, with the screen going back and forth between the transpose and BPM menus. After about 30 seconds, the jitter stops and everything works perfect.

I have tested the encoders with the enc_3 test and they work great. Is there any other code I have to change?

In the Main.Asm file I have:

#define USE_POTS 0

So I shouldn't have any problem with the AIN pins - correct? I have tried grounding RA0-3,5 and RE 0-2, but this doesn't help. I have also tried the Midibox TC and it works fine too. Any ideas?

Thanks

Justin

Link to comment
Share on other sites

No, this doesn't help. Here is the only code I changed:

MIOS_ENC_PIN_TABLE
      ;; encoders 1-16
      ;;        SR  Pin  Mode
      ENC_ENTRY 1,  0,  MIOS_ENC_MODE_NON_DETENTED      ; V-Pot 1
      ENC_ENTRY 1,  2,  MIOS_ENC_MODE_NON_DETENTED      ; V-Pot 2
      ENC_ENTRY 1,  4,  MIOS_ENC_MODE_NON_DETENTED      ; V-Pot 3
      ENC_ENTRY 1,  6,  MIOS_ENC_MODE_NON_DETENTED      ; V-Pot 4
      ENC_ENTRY 2,  0,  MIOS_ENC_MODE_NON_DETENTED      ; V-Pot 5
      ENC_ENTRY 2,  2,  MIOS_ENC_MODE_NON_DETENTED      ; V-Pot 6
      ENC_ENTRY 2,  4,  MIOS_ENC_MODE_NON_DETENTED      ; V-Pot 7
      ENC_ENTRY 2,  6,  MIOS_ENC_MODE_NON_DETENTED      ; V-Pot 8

      ENC_ENTRY 3,  0,  MIOS_ENC_MODE_DETENTED      ; Jog-Wheel

Maybe I made a mistake?

Justin

Link to comment
Share on other sites

The table should be ok, so I guess that either your modification hasn't been assembled/uploaded correctly, or the DIN chain isn't terminated.

To check the software: open "mmd_display.inc" and change some characters in TEXT_DLY_0, TEXT_TRANSP_0, TEXT_CHN_0, TEXT_CFG_0 --- just to ensure that the modified code has been uploaded

To check the hardware: ensure that the SER input of the last 74HC165 is terminated with a 10k pull-up resistor.

You could also upload the ain64_din128_dout128 application to check if there are floating pins (open inputs)

Best Regards, Thorsten.

Link to comment
Share on other sites

Ok, that wasn't the problem!

I switched to another DIN module, after testing all the resistors with my mutimeter, and it behaves the same.

I have tried the AIN64 program and it works fine.

I switched some of the text like you said and it shows up after assembling, converting and sysexing.

I'll keep searching!

Justin

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