Jump to content

Recommended Posts

Posted

Hi,

I am building a MB16e but it dont works yet.

I know that surely I made something wrong but I am not able to discover....

The last night nothing worked fine so at this point I decided to ask help to the forum.

 

These are the things I did:

 

Core8 with DINx4 connected at J6 for the 16 encoders ( as I see in this diagram:       http://www.ucapps.de/mbhp/mbhp_dinx4_16enc.pdf )

                  DINx1 connected at J9 for the 8 switches

 

I uploaded with Mios Studio the "setup_midibox16e_without_ledrings.hex" without any modify ( I left the the "mios_enc_table" as is because I believed that was enough using the setup.....asm )

so the switches works fine but the encoders give no signs of life

 

Before I tell you of the other problem I had it is better have an answer about this:

 

is it right to connect the DINx4 for the encoders to J6 instead of J9  ( or better : have I understood well the diagram ?)

Have I anyway to modify "mios_enc_table.inc" to enable the encoders?

 

Thanks for any help

 

Antonio

 

P.S.

 

I apologise for the newbe question

 

Posted (edited)

Shouldn't you connect the DIN1x for switches to J9 and then the DINX4 for the encoders to the DINX1 from the switches? Just as it says in the comment of the pdf you linked to.

 

Just like in this picture, just leave out the led and ledrings. mbhp_midibox64e.gif

Edited by Shuriken
Posted

Hi Shuriken,

Thanks for your reply

 

I followed  the diagram http://www.ucapps.de/mbhp/mbhp_dinx4_16enc.pdf

 

where I read that it is the right connection of the encoders for Midibox16e

 

Anyway I can connect the boards in this other way and make my tests

 

Probably I have some problem with Toolchain too

 

thanks and regards

 

Antonio

Posted

Ok,

 

I will connect like this then I will understand if I have problems with toolchain for recompiling.

 

I think that I havent understood well about the application:

 

I have to write in the mios_enc_table  the encoders I am using or the setup will do it for me?

 

If I have to modify the table I am in trouble then because seems that my toolchain dont works fine.

 

Anyway I will put my condition as the shematic you show me then will face any new difficulties,

 

Thanks and best regards

Posted

The mois_tables.inc referes to setup_midibox16e.asm for setup of encoders. Since it is already setup for 16 encoders i don't think you need to change anything.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...