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
    52
    Views
    14,291

    Here is the schematic of my current breadboard,...

    Here is the schematic of my current breadboard, I'm using a TL084 right now for the bottom 2 op amps, but any should work.
    20488
    Attached is also the KiCad project file.
    Edit: Also if anyone else...
  2. Replies
    52
    Views
    14,291

    To create a setup for more faders you just have...

    To create a setup for more faders you just have to repeat the circuit for however many faders you want, then interface it to the Teensy however best makes sense. Like I said for me personally I'm...
  3. Replies
    52
    Views
    14,291

    Alright I finally got one channel breadboarded...

    Alright I finally got one channel breadboarded and tuned the PID with what I had available on hand and it’s pretty good (quick and accurate). It’s quite a bit of components per channel, but I...
  4. The little white wire runs to the voltage regular...

    The little white wire runs to the voltage regular on the 4.1 beta boards all of them are like this because of a manufacturing error some of the power and ground pads weren’t connected.
  5. It would be littered across multiple files, if...

    It would be littered across multiple files, if you load all the core files into your editor of choice you just have to search for DMAMEM and then delete it from all the variables found that use it....
  6. You would have to edit the core files to change...

    You would have to edit the core files to change them from DMAMEM, but you can’t just get rid of them without disabling features either. I know they are used for USB buffers, probably HardwareSerial...
  7. The Teensy Core uses some DMAMEM for buffers, I...

    The Teensy Core uses some DMAMEM for buffers, I don’t know the exact amount, but that would be why it’s not all free.
  8. The blocks of RAM are two separate areas accessed...

    The blocks of RAM are two separate areas accessed in two different ways not 1 block with 2 partitions so it cannot be rearranged for larger buffers, your other option would be to get a Teensy 4.1 and...
  9. Replies
    52
    Views
    14,291

    It could be the H Bridges or your power supply...

    It could be the H Bridges or your power supply isnít suppling enough power to the motors.

    As far as for audible noise your only option is to increase the PWM frequency or ditch PWM entirely. Upon...
  10. You have your faders connected to 5v, connect...

    You have your faders connected to 5v, connect them to 3.3v and it should work as expected as long as none of the Teensy pins have been damaged by the 5v.
  11. I believe Pin 7 is Output only, pin 8 is Input...

    I believe Pin 7 is Output only, pin 8 is Input only, but 6,9, and 32 can be either or, the only mention I can remember is somewhere in the beta thread probably.
  12. According to the source code it defaults to pins...

    According to the source code it defaults to pins 8 and 6.



    #elif defined(__IMXRT1062__)
    const int pinoffset = 0; // TODO: make this configurable...
    AudioOutputI2S::config_i2s();
    I2S1_RCR3...
  13. Replies
    1
    Views
    116

    If you have a ethernet socket already connected...

    If you have a ethernet socket already connected to the 6 pins then the fastest way to start using it is to use this wrapper library I made: https://forum.pjrc.com/threads/60857-T4-1-Ethernet-Library...
  14. I don't have any hardware setup to test this...

    I don't have any hardware setup to test this myself so I won't post full code, but if I was to do this I would just add another array that would store the type of message I wanted the button to send...
  15. Replies
    4
    Views
    95

    As per the MIDI library documentation this is how...

    As per the MIDI library documentation this is how you can change the Sysex size



    struct MySettings : public midi::DefaultSettings
    {
    static const unsigned SysExMaxSize = 1024; // Accept...
  16. The only thing you are missing is that you don't...

    The only thing you are missing is that you don't have to edit the library to change which Wire object you want to call, just add the additional statements to your sketch begin call.



    if...
  17. Replies
    135
    Views
    5,651

    I can test the audio file, but I have a Sync I/O...

    I can test the audio file, but I have a Sync I/O that’s known good and it’s what I used last time.
  18. Replies
    135
    Views
    5,651

    Interesting, I wonder if anything changed since I...

    Interesting, I wonder if anything changed since I tested it a long time ago, I don’t remember seeing any missed or doubled frames, but I didn’t think to look for them either. I’m going to setup my...
  19. Also the CAN bus is available but again you need...

    Also the CAN bus is available but again you need the hardware to do use it.
  20. For Teensy 4.0 you have 7 UARTs available, 8 for...

    For Teensy 4.0 you have 7 UARTs available, 8 for 4.1, if you don’t want to get the hardware for rs485 that would be the max number of devices you could easily connect together without daisy chaining.
  21. Your other options would be USB or UART, USB is...

    Your other options would be USB or UART, USB is the fastest but of course you need a hub if you want to connect more than one Teensy to another.
  22. Replies
    44
    Views
    1,613

    It is interrupt driven to a certain extent,...

    It is interrupt driven to a certain extent, average response times are pretty low, with the NativeEthernet wrapper library it should already work with this library as long as you didn’t make any...
  23. Also of note, if Arduino is assigned to the...

    Also of note, if Arduino is assigned to the second display and opened then it won't crash on the second display, but it will then crash on the main display when dragged to it.
    20183
  24. Arduino 1.8.11 crashes on the external monitor as...

    Arduino 1.8.11 crashes on the external monitor as well when scrolling or resizing, 1.8.10 doesn't crash when scrolling or resizing, but does crash on both monitors when clicking the scroll bar.
    ...
  25. I can confirm it does indeed crash on an external...

    I can confirm it does indeed crash on an external monitor, works fine on the main monitor, but crashes when moved to the external monitor on MacOS Catalina 10.15.5 Beta 3 still.
  26. It's true I didn't use a separate thread in...

    It's true I didn't use a separate thread in NativeEthernet like before, but I did use an IntervalTimer every millisecond to update it instead. I remember hearing about the EventResponder, but I never...
  27. Replies
    64
    Views
    586

    It has many names, frame sync is one of them and...

    It has many names, frame sync is one of them and it’s what the manual uses.
  28. Replies
    64
    Views
    586

    It's not the bit clock that you need for BNC word...

    It's not the bit clock that you need for BNC word clock, you need frame sync which is set in the I2S1_TCR4 register bit zero, from the data sheet:


    Frame Sync Direction
    Configures the direction...
  29. Replies
    64
    Views
    586

    AES can certainly be used to sync to but it’s not...

    AES can certainly be used to sync to but it’s not as accurate as a BNC word clock which is still the go to standard. It might be more convenient to just go with AES and not run BNCs since it’s twice...
  30. Replies
    64
    Views
    586

    It looks like you didn't set the correct sample...

    It looks like you didn't set the correct sample rate, according to the original output_adat the sample rate has to be double, what you copied from output_i2s is:


    int fs =...
  31. I've been using MacOS Catalina 10.15.5 Beta and...

    I've been using MacOS Catalina 10.15.5 Beta and haven't had Arduino crash at all, so presumedly it's a bug in MacOS that could be fixed in the next public release. I can't remember if I had any...
  32. Replies
    9
    Views
    578

    New update that allows customization of buffers...

    New update that allows customization of buffers from the sketch without editing the library(though you still could if you wanted to), buffers are now allocated using new to allow this.

    This has a...
  33. Replies
    9
    Views
    578

    I don't have any defines setup in FNET for it to...

    I don't have any defines setup in FNET for it to work right now, but it did natively support that processor, presumedly I would just have to make the same changes to that processor code that I did...
  34. Replies
    9
    Views
    578

    All the preloaded examples are just copied over...

    All the preloaded examples are just copied over from Ethernet.h so besides just changing the include name everything is the same. Also, I didn't know this existed to find the preloaded addresses, but...
  35. Replies
    9
    Views
    578

    Does it just print "Ethernet connect ..." and...

    Does it just print "Ethernet connect ..." and nothing else? If so, likely it's just DHCP taking longer to work, I haven't encountered this myself while testing, but you can verify this by using...
  36. Replies
    785
    Views
    28,168

    I went ahead and made the other thread:...

    I went ahead and made the other thread: https://forum.pjrc.com/threads/60857-T4-1-Ethernet-Library

    I'm not too worried about the USB Ethernet speeds since it really won't be needed anymore and it...
  37. Replies
    9
    Views
    578

    T4.1 Ethernet Library

    Native Ethernet Library
    With the release of Teensy 4.1 underway I went ahead and made a library to convert existing projects using a Wiznet W5500 along with Ethernet.h to be able to make use of it's...
  38. Replies
    13
    Views
    293

    Based on some other forum post I found from...

    Based on some other forum post I found from Russia

    The outputs are open collector so they just need pulled up to the appropriate voltage for the microcontroller, in this case 3.3v for the Teensy...
  39. Replies
    785
    Views
    28,168

    Yep that does seem to be the case, I forgot to...

    Yep that does seem to be the case, I forgot to close the socket if it doesn't find a connection, the fix has been pushed to GitHub.

    On a side note, now that Teensy 4.1 is released should I make a...
  40. Replies
    785
    Views
    28,168

    Found the problem and just committed a fix for...

    Found the problem and just committed a fix for this.
  41. Replies
    785
    Views
    28,168

    I kept the default numbers to match the number of...

    I kept the default numbers to match the number of sockets and socket size that the normal Ethernet library gave the w5500. In reality the numbers can be anything the user wants though, of course the...
  42. Replies
    785
    Views
    28,168

    I found the problem, I was incorrectly reporting...

    I found the problem, I was incorrectly reporting the number of bytes being written to the wrapper, so the wrapper was thinking it was sending the whole 100,000 bytes when it actually wasn't. Also the...
  43. Replies
    785
    Views
    28,168

    Can I get a link to the test sketch so I can see...

    Can I get a link to the test sketch so I can see what’s going on? Receiving more than it’s sending sounds like a problem.
  44. Replies
    785
    Views
    28,168

    I don't know where those errors are coming from,...

    I don't know where those errors are coming from, I can't seem to reproduce it on my normal installation or my portable installation of Teensyduino 1.52 B4.
  45. Replies
    785
    Views
    28,168

    I threw together a wrapper library to bridge the...

    I threw together a wrapper library to bridge the gap between FNET and Ethernet.h.
    https://github.com/vjmuzik/NativeEthernet
    And a small update to my FNET fork to remove conflicts...
  46. Replies
    785
    Views
    28,168

    USBHost Ethernet should now be fixed for Teensy...

    USBHost Ethernet should now be fixed for Teensy 3.6-4.1, I had to rename the interface so it would be possible to support native ethernet and usb ethernet at the same time.
  47. Replies
    785
    Views
    28,168

    The USBHost is really it's own library, but I...

    The USBHost is really it's own library, but I made a way for it to hook into the FNET library, so anything that you may have made with FNET before that worked with the USBHost Ethernet will work with...
  48. Replies
    785
    Views
    28,168

    So I believe everything is setup correctly, to my...

    So I believe everything is setup correctly, to my knowledge the receive frame uses an interrupt and then the stack just has to be polled every 1-100ms (the less the better). In my example I just have...
  49. Replies
    785
    Views
    28,168

    Alright I just pushed an update to my FNET fork...

    Alright I just pushed an update to my FNET fork, there is a new example already setup to use with FBENCH to do speed tests.

    This is my average speed for large TCP transfers and seems to be the...
  50. Replies
    785
    Views
    28,168

    I did, just a little later than everyone else.

    I did, just a little later than everyone else.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4