Jump to content

EsotericLabs

Members
  • Posts

    417
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by EsotericLabs

  1. Hello Adrien, did yours work directly when connected? mine doesn't. I soldered DI -> MOSI; DO->MISO; RC1->CS ; SC->SCK; Vs->GND; Vd->+3V3. Does it also need +5V? I checked with the USB Mass Storage device (mios/apps/examples), but then the core does not see the SD card and the display sayd SD Card disconnected. I have spare ones I will try, but Id like to hear your experiences. Thanks!
  2. Solved! Leave the buttons to the FreeRTOS task and the encoders to Service_Prepare. Dont mix the encoders and the buttons, so leave pin 0 and 1 out of the TASK_J5_Scan function. Newbie learning SOO much.
  3. Hello, I'm struggling with software control over the SCS hardware on J10 of an LPC17. I get both tutorial 006 (buttons with debouncing thru FreeRTOS task) and tutorial 15b (absolute encoder thru J5) working. I only changed references to J5 to J10 (Init and get routines) and then both work. Easy! But I could not manage to combine the two. in the 006 tutorial the encoder is treated as two separate buttons. But I added the encoder setup of 015b to App_init; the polling of proper pins for an encoder to APP_SRIO_Service_prepare and the response (send a CC with encoder value) to APP_ENC_notifychange. The RTOS task is still there for sending debounced button responses. But it only reacts to the buttons pressed, not to the encoder I also put the encoder polling code in the task -> no improvement. I also added the encoder response code to the Task function -> no improvement. I looked into the SCS code, but this is still far beyond my understanding. I'd like to have the FreeRTOS mechanism sending out e.g. notes for buttons and cc for the encoder. I understand the FreeRTOS taks is called every 1ms and that it waits 20 mS before sending the button response. But I dont understand when the SRIO_Service_Prepared is called and if it is called - why the ENC_NotifyChange code is not run. And why is the encoder code (pin polling and response sending) not in the Task - would not that be easier? Thanks a lot for any thoughts or examples to look into.
  4. Thank you. I will dig into MBSEQV4. Edit: Only now I found the USB mass storage device example. I guess this says all I want to know.. Will try soon.
  5. Thanks for sharing your experience. I'll test when the card arrives and indeed: why not put some 7400 IC in there.
  6. Hello, I was browsing the forum for info on how to send a midi file from a Mac/ PC to an Sd card in a midibox device. Either by accessing the card directly ( as if it were inserted into the computer) and just copy files to it in finder/ explorer; or to send it thru USB, have the core receive and store it; or some other way. I only found that its difficult /impossible to have two USB drivers accessing the port Simultaneously. Any thoughts on this one? Thanks a lot in advance!
  7. double post
  8. But when I look closely at the lpc17 schematic, J4A has 5V as Vd and not 3V3. The schem is not explicit about J4B's Vd, but my multimeter says also 5V (well, 4V97..). J4B.Sc and Sd also have pullup resistors to 5V. Other ports (J5, J16) do have Vd at 3V3 but not J4A/B. Then, is the double NAND necessary when J4B (midi 4) is running at 5V? It's no problem to find a proper IC (a 74HC14?) and put it in between for buffering and tightening the TTL signal. But just for learning purposes: is it really necessary? Thank you for replying! I'm gonna build an awesome hardware midi file player with an SD card and dedicated hard coded midi control for my Axon Ax100 mkII and midi floorboard. And 3-port-midi-switchrouter mode with onboard hardware synth for home studio purposes. And with usb uploading of midi files to the SD card. And midi controlled Hi-Z guitar input to the XR385 board. And midi controlled effect loop switching. And of course a simple headphone amp. Line in and Line out. And... And.. And... (Midibox virus detected)
  9. @shuriken: I found on Wikipedia that in TTL, anything between 2V4 and 5V. So I'm hopeful that it will work just fine. @sparx,: yes please post what you have on lpc17 and th xr385. I'm interested already! Cool project!
  10. That's very useful info, thank you.. I could up the level to 5v with a simple opamp? And there is a level conversion link on the lpc17 page on ucapps.de I ll check that out as well.
  11. Thank you Shuriken, It appears that the nec xr385 uses midi out as a midi thru. Not sure whether it is necessary, don't think so. But how to connect the card to the core? Just wire midi out 4 (from the j4b port) to the midi in of the soundboard? Or is it better to put the midi out / midi in infra with the 220Rs, an opto etc? Functionally it looks redundant: TTL-> midi -> TTL, but on the other hand, this may be necessary for decoupling? Please shine your light on this.
  12. Hello, I'm very new to this andI also want to connect a db50xg clone to the midibox lpc 17 core. Do I understand correctly? Just wire J4b sd to midi in on the sound board? (and sc to midi out on the board. ( an make a psu and audio in/ out hardware etc). Or would I need some kind of buffering or anything in between? I wil make a midi 3 in /out as in the core module page on us apps.de I hope it's not a very silly question, I searched the forum, but I did not find an answer on my level of understanding of midibox. Thanks a lot for helping me out!
  13. I did not mean to do so. I updated the post but it got posted 3x. Now deleted.
  14. Hello midibox friends, Look what I found on the web: http://www.ebay.nl/itm/170817952203#ht_1922wt_983 Dirt cheap sd card adapters!! They look nice for building into a casing. And for $1,54 only, worth trying. The pin labeling is a bit different but google sd card pinout and you ll find how to connect it. Bought some of course, hoping to hear your experiences as well. Update: the ad might be gone one day.. It is an eBay store Txhang electronic. Also dirt cheap 16x2 displays for €1,87 each and 100 3mm LEDs for €2,01.
  15. Found a proper SD card and contemplating the software design

    1. jojjelito

      jojjelito

      What's cooking?

  16. Successfully compiled & uploaded some of the tutorial apps with some customizing.

  17. It is possble to program entirely in Xcode 4.3 under Lion. See the post on
  18. It is possble to program entirely in Xcode 4.3 under Lion. See the post on
  19. Found out how to build everything completely in Xcode4.3. See forum on Programming

    1. jojjelito

      jojjelito

      To quote Ren & Stimpy: We're not hitchhiking anymore ... we're riding!

  20. Hello Ultra, I found the trick in Xcode 4.3: see Enjoy!
  21. I found out how to build your apps completely in Xcode 4.3 - 4.5 under Lion OSX 1. Download and set up the files from the repository and install the MIOS32 toolchain on the Mac. That is point 1 and 2 http://www.midibox.org/dokuwiki/doku.php?id=macos_mios32_toolchain_core 2. Launch Xcode. Go to Xcode/ Preferences / Downloads. Download and install Command Line Tools 3. Start a new project based on the 'empty' template. Add some files to the project. From the Project Explorer (cmd 1), add a new target. (Add Target button wirth big + sign lower left side) and make it a Mac_OS / other / aggregate 3. Click on Build setting (top), add user defined build setting (Lower right) and enter e.g. MIOS32_PATH and /svn/mios32/trunk. Enter. Continue to add all environment variables as user defined build settings. (see http://www.midibox.org/dokuwiki/doku.php?id=macos_mios32_toolchain_core, all of these) 4. Click on Build Phases (top) and then on Add Build Phase -> Add Run Script (lower right). Click open the Run Script Bar and enter in the second textbox (with the line numbers and "type a script.. "): export PATH=/usr/local/mios32_toolchain/bin:$PATH cd $SRCROOT make -s -> the first line of course where you put the mios toolcgaun This concerns the main application target i.e. the hex file This part is from http://www.midibox.org/dokuwiki/doku.php?id=how_to_use_xcode2_as_ide_on_a_mac; on setting up the primary application target. 5. Hit cmd-B for build and open the project directory in finder. You'll see a fresh project.hex file. Delete it and the project_build directory, go back to Xcode, repat cmd-B; and there it is again. Good luck!
  22. Got my parts from Reichelt, soldered the MBHP LPC17 core together. YESSS! It talks to me through MIOS32 Studio. Let the Games Commence!

    1. Show previous comments  1 more
    2. Hawkeye

      Hawkeye

      Congrats, have fun with that wonderful platform! :)

    3. Lamouette

      Lamouette

      the beggining of your trouble !! haha :) i hope no !

    4. EsotericLabs

      EsotericLabs

      Better MIDIbox trouble than other trouble ;-)

  23. Thank you! That makes life easier again. The Reichelt parts should arrive any moment now. I'm excited to put it all together and upload a .hex..
×
×
  • Create New...