TK. Posted January 14, 2014 Report Share Posted January 14, 2014 I agree that the small size has advantages for projects like MIDIbox KB Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
latigid on Posted January 18, 2014 Report Share Posted January 18, 2014 TK, do you have thoughts on pinouts for the "J5C" connector on STM32F4? I will put together a DB-15 breakout/level shifter board for Gates 1-8, DIN Start and Clock, and MIDI OUT 3 (no room on the DB-15). Will it be more like STM32F1 or LPC17? Thanks, Andy Quote Link to comment Share on other sites More sharing options...
TK. Posted January 18, 2014 Report Share Posted January 18, 2014 For MBSEQ V3 the gates will be available at J5A and J5B, DIN start and stop at J10B 4 MIDI IOs are available at J11E For MBCV V2 gates and DIN signals are only accessible via DOUT shift registers (which also act as level shifters). I consider to add the same possibility for MBSEQ V4 (as an option). So: if you want to create something which is compatible with both applications, go for two DOUT shift registers (resp. use a MBHP_DIO_MATRIX module) Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
latigid on Posted January 18, 2014 Report Share Posted January 18, 2014 Okay, it makes sense for all the gates to be on J5A/J5B (different to the other Cores). Right, I see the MIDI IO on J11E. For MBCV V2 I guess J5A/B will be used as analogue inputs then? >>> Maybe I will create a board for STM32F1 and LPC17 and we can sort out another one later for F4. Best regards, Andy Quote Link to comment Share on other sites More sharing options...
TK. Posted January 19, 2014 Report Share Posted January 19, 2014 For MBCV V2 I guess J5A/B will be used as analogue inputs then? Yes Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
airmailed Posted January 22, 2014 Report Share Posted January 22, 2014 apologies if this board was already mentioned: MINI-M4 for STM32 is a small ARM® Cortex™-M4 development board containing STM32F415RG microcontroller. It is pin compatible with PIC16F887 and PIC18(L)F45K20 microcontrontrollers and it perfectly fits into standard DIP40 socket. http://www.mikroe.com/mini/stm32/ Quote Link to comment Share on other sites More sharing options...
latigid on Posted January 26, 2014 Report Share Posted January 26, 2014 New topic: How about skipping ethernet altogether and going directly to WiFi? Adafruit offer a cheap breakout module running over SPI: http://www.adafruit.com/products/1469 Is there a free SPI buss for this purpose? I notice the STM32F4 board does not yet have an ethernet connector. Quote Link to comment Share on other sites More sharing options...
m00dawg Posted January 26, 2014 Report Share Posted January 26, 2014 How about skipping ethernet altogether and going directly to WiFi? Adafruit offer a cheap breakout module running over SPI: http://www.adafruit.com/products/1469Adding WiFi support might not be a bad option, but replacing wired Ethernet altogether would not be my preference. WiFi has higher latency and lower reliability such that some applications would benefit from a wired connection in my opinion. That said, given RTP-MIDI is now a thing, it seems like there may be multiple connection options in the next CORE is my guess. Quote Link to comment Share on other sites More sharing options...
TK. Posted January 26, 2014 Report Share Posted January 26, 2014 Sounds like a lot of work to adapt this - any volunteer? However, you could connect an ENC28J60: http://www.ucapps.de/mbhp_eth.html Cheap breakout boards for only US $4 are available at EBay: http://www.ebay.de/itm/New-ENC28J60-Ethernet-LAN-Network-Module-For-Arduino-SPI-AVR-PIC-LPC-STM32-/310670027142?pt=LH_DefaultDomain_0&hash=item4855606986 Then connect this module to a Wifi adaptor of your choice -> done Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
latigid on Posted January 26, 2014 Report Share Posted January 26, 2014 (edited) Yep, a fair amount of work... http://processors.wiki.ti.com/index.php/CC3000_Serial_Port_Interface_(SPI) Edited January 26, 2014 by latigid on Quote Link to comment Share on other sites More sharing options...
Burr_Master Posted January 31, 2014 Report Share Posted January 31, 2014 Dear Thorsten! Do not give up! We are waiting MBHP based STM32F4 Discovery, with great interest. Homebrew from Russia. Quote Link to comment Share on other sites More sharing options...
sneakthief Posted January 31, 2014 Report Share Posted January 31, 2014 TK definitely didn't give up. I have a prototype MBHP-STM32F4 board here so it's in the testing phase Quote Link to comment Share on other sites More sharing options...
eptheca Posted February 1, 2014 Report Share Posted February 1, 2014 I am a bit puzzled about something on the schematic J10A in the top left corner says D0 goes to PE8, but on the board further down it says PE8 goes to J10B D7, and that PE7 goes to J10A D0 I saw the "No Typo" message, but I am still puzzled Please enlighten me :) Quote Link to comment Share on other sites More sharing options...
Burr_Master Posted February 1, 2014 Report Share Posted February 1, 2014 to sneakthief Yes, after I went to MIOS32 Download page and saw the changes. Joyful expectation. Quote Link to comment Share on other sites More sharing options...
sneakthief Posted February 1, 2014 Report Share Posted February 1, 2014 eptheca: I have a prototype STM32F4D_Core carrier board in front of me. I think you should only follow the guides on the connector diagrams and not the board diagram - especially because there is no D7 on J10B. This is what I see: - J10A D0 goes to PE8 - J10B D15 goes to PE7 Quote Link to comment Share on other sites More sharing options...
eptheca Posted February 1, 2014 Report Share Posted February 1, 2014 Thanks sneakthief :) I just got a couple of Discovery boards yesterday and I can't wait for the new core PCBs. You lucky b.... All these small wires Quote Link to comment Share on other sites More sharing options...
TK. Posted February 1, 2014 Report Share Posted February 1, 2014 Do not give up! We are waiting MBHP based STM32F4 Discovery, with great interest. SmashTV ordered another prototype some days ago which allows to mount an alternative SD Card socket which is better available (e.g. at Mouser) We also fixed two imperfections and want to ensure that this board is 100% right before more people are using it. J10A in the top left corner says D0 goes to PE8, but on the board further down it says PE8 goes to J10B D7, and that PE7 goes to J10A D0 I fixed this in the schematic. The connections are like Sneakthief said Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
eptheca Posted February 4, 2014 Report Share Posted February 4, 2014 Thanks guys, I'm up'n running :) "these wires are making me thirsty" I am looking forward to the real PCB, but just couldn't wait when I got the Discovery boards. A bit of protoboarding has never killed anyone. I guess that's what CIA said about waterboarding as well ;) Quote Link to comment Share on other sites More sharing options...
mono Posted February 5, 2014 Report Share Posted February 5, 2014 ...after seeing a few prototypes of other stm32f4-core-boards i decided to upload a few photos from my board. it uses 2 dogm-glcd-displays, 2 midi-ports, 4 j10-buttons and the sd-card-connector... heres the top-view without any modules: and here the bottom-view: cheers, mOnO Quote Link to comment Share on other sites More sharing options...
eptheca Posted February 11, 2014 Report Share Posted February 11, 2014 I'm having some "jitter" with my encoder for the SCS I use the Bourns PEC 16 http://www.mouser.com/ds/2/54/pec16-245034.pdf Is there a way to change the encoder type for the SCS encoder? Could this help? I can't find it in any of the files Quote Link to comment Share on other sites More sharing options...
ilmenator Posted February 11, 2014 Report Share Posted February 11, 2014 You should be able to set the encoder type from within your application with the info provided here: http://www.midibox.org/mios32/manual/group___m_i_o_s32___e_n_c.html Quote Link to comment Share on other sites More sharing options...
sneakthief Posted February 11, 2014 Report Share Posted February 11, 2014 More info: http://www.midibox.org/dokuwiki/doku.php?id=encoders#bourns_pec11-series_detented_encoders_formerly_available_from_smashtv_through_2008 Quote Link to comment Share on other sites More sharing options...
eptheca Posted February 11, 2014 Report Share Posted February 11, 2014 so I should use DETENDED2 for these encoders but where can I change/set this? I can find the settings for all the encoders connected to DIN, but the SCS encoder is "left out" s32 MBCV_HWCFG_Init(u32 mode) { int i; // clear all encoder entries // they will only be preloaded via the MBCV_HW.CV2 file for(i=1; i<MIOS32_ENC_NUM_MAX; ++i) { // start at 1 since the first encoder is allocated by SCS mios32_enc_config_t enc_config; enc_config = MIOS32_ENC_ConfigGet(i); enc_config.cfg.type = NON_DETENTED; enc_config.cfg.sr = 0; enc_config.cfg.pos = 0; enc_config.cfg.speed = NORMAL; enc_config.cfg.speed_par = 0; MIOS32_ENC_ConfigSet(i, enc_config); } Quote Link to comment Share on other sites More sharing options...
TK. Posted February 18, 2014 Report Share Posted February 18, 2014 The SCS encoder configuration is well hidden in the scs.c module You can overrule it from mios32_config.h with: #define SCS_ENC_MENU_TYPE DETENTED2 But actually this is the default value anyhow, it won't make a difference. The problem must be somewhere else (wrong pin connections?) Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
eptheca Posted February 19, 2014 Report Share Posted February 19, 2014 after checking the pin connections and trying out another encoder with no improvement I changed it to DETENDED3, and now it works the problem was that after moving the encoder one step, sometimes it would jump back Cheers Thorsten :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.