Search results

  1. Etienne

    Teensyduino 1.53 Released

    Thanks, next time i'll do a PR. I don't think there's already one pending.
  2. Etienne

    Teensyduino 1.53 Released

    Hi, I already found that in Teensyduino 1.52, but it's still here : In teensy4 core, file usb_rawhid.c, line 139, SEREMU_TX_SIZE should rather be RAWHID_TX_SIZE ...
  3. Etienne

    Teensyduino 1.52 Released

    Hi, there's something I don't understand, that might be a copy/paste bug: in usb_raw_hid.c, line 140 : arm_dcache_flush_delete(txdata, SEREMU_TX_SIZE); I would rather have expected : arm_dcache_flush_delete(txdata, RAWHID_TX_SIZE); Since SEREMU_TX_SIZE and RAWHID_TX_SIZE are both 64 in...
  4. Etienne

    3D Rendering on Teensy

    Amazing work !
  5. Etienne

    Teensyduino 1.51 Released

    Hi Paul, Thanks a lot for adding USB device High Speed support for the Teensy 4.0 (I've seen audio is coming too in 1.52). This is really awesome... I'm currently trying to adapt on the Teensy 4.0 all the work I've done concerning custom hid devices on Teensy LC and 3.x boards (this is used in...
  6. Etienne

    Interrupt priority for attachInterrupt?

    Thank you very much luni, I'll use that to build a table.
  7. Etienne

    Interrupt priority for attachInterrupt?

    Thanks, I have noticed all these tables, but I could not find the one I'm talking about. I'm not trying to attach an interrupt, I already figured that out. I'm talking about setting the priority of any pin without having to figure out manually the port to which the pin is assigned.
  8. Etienne

    Interrupt priority for attachInterrupt?

    Hi, I would like be able to set interrupt priority as well, and I was wondering if there as a table somewhere that would give me the port corresponding to a pin, or if I have to build it myself from the schematics ?
  9. Etienne

    teensy 3.2 nextion

    I think I just found the solution ! : I increased the serial tx buffer size to 4096 (serial1.c, line 40). Weird, as the Teensy LC doesn't have a FIFO on Serial1, It shouldn't have worked with it.
  10. Etienne

    teensy 3.2 nextion

    Hi vlelectroniclab, I was about to open the same kind of topic, so I'll take the opportunity to use yours since my problem is related to your request. I've been struggling for a long time now trying to program a 3.2" Nextion screen using the Teensy 3.2 as a serial bridge, without success so...
  11. Etienne

    Encoding multiple lower sampling rate audio signals in 44100 (over usb audio)

    Ok thanks, no problem, no hurry, keep up the good work !
  12. Etienne

    Encoding multiple lower sampling rate audio signals in 44100 (over usb audio)

    in other words (couldn't edit the last message after 2 hours...) : memset(usb_audio_transmit_buffer + len*num_channels, 0, num * num_channels * num_bytes_per_channels);
  13. Etienne

    Encoding multiple lower sampling rate audio signals in 44100 (over usb audio)

    Hi Paul, I'm currently trying to modify the core to get any number of channels working on usb input/outputs, at any sample rates... And as you said, that's not an easy task... Anyway, while I'm still not sure to understand all the code you've written, I think I've found a bug, line 333 of...
  14. Etienne

    Teensyduino 1.42 Released

    Also there's a typo in usb_desc.h an d usb_undef.h : ENDPOINT_TRANSIMIT_ONLY should be ENDPOINT_TRANSMIT_ONLY
  15. Etienne

    Teensyduino 1.42 Released

    Hi, I've found 2 mistakes in Audio gui, index.html : line 1913, instead of <... data-template-name="AudioSynthSimpleDrum">, it should be <... data-template-name="AudioSynthKarplusStrong"> line 1998, instead of <... data-template-name="AudioSynthWaveformSine">, it should be <...
  16. Etienne

    Breakout board for the microSoundRecorder including environmental logging

    oooh I see, thanks for the info defragster !
  17. Etienne

    Breakout board for the microSoundRecorder including environmental logging

    I don't know why you can't edit your post, you should have an edit button in the bar at the bottom of it, but it seems it has disappeared from my posts as well. Maybe after some time you can't edit posts anymore ?
  18. Etienne

    Breakout board for the microSoundRecorder including environmental logging

    Hi, sorry, but what does exactly mean "environmental audio recorder" compared to a simple "Audio Recorder" ? There are errors in your post : - The link to the github repo of the microSoundRecorder software is not working, there is a "]" at the end that should be removed. - ICS-43434 are I2S...
  19. Etienne

    Custom HID hack

    Ok now I send a Hid feature request with the magic sequence to the seremu interface, so I can reboot the board I want :) So the only problem left seems to be windows usb caching mystery :(
  20. Etienne

    Custom HID hack

    Ok, I merged the custom hid code in the latest beta, it works well. Great improvement in compile time :) I did my own fake serial monitor in which I can choose the PID I use, so that's ok. However I still have a problem, the auto-upload feature of the Teensy loader seems to work the same way as...
  21. Etienne

    Custom HID hack

    Problems 1) and 2) solved by using the same Product ID as the standard Keyboard/Mouse/Joystick USB Type = 0x0482. I guess the teensy gateway fake serial expects only certain VID & PID. However since windows had already seen this USB device, I still had the name "Keyboard/Mouse/Joystick" in the...
  22. Etienne

    Custom HID hack

    Hi, I've been digging around Teensy core to be able to do any custom HID device that can be configured in the sketch code. I found a way (an ugly one I think), by adding an empty new HID interface like one would do to create a new HID type (by touching usb_desc.h, usb_desc.c, etc...), except...
  23. Etienne

    FastLed vs Neopixel vs Audio library - CPU overload?

    Oh sorry I didn't see the end of the readme. I thought of this solution (connecting pin 24 to 17), but I was wondering if there is any risk of damaging the MCU if the code configures these 2 pins as outputs ? (shouldn't happen with the proper code though, as I guess all pins are initialized in...
  24. Etienne

    FastLed vs Neopixel vs Audio library - CPU overload?

    Hi, Great work. So if I understood well, the pin 17 of Teensy LC (that can directly drive WS2812 LEDs) can not be used with this library ?
  25. Etienne

    Node Red / Audio System Design Tool Modification

    Thanks Pensive :), Concerning the timer library, I didn't know the Timer lib you presented, but have you seen the "Software Timer" module doing oscillations in Node-Blue ? Maybe I didn't understand what you want, but it looks like it is (except it's only software and it needs a hardware...
  26. Etienne

    Node Red / Audio System Design Tool Modification

    Hi, - Added nand, nor and xor/xnor gates, but I think I'll remove the negated version and add an inverted output for each gate instead. - colours on every types of modules, added new icons and fixed a lot of display bugs - made the info pop up in the left palette work again. - Still a lot of...
  27. Etienne

    Node Red / Audio System Design Tool Modification

    Hi Kamil, Yes the import clipboard menu doesn't work, I haven't found yet why (I'm quite new to JavaScript), you can use the keyboard short-cut "CTRL-I" instead. Thanks for the modules suggestions, I've added them to the todo list There's so much modules to be done... I'll add in the docs how...
  28. Etienne

    Node Red / Audio System Design Tool Modification

    Should be ok now. Thanks Thanks a lot, I found the problem. It was the delayNanoSeconds function I had written based on delayMicroseconds. I don't know why it compiled before, but I added the same check as the one in delayMicroseconds and it works. I updated quite a lot of things, including...
  29. Etienne

    Node Red / Audio System Design Tool Modification

    Thanks for the info, but it may not work anymore (or not everywhere). I'm not a web expert, I'll try to get help from a friend tomorrow to get it right. I've put a copy in the original location : http://www.aiwave.fr/gui I'll keep it there until it's fixed. Another thing : I've updated the...
  30. Etienne

    Node Red / Audio System Design Tool Modification

    hmm, as it was a DNS problem, I guess it just needs time to propagate. It may need 24 to 48 hours at most. Sorry for this... In the mean time, if you want to try out, you can download the gui folder of the lib and open the "index.html".
  31. Etienne

    Node Red / Audio System Design Tool Modification

    It should work now, please try again :)
  32. Etienne

    Node Red / Audio System Design Tool Modification

    Ok sorry, I've tried from another IP, and it doesn't work. It seems I have a server configuration problem, as I'm only able to access it from my own IP address. I'm currently looking in my server configuration to find the problem, I'll keep you updated
  33. Etienne

    Node Red / Audio System Design Tool Modification

    Hi everyone, I've finally uploaded a first very-early-beta of the arduino library that comes with the gui tool. It's here : https://github.com/EtienneGameSeed/node-blue The online version of the tool has moved here : http://www.nodeblue.org/gui I hope you'll like it. There's still a lot of...
  34. Etienne

    Node Red / Audio System Design Tool Modification

    These objects refer to a library I'm currently writing. It's in late alpha stage I would say (not all base features are present), I will release a beta on Git as soon as I think it is usable by other than me :) I've updated the gui to let you see the latest progress on this side.
  35. Etienne

    PuggableUSB for Teensy ?

    A totally customisable class : you can choose the number of buttons, analog axes, hat switches, product name, VID, PID etc... Here's my current constructor (works on Leonardo): class PluggableHID { public: PluggableHID( const uint8_t* productName, const uint8_t* manufacturerName...
  36. Etienne

    PuggableUSB for Teensy ?

    Hi everyone, I'm currently working on an evolution of the Arduino Joystick Library, that is using AVR PluggableUSB system. Is there any plans to port PluggableUSB system to Teensy or has anyone done it ? Thanks
  37. Etienne

    Node Red / Audio System Design Tool Modification

    sorry, server was down ! Fixed now
  38. Etienne

    Node Red / Audio System Design Tool Modification

    Edit : ok I've managed to add node parameters, they are saved and used when generating code, as class parameters. I've also managed to change dynamically the number of inputs (see the HID Send object), but I didn't manage to have a redraw when leaving the edit window. I wanted to see...
  39. Etienne

    Node Red / Audio System Design Tool Modification

    I love this interface too, this is really powerful. I've a lot of code spread in different projects, and very often for a new project, I'm wasting time regrouping all these piece of code. So I'm trying to adapt this red-node interface, to do a more generic input/process/output system, but not...
  40. Etienne

    Anyone knows if the Teensy 3.6 USB is faster?

    Yes it's easy to get exited. I've begun to try to modify your code, but as expected it's far from straightforward, and I can't afford to spend weeks or even month reading thousands of pages of documentation about EHCI and K66, building a stack from scratch as you do. I'm more focusing on higher...
  41. Etienne

    Anyone knows if the Teensy 3.6 USB is faster?

    Now that's excellent news ! Congrats Paul :) I suppose this was the hardest part wasn't it ? Do you think it will be difficult do modify your code to make the device mode ? As soon as there's interrupt transfer support, I can dig into the code and try to add the HID stuff. (sorry to hassle you...
  42. Etienne

    Anyone knows if the Teensy 3.6 USB is faster?

    Did you get in touch with a NXP engineer to get some help ? I have a friend working at Freescale, maybe I can ask him to get us an appropriated contact. After all the guys that designed the hardware should know how to use it right ? Host USB support is probably much more complex than Device...
  43. Etienne

    Anyone knows if the Teensy 3.6 USB is faster?

    Thanks for the update Paul. To be honest, the mess between Arduino.cc and Arduino.org has anoyed me very much, especially when I discovered the story behind Arduino (https://arduinohistory.github.io/). This story, the lack of software evolution on the cores and the IDE of the Arduino, the...
  44. Etienne

    Anyone knows if the Teensy 3.6 USB is faster?

    No update, I was expecting some help to find where the code dealing with this secondary USB port is, but nobody replied. I've searched by myself but could not find where that part is, if there is anything about this feature somewhere in the Teensy Core. "regular Arduinos" does not mean anything...
  45. Etienne

    Anyone knows if the Teensy 3.6 USB is faster?

    Hi everyone. I've received my teensy 3.6 last week :). I'm so thrilled, this is exactly the device I've been waiting for. Thank you so much Paul for having designed this board, it rocks ! I'm very interested to have a look at the usb stack so I can do a high speed game controller using the 2nd...
  46. Etienne

    How to create a new USB device type with a Teensy 3.2

    Ok thank you very much for the quick reply. So I guess that everything happens in usb_dev.c if I want to deal with force feedback reports ?
  47. Etienne

    How to create a new USB device type with a Teensy 3.2

    Hi, I'm trying to create a new USB device type with a Teensy 3.2, which will present a Joystick hid and a virtual serial interface. It is working but as I would like to include FFB feature to the joystick (and raw Hid as well later), I need another endpoint and a different descriptor. I have a...
  48. Etienne

    Java error w/ Arduino 1.6.7 Serial Monitor, Raw HID, OSX 10.9.5, Teensy 1.27

    Ok I found out why I couldn't send to seremu : I had to send a full 64 bytes buffer. Here's the corrected code : int32_t cDeviceInterface::SendData (uint8_t *val, uint32_t len) { uint8_t buf[64]; len = min(len,sizeof(buf)); uint32_t i = 0; for (; i < len; i++) buf[i] = val[i]; for (...
  49. Etienne

    USB Joystick Rumble/Force Feedback on Teensy 3.1

    Hi everyone, I've successfully modified the Arduino Leonardo core (same MCU as teensy 2.0), you can have a look at this thread. Here are the source (these are not the latest one, but they have the basic FFB feature) : http://www.aiwave.fr/downloads/ESP_WHEEL_0.3.zip The files I've modified in...
  50. Etienne

    Java error w/ Arduino 1.6.7 Serial Monitor, Raw HID, OSX 10.9.5, Teensy 1.27

    Hi, I have exactly the same issue, but I don't know how to incorporate your java source fix in my 1.6.7 Arduino ide install (could someone help me on that ?) However I also have the same issue trying to send directly to the HID seremu interface with hidapi in the c++ application I'm developing...
Back
Top