Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: vjmuzik

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    127

    SPI.transfer sends full bytes, by contrast...

    SPI.transfer sends full bytes, by contrast Serial.print will not display leading zeros when showing as a binary value so it's not actually a 7 bit number.
  2. You can do an if statement to tell if something...

    You can do an if statement to tell if something is connected like this:

    if(midi1){
    //Do something here
    }

    The other things you can do are these to help identify devices, but I don't believe...
  3. Replies
    102
    Views
    6,680

    You would be correct in that assumption, I’ll fix...

    You would be correct in that assumption, I’ll fix that right away.
  4. Itís close but I can see the issue with these...

    Itís close but I can see the issue with these lines here:

    Descriptor 4 = INTERFACE
    MIDIDevice claim this=20001CC0
    len = 99
    Interface is unknown (might be Yahama)
    type: 36, len: 7
    MIDI...
  5. Replies
    49
    Views
    2,361

    I’m not sure of the behavior with WizNet vs...

    I’m not sure of the behavior with WizNet vs NativeEthernet, but I do know you can’t use the same port more than once. You also aren’t really limited in the number of sockets you can have once you add...
  6. Best I can tell is that the USB Midi is not class...

    Best I can tell is that the USB Midi is not class compliant since this device does need a driver as per the Boss website and the the lsusb results only show Vender Specific Classes. If you wanted to...
  7. Replies
    102
    Views
    6,680

    The first if statement is to make sure you the...

    The first if statement is to make sure you the number you entered is not 0 because you need to have at least 1 socket. The second if statement makes sure you haven’t entered more sockets than FNET is...
  8. That should be more than enough actually, based...

    That should be more than enough actually, based on the data sheet that chip at the most should only take 450 nanoseconds, my second guess would be that your enable pin appears to be tied to 5v per...
  9. If I had to hazard a guess without seeing the...

    If I had to hazard a guess without seeing the code you probably don't have a sufficient enough delay between switching the address pins and reading the input pins.
  10. Replies
    3
    Views
    143

    They do come preprogrammed with a unique MAC...

    They do come preprogrammed with a unique MAC address, this is the code that retrieves it for a Teensy 4.x, just supply it with your MAC address array that's 6 bytes long and it'll set it accordingly:...
  11. Replies
    56
    Views
    22,973

    I'm also interested in this being included for...

    I'm also interested in this being included for the T4.x hopefully in Teensyduino 1.54.
  12. Replies
    102
    Views
    6,680

    With the NativeEthernet library by default it's...

    With the NativeEthernet library by default it's setup to interrupt every millisecond to attend to the stack, this is most likely what's causing the extra time taken between square waves, ideally for...
  13. Replies
    3
    Views
    193

    I don't have any way to test this myself or I...

    I don't have any way to test this myself or I would check for you, but based on output_i2s_quad.cpp in the begin function (besides the corresponding pin configs) the parts in red are probably where...
  14. Replies
    233
    Views
    24,606

    As far as I can tell that does seem to be the...

    As far as I can tell that does seem to be the case, I know I plan to look into it just to see if it's something that I can support in my Ethernet libraries.
  15. Replies
    16
    Views
    2,606

    Sticky: Not sure if this should be noted yet, but this...

    Not sure if this should be noted yet, but this does currently work in MacOS 11.0 Big Sur.
  16. So after looking through the Adafruit library I...

    So after looking through the Adafruit library I found that since they didn’t have any Teensy specific defines in a couple places, it was transferring each 16 bit pixel as 2 bytes to SPI. After fixing...
  17. I thought about only updating the part of the...

    I thought about only updating the part of the display that changes but I want to program it for a “worse” case scenario so I know that updating the entirety of all the displays doesn’t cause the rest...
  18. Replies
    9
    Views
    273

    So if I have the pins configured as input and I'm...

    So if I have the pins configured as input and I'm trying to read them is there any downside to reading GPIO6_DR as opposed to GPIO6_PSR? I've been doing it this way for a while now with seemingly no...
  19. Replies
    102
    Views
    6,680

    This should be possible with FNET, but I haven't...

    This should be possible with FNET, but I haven't tested it nor have I made an easy way to do it with the NativeEthernet library.
  20. Another thing to consider is that if I can get a...

    Another thing to consider is that if I can get a considerable boost in performance I’ll be adding more displays to the one Teensy, as it is there will probably be a total of 12 displays split across...
  21. Sorry for the lack of information, I’m using a...

    Sorry for the lack of information, I’m using a Teensy 4.1, but I was under the impression that the DMA would have to have a dedicated SPI bus per display, now I see that’s not necessarily the case if...
  22. Replies
    102
    Views
    6,680

    Depending on your modem/router it can do both...

    Depending on your modem/router it can do both 100Mbit and 10Mbit, I believe the speed tests that we’ve done show it achieving 70-90Mbit after overheads.
  23. Non DMA ST7735_t3 Framebuffer vs GFXcanvas16

    I'm working on a project that uses 4 160x80 ST7735 displays from buydisplay.com and in order to support this many displays without being slowed down by SPI speeds I have to have the displays...
  24. That was a compile error I just fixed, FNET has...

    That was a compile error I just fixed, FNET has been updated a little bit just without a version change.
  25. This does work, try updating the FNET and...

    This does work, try updating the FNET and NativeEthernet libraries first.
    21524
  26. Replies
    102
    Views
    6,680

    Alright it was a config issue where it was...

    Alright it was a config issue where it was exceeding the max packet size, I pushed an update to increase it to 32KB instead of 10KB. Seeing as I believe this is a UDP only issue I refrained from...
  27. It is 44.1k, you can find it here:...

    It is 44.1k, you can find it here: https://github.com/PaulStoffregen/cores/blob/master/teensy4/AudioStream.h


    #define AUDIO_SAMPLE_RATE_EXACT 44100.0f
  28. Replies
    102
    Views
    6,680

    Can you post a full sketch recreating the issue?

    Can you post a full sketch recreating the issue?
  29. Replies
    6
    Views
    172

    You would have to edit the class declaration file...

    You would have to edit the class declaration file to add the pin list: https://github.com/FastLED/FastLED/blob/master/platforms/arm/k20/octows2811_controller.h
    If you wanted to expose that part to...
  30. Replies
    6
    Views
    172

    For future reference on the thread topic, this is...

    For future reference on the thread topic, this is already supported.
    https://github.com/FastLED/FastLED/wiki/Parallel-Output#making-octows2811-faster-with-fastled
  31. It's not infeasible in the sense that it can be...

    It's not infeasible in the sense that it can be done, I did a quick and dirty proof of concept on a Teensy 3.6: https://forum.pjrc.com/threads/58735-Wavetable-Synthesis-From-SD-Card
    It's definitely...
  32. Try updating to the latest version first, the one...

    Try updating to the latest version first, the one included with Teensyduino has an overflow bug: https://github.com/vjmuzik/NativeEthernet
  33. Yes you can, it uses rtpMIDI and there already...

    Yes you can, it uses rtpMIDI and there already happens to be a library for it that works with the Teensy: https://github.com/lathoub/Arduino-AppleMIDI-Library
    I've only tested this on a Macbook with...
  34. Replies
    37
    Views
    2,962

    Current sensing circuitry for the 3.3v regulator.

    Current sensing circuitry for the 3.3v regulator.
  35. Replies
    7
    Views
    285

    If you are using FastLED it has builtin functions...

    If you are using FastLED it has builtin functions to handle it for you so you don't even have to worry about it once you turn it on, link to the documentation:...
  36. Replies
    65
    Views
    16,513

    Quick followup on this while it's on my mind,...

    Quick followup on this while it's on my mind, while looking through the service manual for a recently acquired Lexicon 960L I got curious about the schematic for the LARC2 controller since it has...
  37. Replies
    23
    Views
    1,147

    Have you tried using the USBHost_t36 library yet?...

    Have you tried using the USBHost_t36 library yet? The USB Host power is turned off until that library toggles the pin to turn it on.
  38. Replies
    102
    Views
    6,680

    Not to my knowledge there isn’t any issue as long...

    Not to my knowledge there isn’t any issue as long as no port addresses are shared, this might be related to a DNS issue with UDP that I haven’t pushed the fix for yet. You are correct if you use a...
  39. Replies
    102
    Views
    6,680

    Off the top of my head I only know of this made...

    Off the top of my head I only know of this made by manitou: https://github.com/manitou48/teensy4/tree/master/fnet_tftpd_SPIFFS
    Theoretically if there was an existing library that worked on the w5500...
  40. Replies
    102
    Views
    6,680

    Here’s the fulle list of errors:...

    Here’s the fulle list of errors: https://github.com/vjmuzik/FNET/blob/master/src/stack/fnet_error.h
    Seems the socket did not connect like it was supposed to.
  41. Replies
    102
    Views
    6,680

    If the basic web server worked then there...

    If the basic web server worked then there shouldn’t be a problem with the laptop setup, I do my tests with a laptop as well so I know it does work directly connected to it just fine.
  42. Replies
    102
    Views
    6,680

    Have you tried serial printing the file as a...

    Have you tried serial printing the file as a starting point to verify everything is correct? You may have to update the libraries as well, I fixed a sending problem earlier today, and there will be...
  43. Replies
    52
    Views
    13,136

    I feel like I might have one more idea on why...

    I feel like I might have one more idea on why this could be happening, in the current usbMIDI implementation none of the midi ports have their own names so it relies on Windows to come up with one on...
  44. Replies
    102
    Views
    6,680

    It doesn't hang but it certainly is blocking, I'm...

    It doesn't hang but it certainly is blocking, I'm pretty sure the original w5500 fails if there is no cable connected on startup so I mirrored that in my begin function since the wrapper library is...
  45. Replies
    102
    Views
    6,680

    Alright I posted the fix, it was simple, I also...

    Alright I posted the fix, it was simple, I also tested client.flush() and it does work without freezing, but that's probably because I already fixed the socketSendAvailable function that it uses in a...
  46. Replies
    102
    Views
    6,680

    What's likely happening is because of the non...

    What's likely happening is because of the non blocking nature of FNET it's completely filling the buffers before a packet is sent so data is being overwritten, that would be why adding a delay works...
  47. Replies
    102
    Views
    6,680

    Can I get a minimal example of this so that I can...

    Can I get a minimal example of this so that I can find out what's causing the issue? Indeed FNET is non-blocking but it shouldn't send things out of order or overlapping since that would break TCP...
  48. Replies
    102
    Views
    6,680

    Native Ethernet Update: Add client-side TLS...

    Native Ethernet Update:


    Add client-side TLS support
    -Add WebClientRepeatingTLS example
    -Add client.close() to support proper HTTP close before disconnecting
    -Add functions to set client and...
  49. Replies
    1
    Views
    138

    That is built in to the Teensy core and only...

    That is built in to the Teensy core and only included when a USB type with MIDI is selected in the Tools menu with a Teensy board, so they won't work with standard Arduino boards. A lot of Arduino...
  50. Replies
    102
    Views
    6,680

    Native Ethernet Update: Support for FNET TLS...

    Native Ethernet Update:


    Support for FNET TLS sockets (server-side only for now)
    -Update WebServerMDNS with optional TLS


    FNET Update:
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4