Search results

  1. F

    Midi 2.0

    I think you might want to ask yourself a better question first: what is the maximal real resolution my faders can meaningfully deliver ? (maybe use a simple test jig and and i2c analog external multiplexer with high resolution ADC and/or a scope for that). It's probable that you'll find that...
  2. F

    Midi 2.0

    MIDI 1.0 already allows for up to 14-bit (2x 7bits) MSB/LSB resolution for many controls, I think that unless you need more than 16384 steps, that should be plenty for your fader hardware. You don't need to wait for MIDI 2.0 for that.
  3. F

    Stereo guitar/bass cabinet emulation

    Thanks for the explanations, personally I would have liked to have the ouput in the rear, the high current digital signals shifted a bit on the right and the analog expression pedals on the left rear side, the midi on the middle right, but considering the size and and the four layer design as...
  4. F

    Stereo guitar/bass cabinet emulation

    Looking at the space allocation on the board, I have naive noise related questions to ask: it seems the 9v power is very close to an output jack, similarly the T41 board is in the middle of the board, why not prefering a digital+power signals split from the audio signals (e.g. could the I/O...
  5. F

    Stereo guitar/bass cabinet emulation

    Sounds really good, my humble suggestion for your design is: please consider to maybe use 48Khz instead of 44.1Khz (or maybe an option for selecting it?): this would allow in future for integrating to other equipment like ADAT/SPDIF more easily if you would also implement digital outputs (e.g...
  6. F

    Midi 2.0

    But now devices use the standard "TSMIDI2.0" since a while, supported by the microsoft windows and driver implementation is the same used by Teensy midi devices (I checked all the kernel drivers used in both cases (T4 midi and my midi2 device), which are the exactly same standard ms windows...
  7. F

    Bootloader Chip For Teensy 4.0

    Had the same question, then read the datasheet, and it seems the chip is almost identical (including same mask sets erratum though I could note one USB pb fixed): I don't see anymore: ERR050101 USB: Endpoint conflict issue in device mode is gone in Rev.B...
  8. F

    Bootloader Chip For Teensy 4.0

    Simply said rather than in my previous message: the dmg2305ux role seems to be that it allows for reverse polarity protection while not causing a significant voltage drop and not causing significant current consumption/limitation as when compared to using a diode (8mV drop actually not 4mV in...
  9. F

    Bootloader Chip For Teensy 4.0

    Something that always intrigued me is that the mosfet (dmg2305ux) is always on (as the gate is always at GND level), is it only there for a kind of reverse polarity protection circuit? EDIT: Must be that the dmg2305ux P-Channel mosfet features a very low Rds(ON) an ltspice sim showed me only a...
  10. F

    Bootloader Chip For Teensy 4.0

    Hey Paul, thanks a lot for adding components locations in the schematics really useful! I think at least one cap (C13) is missing for T41, could it be the one not labelled just above C14 on the PCB?
  11. F

    Bootloader Chip For Teensy 4.0

    the pcb file should not be very useful at all to you unless you want to replicate copyrighted work, the pcb is highly integrated making it hard to reuse for a different board. Paul has provided not only the schematics but also a lot of instructions to make us successful in our integrations which...
  12. F

    Bootloader Chip For Teensy 4.0

    What would be great if not too long on your web page (sorry if you are already working on it) is a fleshed out diagram on this web page (e.g. a link for a truly minimum T40 implementation diagram ; we probably don't need the BAT54C's Schottky barrier diodes if no battery is used ...) and maybe...
  13. F

    Bootloader Chip For Teensy 4.0

    Amazing work already Paul, thank you so much !!! Order placed :)
  14. F

    Bootloader Chip For Teensy 4.0

    I don't see any valid reason why it would not be used more and more in commercial products, and I'm sure it is the case already. As for software side, I would tend to trust more community libs developed and tested by sometimes by thousands of users instead of a company specific code, developed...
  15. F

    Teensy 3.x multithreading library first release

    So in all known teensy 32 bit cores I know except __MKL26Z64__ (LC), digitalPinToInterrrupt(p) gives interrupt p, so you should be ok with int 2. Note that even for lc this true but it has so undefined holes (-1) : #define digitalPinToInterrupt(p) ((((p) >= 2 && (p) <= 15) || ((p) >= 20 &&...
  16. F

    Teensy 3.x multithreading library first release

    A quick look at the code shows that it can potentially use IRQ_GPT1, IRQ_GPT2 (at least one of them), for the scheduler and ticks: It will use one or both of those depending of the chip: // ../.. _VectorsRam[11] = threads_svcall_isr; // ../.. _VectorsRam[15] = threads_systick_isr; // only...
  17. F

    Mysterious Crashes with String Functions

    What I always recommend to beginners especially in c/c++ languages is to _always_ initialize the variables they create scriptRec *scriptHead = NULL; scriptRec *scriptTail = NULL; , this is because c/c++ languages don't guaranty that memory is going to be zeroe'd before used, it depends on the...
  18. F

    Mysterious Crashes with String Functions

    Typically when you get to this kind of trouble the problem lies somewhere else in your code that where you currently focus: the pointer assignment is obviously not the root cause of the crash, but I can see that these pointers are not assigned to NULL before used, so it may simply crash...
  19. F

    Mysterious Crashes with String Functions

    Apart from the fact that this example will not return NULL as you test with 'string' not 'String', and assuming that: 1. you handle the NULL case properly in your original code 2. if you return a pointer in your original, that the pointer is referencing a valid zero terminated string, then you...
  20. F

    Mysterious Crashes with String Functions

    Stack and heap memory usually share in the same ram memory space on microcontrollers (not talking about additional spi ram/flash memory here), so allocating data on the heap would still not convince me that you don't have a memory overflow? Two things I would try: 1. Reduce this global buffer...
  21. F

    Compiling Teensy Sketches with VisualCode (Win10)

    Makefiles are evil to me, what do you specifically need to change all the time directly in the Makefile that you could not do elsewhere ? I would encourage luni to contribute to bigger tools in the community, and by all means also support that tool if it still has afficionados.
  22. F

    Teensy 3.x multithreading library first release

    So I think you want to use code like below : the idea is to test is a boolean flag (i.e.: my_resource_ready ) is true and early bail out if not which will cause the next thread to be executed so very similar to the suspend function you try to achieve here's some quick and dirty pseudo-code (not...
  23. F

    Compiling Teensy Sketches with VisualCode (Win10)

    You should probably try it now, it is updated regularly and very powerful, what specifically does not fit your need? Now that explains better why you started this, but I think new users should be aware this is fairly ancient material then and look first at PIO. You may miss the important...
  24. F

    Compiling Teensy Sketches with VisualCode (Win10)

    Also using PlatformIO, (which also has infrastructure for unit tests development BTW), why reinventing this, did I miss something there ? https://platformio.org/install/ide?install=vscode
  25. F

    Teensy 3.x multithreading library first release

    @Torsten it should be possible with the use of semaphores, of course also there (see lock, unlock, try_lock): just interlock the producer and consumer of your resource.
  26. F

    Future Teensies!

    About sensing too, USB power detection option (get a 3.3v level out of the VUSB maybe add a small mosfet there?). About smart power switching maybe also add space for very small MBR120VLSFT1G diodes after 5V and VUSB (simplifications are possible after that change again saving space), that I...
  27. F

    Bootloader Chip For Teensy 4.0

    @PaulStoffregen Any update ?
  28. F

    Bootloader Chip For Teensy 4.0

    Can we order them from paul now, despite not showing up on the current bootloaders webpage, if not when can we expect them for sell?
  29. F

    return policy

    Tried everything I could to repair one of my two teensy 4.1 i received a while ago. One of them worked fine the other one only worked once, even then when i could program it ; it was actually real hard to insert the connector, then i got no power the next times, then used my smd rework station...
  30. F

    Teensy boards servicing Manuals(or sheets)

    Hi, recently I received a board that missed one capacitor, and that made me think that it would be great if we could have a BOM/PCB Fab overlays helping us to service and replace components on the board. I know we have the schematics, but it gets tricky on high density boards to map components...
  31. F

    Future Teensies!

    Context: As many of you know, it is possible to debug those 32-bit teensies by soldering on the bootloader chip (i.e.kinetis kl02z) derivations for SWD (DIO, CLK, RESET) pins and then just set the PTA01 /reset pin on those chip to GND while debugging in order to deactivate the bootloader...
  32. F

    Teensy 4.1 Beta Test

    That's fine if there is a 10 days or so delay, I'm sure I won't be finished with my new Kicad designs I started just after I was aware of that new board, as that should greatly simplify my current projects and all in all will shorten my design time anyway... @Robin Thanks for the update on...
  33. F

    Teensy 4.1 Beta Test

    Well too bad for me and great for the testers of this batch, thanks for your reply and long life to 4.1, again another beautiful board. Thank you for your sustained efforts, today I only use teensy boards for my new arduino projects, because your boards and libs are simply amazing, keep on the...
  34. F

    Teensy 4.1 Beta Test

    @Franck B :I know thanks, but if there is some stock left of beta ones, I would be interested to get some of them for my lab use, as every buck counts when you spend on pcb's and various parts ...
  35. F

    Teensy 4.1 Beta Test

    I'm not on the list but would love to test these pre-production boards early too for my current more challenging musical pcb projects, I would offer easily $10 for each of these beta boards too if it helps (and of course shipment too) :)
  36. F

    Teensy 3.1 USB_MIDI NRPN Support

    Just analyzed this code this morning, it just sends a 32 bit value to usb and that's what is called by the usb midi send(...) method and also all sysex sending code. I personally would not use this low level API that could change in future, and would probably use send() instead. When you use...
  37. F

    Teensy 4.0 external USB-B connector: board D+ D- pads not connected to microUSB ?

    Until you get an external power supply ; it does not really matter if you connect to VUSB or VIN as they are connected, you get more than enough power from VUSB to feed the entire board and USB powered devices are simple to use. If you plan to use an external power supply, then you have to cut...
  38. F

    Teensy 4.0 external USB-B connector: board D+ D- pads not connected to microUSB ?

    It all depends on your design choice, my form factor and enclosure does not easily allow for an extra panel mount like this so i preferred to reuse my pcb USB connector. Frankly, the increased T4.0 speed should not matter in this application, as midi speed is about 31250 bps, but the reason why...
  39. F

    Teensy 4.0 external USB-B connector: board D+ D- pads not connected to microUSB ?

    No you can't without a workaround (see mjs513 suggestion), that's what I realized at my expense as DP and DM are USB host *only*, not USB device. Using the second USB midi port was what I was analysing this morning and it does not seem easily feasible (lot of hardcoded, fast but not...
  40. F

    Teensy 4.0 external USB-B connector: board D+ D- pads not connected to microUSB ?

    Just had a quick look now and after analysing from: usb_midi_class usbMIDI; Then looking inside the class and following for sending only already: usb_midi_class define in a send() method that then calls (wraps) usb_midi_write_packed((uint32_t n) c code. There is as you can notice no dependency...
  41. F

    Teensy 4.0 external USB-B connector: board D+ D- pads not connected to microUSB ?

    Very interesting (because i would prefer a software fix, and also because it potentially gives the possibility of having an extra usb port for debug serial use ) , Would the USB characteristics be similar in terms of speed ? (I would like to use the USB2 480Mbps speed if possible).
  42. F

    Teensy 4.0 external USB-B connector: board D+ D- pads not connected to microUSB ?

    Now that is a much better workaround in my use case, so that I can keep my small form factor originally planned that way and wire my pcb connector. Thanks a lot for sharing this mjs513.
  43. F

    Teensy 4.0 external USB-B connector: board D+ D- pads not connected to microUSB ?

    True and I read that too, but I was thinking originally that it could fullfill both host and device functions, which it does but simply not the D+/D- signal pads which I did not know were actually dedicated host only lines, maybe the 4.5 version will feature both device and host pads with a...
  44. F

    Teensy 4.0 external USB-B connector: board D+ D- pads not connected to microUSB ?

    Was thinking about this adapter too and this is probably the easiest way to work this around. Thanks a lot for your feedback defragster + tele_player, I certainly have learned a lot on this board in a very short time thanks to both of you guys, should have used the forum sooner! (as usual with...
  45. F

    Teensy 4.0 external USB-B connector: board D+ D- pads not connected to microUSB ?

    USB2 (480Mbps) can also work on USB-B connectors right? so I don't see yet why it would not be be possible to interconnect the microUSB connector with a second (tougher) USB-B connector? I don't need the USB host ID pin (as I use the port as a device) so the 4 USB-B pins should work fine as a...
  46. F

    Teensy 4.0 external USB-B connector: board D+ D- pads not connected to microUSB ?

    Yes, thanks at least that confirms why it does not work! Do I need to unsolder the microUSB port to get this build working with USB-B then?
  47. F

    Teensy 4.0 external USB-B connector: board D+ D- pads not connected to microUSB ?

    Hi Paul, First of all, thanks for these great boards you developed, I bought two 4.0's and I enjoy very much the MIDI functionality on them (using latest 1.49 beta 3) ! Context: Enthusiastic I developed a bunch of new PCB's, that accept an external big USB-B connector, more adequate for a...
Back
Top