Jump to content

DINX4 communication fails, no LD signal


csaba

Recommended Posts

I use a PIC 18F452 based core with a MIDIO128_V2 application, one DINX4 module connected (setup_midio128.hex uploaded)

I think, the LD pulsewidth is similar to CLK pulsewidth on J9 SC (pin22), what I can detect with my scope.

Using the SRIO interconnection test right voltages can be measured on J9 SC, RC, and SI (DINX4 disconnected).

Maybe the PIC is damaged? Connection between pin21 and RC is OK.

Startin MIDIO128 the next can be read on LCD: "1 I Note C-2   0o"

Link to comment
Share on other sites

I think, the LD pulsewidth is similar to CLK pulsewidth on J9 SC (pin22), what I can detect with my scope.

 

yes, you are right.

 

 

Maybe the PIC is damaged?

 

yes, very likely!

What did you do with the PIC so that this happened?

Actually PICs are very robust chips. E.g. if you would clamp the RC output to ground or +5V, nothing dangerous would happen...

So, something else has caused this defect!

 

Best Regards, Thorsten.

Link to comment
Share on other sites

Thank you for the answers!

Nothing extreme happened with the pic, but i tried it with an other one, and experienced the same.

The SRIO interconnection test application changes the voltage on PIN21, so PIC error can be excluded I think.

Sorry for the stupid questions, I'm very new to Midibox.

So: there is one PIC based core, tried with one DINX4 module.

Bootloader, MIOS V1.9g and setup_midio128.hex uploaded. (ini to syx conversion still not done)

Nothing happens on grounding DIN inputs (and cannot detect CLK signal on PIN21)

What to do now???

 

Best regards

Csaba

Link to comment
Share on other sites

Hi Csaba
 
This might be a simple wiring issue.....
 
The two rows of pins @ J1 and J2 on the DIN boards from my shop are different, one row has the SO pin the other has the SI pin:
DIN_R3_TDetailj1.gif  DINR5J1.gif
 
DIN_R3_TDetailj2.gif  DINR5J2.gif
 
This can be an problem for guys who wire direct/without connectors or use single row connectors since it is easy to get on the wrong row. 
 
I realize this seems like an error or bad design at first look - but it facilitates a mixed DIN/DOUT chain with simple 1:1 IDC connectors and ribbon cable saving hours of fiddly SIL connector crimping:

post-3497-0-51955900-1389711699_thumb.jp


A bit more info in this thread:
 
Best regards
 
Tim

Link to comment
Share on other sites

Hi Tim! Thank you for the answer.

I identified all the cables between core and DIN module, they seem OK.

But even on the 21th pin of the PIC I can not find the LD signal, i can measure there +5V constantly.

The DIN/DOUT chain is a great idea, I will try it.

 

Best  regards

 

Csaba

Link to comment
Share on other sites

Do i have to do anything more after uploading setup_midio128.hex for sensing the buttons of DIN module?

 

Yes, for PIC based applications you've to upload MIOS8 first, thereafter upload the application (MIDIO128)

 

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