BG Posted November 26, 2019 Report Share Posted November 26, 2019 Hi! We are building MIDIBox v4 from the PCBs ordered from Modular Adict https://modularaddict.com/midibox-seq-pcb But could not find the instructions for this exact board (just Wilba's), and now we have a problem that it sends out weird messages to the STM32F4 core. The unit starts up fine, but as soon as any button is pressed or encoder turned, the screen gets weird characters and it seems all the controls are messed up. We suspect the Resistor network might be the problem, that is not the same specification as needed, we used this: https://lomex.hu/pdf/(bou)_4600_serie.pdf Also it is a question if the encoder pinout is correct and if it needs the arrangement suggested by Hawkeye in this comment? Any help please what is the problem? I attach the picture of the current stage of the PCB build. Quote Link to comment Share on other sites More sharing options...
Hawkeye Posted November 26, 2019 Report Share Posted November 26, 2019 With these "symptoms", it's most likely not the encoder pins not being crossed (but they should be, if you are using e.g. ALPS STEC12, @norbim1 found this out some years ago, thanks again!). If the pins are not crossed, i only sometimes saw some slightly erratic encoder control, e.g. the cursor sometimes jumping two steps instead of one, when scrolling, but one could use the unit without big problems. With this issue, i'd suspect a problem on the DIN side, check the 74HC165 shift registers and their respective pullup resistors/resistor networks. If the screen freezes up, make also sure you are feeding it the correct voltage (5V/3V3 jumper) and that your 5V PSU power rail is sufficiently stable, i've seen very cheap USB "phone charger" PSUs that would cause displays going scrambled, either they were overloaded from the beginning or they produced a lot of switcher noise on outputs. Good luck and many greets! Peter Quote Link to comment Share on other sites More sharing options...
CJ55 Posted November 26, 2019 Report Share Posted November 26, 2019 (edited) Which resistor network are you using exactly? The data sheet (from your link) shows 3 different versions: isolated (-102), bussed (-101) and dual terminator (-104). You need the bussed ones! Edited November 26, 2019 by CJ55 Quote Link to comment Share on other sites More sharing options...
BG Posted November 27, 2019 Author Report Share Posted November 27, 2019 (edited) Measured the resistor network – they seem fine, every pin has 10k to the common pin. So the resistor network seems correct by measuring them. And it is 101 (bussed)... It turned out the store mixed up the IC for the STM32F core (they gave us not the IC1 74HCT541, but 74HCT154). We bought the correct ICs, replaced them, but no luck, it gives the same erratic behaviour - buttons not triggering the right commands or pages... Any idea how we can troubleshoot the source of the problem? Edited November 27, 2019 by BG Quote Link to comment Share on other sites More sharing options...
latigid on Posted November 27, 2019 Report Share Posted November 27, 2019 What HW config file do you have on your SD card? Quote Link to comment Share on other sites More sharing options...
BG Posted November 28, 2019 Author Report Share Posted November 28, 2019 (edited) @latigid on Thanks for the point, we tried with Wilba HWconfig, and it works! What a relief... But in some forum post it was written that the Modularaddict board is for the Standard HW config. Some good concise guide would be nice for the whole project Edited November 28, 2019 by BG Quote Link to comment Share on other sites More sharing options...
Hawkeye Posted November 28, 2019 Report Share Posted November 28, 2019 It's all documented in here, including the proper hwcfg reference - Modularaddict sells the Wilba boards. Have fun with your new SEQ V4 and have a nice upcoming weekend! Peter Quote Link to comment Share on other sites More sharing options...
BG Posted November 29, 2019 Author Report Share Posted November 29, 2019 (edited) Thank you @Hawkeye !!! All the best wishes!!! Edited November 29, 2019 by BG 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.