Jump to content

pilo

Frequent Writer
  • Posts

    1,093
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by pilo

  1. dir combien il y a de d encodeur de bouton le type de lcd) il faut juste configurer dans le main ou il y a d autre fichier a modifier

    ALors pour les encodeurs ca n'est pas dans le main, mais dans le fichier mios_tables.inc. Dans la 2eme partie plus précisément, qui commence ainsi :

            org     0x3280          ; never change the origin!
    
    ;; --------------------------------------------------------------------------
    ;; In this table DIN pins have to be assigned to rotary encoders for the
    ;; MIOS_ENC driver
    ;;
    ;; up to 64 entries are provided
    ;;
    ;; The table must be terminated with an ENC_EOT entry. Unused entries should
    ;; be filled with ENC_EOT
    ;;
    ;; ENC_ENTRY provides following parameters
    ;;    o first parameter: number of shift register - 1, 2, 3, ... 16
    ;;    o second parameter: number of pin; since two pins are necessary
    ;;      for each encoder, an even number is expected: 0, 2, 4 or 6
    ;;    o the third parameter contains the encoder mode:
    ;;      either MIOS_ENC_MODE_NON_DETENTED
    ;;          or MIOS_ENC_MODE_DETENTED
    ;;
    ;; Configuration Examples:
    ;;    ENC_ENTRY  1,  0,  MIOS_ENC_MODE_NON_DETENTED    ; non-detented encoder at pin
     0 and 1 of SR 1
    ;;    ENC_ENTRY  1,  2,  MIOS_ENC_MODE_DETENTED        ; detented encoder at pin 2 a
    nd 3 of SR 1
    ;;    ENC_ENTRY  9,  6,  MIOS_ENC_MODE_NON_DETENTED    ; non-detented encoder at pin
     6 and 7 of SR 9
    ;; --------------------------------------------------------------------------
    
            ;; encoder entry structure
    ENC_ENTRY MACRO sr, din_0, mode
            dw      (mode << 8) | (din_0 + 8*(sr-1))
            ENDM
    ENC_EOT MACRO
            dw      0xffff
            ENDM
    
    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_NON_DETENTED   ; V-Pot 9
            ENC_ENTRY  3,  2,  MIOS_ENC_MODE_NON_DETENTED   ; V-Pot 10
            ENC_ENTRY  3,  4,  MIOS_ENC_MODE_NON_DETENTED   ; V-Pot 11
            ENC_ENTRY  3,  6,  MIOS_ENC_MODE_NON_DETENTED   ; V-Pot 12
            ENC_ENTRY  4,  0,  MIOS_ENC_MODE_NON_DETENTED   ; V-Pot 13
            ENC_ENTRY  4,  2,  MIOS_ENC_MODE_NON_DETENTED   ; V-Pot 14
            ENC_ENTRY  4,  4,  MIOS_ENC_MODE_NON_DETENTED   ; V-Pot 15
            ENC_ENTRY  4,  6,  MIOS_ENC_MODE_NON_DETENTED   ; V-Pot 16
    

    En fait la on déclare seulement ou sont les encodeurs (comme ils sont cablé sur les DIN, comme les switchs). Ensuite, pour le LCD, le type doit etre modifier dans le deviceID du PIC, si tu utilise un ecran lcd alphanumérique standard, il ne devrait avoir riena faire.

    Maintenant pour définir a quel fonction correspond quel bouton, il y a un fichier dédié en general qui permet de faire le mapping.

  2. Alors

    pour la config des applications, en general il y a des fichiers (soit le main.asm) qui sont largement commenté (en anglais) pour configurer au mieux la midibox. Le logiciel midibox studio doit aussi permete quelques paramétrages je pense.

    Effectivement il serait intéréssant d'avoir un tuto sur le sujet :)

    J'ai pas trop de temps en ce moment (comme depuis ces dernières années), mais pour faire vite :

    Il faut MPLAB (sous windows) ou bien GPASM (pour win, linux et mac je pense) pour compiler les applications. La compilation étant nécéssaire que si tu désire les modifier (donc configurer l'agencement des switch/encodeurs etc). Il faut aussi perl pour pouvoir transformer les fichier .hex (issus de la comilation des fichiers ams et syx) en fichier .syx, ou bien utiliser Mios studio.

    Hésite pas a poser d'autre questions, sur les points qui ne te sont pas clair, et ainsi on devrait pouvoir regrouper les infos nécéssaire pour un tuto :)

  3. Au condensateur C4 non? ;)

    Alors, as tu bien une tension > 12V à l'entrée du régulateur?

    Essais d'enlever tout les circuits intégrés du module MF, et de voir si ca change quelque chose. Sinon il peut y avoir un cours circuit quelque par aussi (tjs sur le module MF).

  4. @Sonduke :

    first, the clock generator is not the hard parts :) and I think it's important. Even if you want to use the WDclock output from anpther device, I think you need a PLL to recover a proper clock (I didn't make it yet, but I have a schematic, not very hard). With a clock generator you can use the converter as master device, which is needed with some sound card (for example the RME digi32/8 can only record when in slave mode!).

    For the psu, I built one around a simple tx and some 78xx regulator (there are 8 voltage : +12v/+5v/-5v/-12v for analog and +5v/+3.3v for digital).

    The aim of the project was to built something modular... the adc schematic works fine, the ADAT schematic and PCB (from the al1401 and al1402 datasheet) have change (for mechanical purpose mainly). The buffer module... I have a lot of trouble with this one (CEM trouble).

    Something cool would be to redesign the buffer module. FOr example adding the PLL stuff on it, then the frequency divider, some logic for inverting some clock (needed for IIS protocols), and then buffer (without buffering the clock signal, it won't work). That's not a lot of work, but as you can see, I built only single sided PCB...

    And as raphale said, an adc is stereo (2 channels), so you need 4 of them to make 8 channels :) .

    @Raphael:

    thanks ;) it's cool to hear good feedback from this project, which takes nights and days to make working!!

    So take care with the schematic that are on line, I should make an update with the right one. I only have 2 adc now (4 inputs), and I don't have time to play with it :(

    and the link to the rightaudio mark test :

    http://membres.lycos.fr/blendinpulse/adat/test/DIGI32_8 Out (1+2)(1)_13.htm

    For the price : you can buy al1401 and al1101 at profusionplc, other IC are I think easy to find. I etch the pcb my self, so they was cheap. I think it cost me about 200/300euros and 25000000000hours of works lol for an 8 channeles input and 2 channels out :) I should make more photos of it, but I don't have a lot of free time, which is very boring, but I hope to have some when I finish the school (in about 5 months).

  5. first, my schematic are here : http://membres.lycos.fr/blendinpulse/adat/

    Some (like the dac) have been done with D2k, I have other one (like with pcm1804) which was done with Gillesdeshays. Everything started when we want to mods the emu10k1 SBlive.

    Maybe I should upgrade the adat stuff page with more info? (I didn't get a lot of feedback, so I never take the time to put more stuff on it).

    I think you can use every preamp (analog side) you want with almost any ADC IC, as the al1401 chip (ADAT enconding) can works with a lot of different interface (inter-IC communication). As I said before I never use SPDIF yet, but it shouldn't be ore complicated than ADAT :)

    Now for the clock : for some chip (adc or dac) you need a high frequency clock (generally 256xSampling frequency, ie 12.288Mhz for 48Khz). I built a small generating clock for this. Sync stuff are also possible, but if you just have the wordclock, it may work with al1101, as this chip only require the sampligin frequency clock, but if you want to use others adc (or dac), you will need the higher freq clock. In this case you need to build a Phase Lock Loop clock to recover the 256xfs clock from the wordclock.

  6. Si tu peux aussi mettre une alim à découpage (switching), mais suivant l'alim il faut que la midibox débite assez pour etre sur que ca marche, Thosten conseillais de mettre un élément consomateur si je me souviens bien. J'ai jamais trouvé d'alim a découpage bon marché en france, en revanche dans les surplus à l'étranger on en trouve des tas...

    Pour les transfo, je parlais de transfo "indépendant", enfin, un transfo à monter dans le boitier, ainsi tu peux avoir une seule prise secteur pour les 2 :)

  7. si des tas ;)

    en fait sur le pcb du module MF il y a déja un pont de diode, des condos de filtrage et un régulateur, il suffit donc de mettre juste un transfo. Pour voir large il faut 2A, sous environt 12Vac, soit 24VA environt (moins ca doit passer).

    Le problème c'est que ca fait un transfo supplémentaire (avec celui pour le module). 12Vac c'est trop pour le régulateur 5V du core, donc ca implique d'avoir 2 transfo dans le boitier...

  8. alors :

    pour l'instant c'est toujours stereo, il faut juste que je face 3 adc supplémentaire pour avoir 8 entrées (2 entrées par convertisseurs). Pareil pour les sorties.

    les clicks heeeu ne viennent pas du convertisseur, mais surement d'une saturation, ou bien d'un xrun dans jack. Mais j'ai enregistrer d'autre truc depuis, et y'a pas de click :)

    Oui tu peux remplacer les adc par n'importe quel autre qui gère les signaux PCM. L'avantage des alesis, ils sont pas cher, l'avantage des Ti, j'ai pu avoir des échantillons :)

    Au départ l'idée était de rajouter des E/S a une SB live (avec d'autre gens du forum midibox, dont Gilles ;)) et puis finalement, ca a dérivé en convertisseur ADAT... Attention, dans les schéma qui sont en lignes, il y a des erreurs!!!!!!!! (notament le circuit de tampon). J'ai jamais eu bcp de feedback par rapport à cette page, et pas bcp de gens intéréssé par le convertisseur, donc j'ai jamais pris la peine de mettre a jour les fichiers....  :-[

    Beaucoup de gens pensent qu'il est impossible de réaliser un convertisseur ADAT de a à z, moi je pense que oui.... ca m'a pas couté des sommes phénoménal (peut etre 200euros), et c'est très intéréssant. Meme si ca m'a empécher de dormir quand ca ne marchait pas !

  9. Alors non si le smodules sont pas cablé, ca va marcher :) sauf que tu aura pas les fonctions associés au module (logique). En revanche il faudra peut etre cabler les entrée analogique du core à la masse pour éviter des messages parasites.

    Sinon recompiler l'application, heeeuu Moxi n'avait pas traduit la page?

    Effectivement un pti tuto en francais serai le bienvenue alors...

    Et sinon j'ai pas eu bcp de nouvelles de Moxi, il se fait désirer après nous avoir fait baver avec ses switch  ;D

    Mais deja essais d'uploader l'apllication tel quel (le fichier syx contenu dans le zip), et regarde ce que ca donne. Je vais essayer de faire un tuto clair (lol) et rapide sur la configuration des DIN ce week end.

×
×
  • Create New...