Antichambre Posted October 20, 2018 Author Report Posted October 20, 2018 Ahah :) You did a module from this machine, good idea, this gear is a 'must have' for an electronic music studio. I've got a Psycho SY-1M, that I suppose you know Quote
slo Posted October 27, 2018 Report Posted October 27, 2018 Well done, that is a real Midibox milestone. Quote
Antichambre Posted November 2, 2018 Author Report Posted November 2, 2018 (edited) I made a short video for dipCoreF4 new second USB Host port. I made a dirty MIDI class which will deserve to be cleaned and integrated better in MIOS32 but it works. I tried to use the OTG_HS dedicated DMA but it's maybe a bit complicated for me, I will need help for that part. (edit) maybe DMA don't work with BULK transfer type !? So here first regular USB(OTG_FS) is connected to my laptop and MIOS Studio. Then I'm connecting 2 different MIDI devices to the second USB(OTG_HS in FS and Host mode), a waldorf streichfett and a Korg PadKontrol. Then I try Mouse and Keyboard for HID demonstration. Hope you like this new feature cause USB is a tricky thing to code! Edited November 3, 2018 by Antichambre 2 Quote
Zam Posted November 9, 2018 Report Posted November 9, 2018 Hello This compact modular core is so attractive... Nice work ! Best Zam Quote
FantomXR Posted January 14, 2019 Report Posted January 14, 2019 @Antichambre I'd like to integrate such feature onto my mainboard. Are you willing to share the schematics and if necessary the code? Any feedback is very appreciated. Thanks! Chris Quote
Antichambre Posted January 14, 2019 Author Report Posted January 14, 2019 Hello Chris, Which feature do you need? Best Bruno Quote
FantomXR Posted January 14, 2019 Report Posted January 14, 2019 Hey Bruno, I'd like to connect another USB device (mouse or midi controller) to my core. :-) Like in your video... Quote
Antichambre Posted January 14, 2019 Author Report Posted January 14, 2019 You want two USB with HID support. Which uC you use on your 'mainboard'? I implemented the second OTG HS for the STM32F405RG, coded in MIOS32 with/for the DipCoreF4 pinout. I just put an STMPS2141STR as protection, the same as Disco one.https://www.st.com/content/ccc/resource/technical/document/user_manual/70/fe/4a/3f/e7/e1/4f/7d/DM00039084.pdf/files/DM00039084.pdf/jcr:content/translations/en.DM00039084.pdf On 15/09/2018 at 4:48 PM, Antichambre said: => Then like I said I will make some changes on the STM32F405 pins and on MIOS32 side. Add pins for DP/DM and Over-current/VBUS Drive GPIO of the second USB on the dip40(other extra pins). And modify the dipBoardF4 for that purpose of course. Quote
FantomXR Posted January 15, 2019 Report Posted January 15, 2019 (edited) My mainboard uses the 407. Hm... there is still something I do not get. The discovery-boards use the micro-USB-connector for USB-Host-Mode. That means, when connecting a device (mouse or MIDI controller) to the discovery-board via this board it's not possible to connect to the core itself through USB (because the USB-port (PA12 & PA13) is blocked through the device). But in your video I see that you still have your core connected through USB to the computer. How did you do that?? :-) Edited January 15, 2019 by FantomXR Quote
Antichambre Posted January 15, 2019 Author Report Posted January 15, 2019 (edited) 3 hours ago, FantomXR said: That means, when connecting a device (mouse or MIDI controller) to the discovery-board via this board it's not possible to connect to the core itself through USB (because the USB-port (PA12 & PA13) is blocked through the device) Yes the disco is designed like that. Only the OTG FS (USB#1) is available. but the stm32f4has two OTG, the FS and the HS, this last is made to use a high speed phy but can work at full speed without. check the chart I share above, you will see that there's pinout for the FS and the HS on dipcore columns. 3 hours ago, FantomXR said: But in your video I see that you still have your core connected through USB to the computer. How did you do that?? :-) In MIOS32 the problem with the 407 is that the pin for the second USB(OTG_HS) are used for SPI2 which is your J8/9 Spi port. Then on the dipCore I moved the SPI function to other pins . AND I implement it in MIOS32 ONLY for the DipCooreF4. In MIOS32 the DipCore has is own pinout and functions. Edited January 15, 2019 by Antichambre Quote
Antichambre Posted January 15, 2019 Author Report Posted January 15, 2019 In this extended chart you can see the functions available for each pin, (It's from stm32f4 documentation.) Quote
FantomXR Posted January 15, 2019 Report Posted January 15, 2019 Got you... but changing the pins for SPI2 in MIOS32 firmware shouldn't be that hard. So I could move those functions to other pins. But I don't have a clue how to implement that second USB port in the firmware... and I assume you don't want to share this informations which I can totally understand. Quote
Antichambre Posted January 15, 2019 Author Report Posted January 15, 2019 10 minutes ago, FantomXR said: but changing the pins for SPI2 in MIOS32 firmware shouldn't be that hard. So I could move those functions to other pins. Yeah but you have to be sure you don't loose on other function on the new pin or they are not used somewhere else in MIOS32. 11 minutes ago, FantomXR said: and I assume you don't want to share this informations which I can totally understand No no there's no problem for that, this is just a bit dirty in code for the moment, and I have to complete it, I didn't write any callback installer for the HID for example, this is toDo. I can share, I already shared it with my dipCoreF4 beta testers ;) Quote
FantomXR Posted January 15, 2019 Report Posted January 15, 2019 17 minutes ago, Antichambre said: Yeah but you have to be sure you don't loose on other function on the new pin or they are not used somewhere else in MIOS32. 33 minutes ago, FantomXR said: I'll look into it ;-) You don't have any suggestions which pins I can use? :-) Quote
Antichambre Posted January 15, 2019 Author Report Posted January 15, 2019 1 hour ago, FantomXR said: I'll look into it ;-) You don't have any suggestions which pins I can use? :-) No I can't, it depends on the functions you need on your 'mainboard' and the ones you already mapped. Best Bruno Quote
Antichambre Posted April 1, 2020 Author Report Posted April 1, 2020 (edited) Hello some update were made on the dokuwiki ;) dipCoreF4 A reduced Core for your MIDIbox App, an STM32F405RG in a DIP40 format. Features MIOS32 uses same processor family and drivers(no deep change). Same internal hardware as Disco or wCore (speed, memory, peripherals, etc…) . Board pinout and package compatible with a MIOS8 PIC USB connector onboard. 2 OTG are available, second(new) USB is Host only. 5V power input and led. 3.3V regulator and led on board. 74HCT541 on board for the 5V output ports. User and Reset buttons. 2 user leds. 12 extra pins for USB, buttons and leds. Your favorite Core is now a current component easy to integrate. All commons MIOS32 ports are available except: General purpose J10x ports were removed. LCD port was reduced to a serial one, no more pins J15.D0-D7 , no back-light power supply. 2 UART only(2 MIDI In/2Out). 2 AIN channels only(e.g. pedal inputs). SPI slave only supported by J19(SPI3). Check the dipBoardF4 for more details Download dipCoreF4 eagle lib for easy integration in your design. dipcoref4_v2a.zip Pinout The dipCoreF4 and the legacy MIOS32 ports. Check dipBoardF4 for more details about the connectors. BOM Due to the small SMD, which is sometime a difficulty to solder, the board is already assembled by manufacturer, except the connectors. The mini-USB is optional. Qty Value Package Parts Mouser Reichelt Conrad LCSC Notes Headers 3 1*20 male 437-3501012000006101 No Adapted to sockets Mill-Max 0552-1-15-01-11-27-10-0 or 0553-1-15-15-11-27-10-0 Connnector 1 mini-USB THT USB 571-1734510-1 no! for other ref take care about restricted area! Edited April 19, 2020 by Antichambre 3 Quote
Zam Posted April 1, 2020 Report Posted April 1, 2020 Hello Bruno Look great ! If only I got this 4 years ago, my midibox design would have the core directly on the main board... Bravo Zam Quote
Antichambre Posted April 1, 2020 Author Report Posted April 1, 2020 10 minutes ago, Zam said: Hello Bruno Look great ! If only I got this 4 years ago, my midibox design would have the core directly on the main board... Bravo Zam Maybe time to update your design ;) Merci! Bruno Quote
Zam Posted April 1, 2020 Report Posted April 1, 2020 1 hour ago, Antichambre said: Maybe time to update your design ;) Unfortunately not enough interest for my "highend", costly, and complex automation to justify another hundreds hours of "R&D", despite I still have in mind a "simplified" version...but still in standby for the moment. Best Zam Quote
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.