Search results

  1. Rezo

    Teensyduino 1.62 Released

    Interesting. My project is also configured for O2 optimization
  2. Rezo

    Teensyduino 1.62 Released

    Is Faster -O2?
  3. Rezo

    Teensyduino 1.62 Released

    I have a rather very complex app running on a T4.1 that involves SAI, USB Host, SPI Slave, I2C, GPIO,PSRAM and more Im using VSC with PlatformIO. Since upgrading to TD1.60 I am now seeing my application hang in several places with no apparent reason. Im not sure if this is directly related...
  4. Rezo

    Custom Auto-BPM Continuous Sweep Looper (Teensy 4.1 + Audio Shield)

    Whats your goal? Capture a sample and play it back in a loop? Apply effects which are BPM synced?
  5. Rezo

    Custom Auto-BPM Continuous Sweep Looper (Teensy 4.1 + Audio Shield)

    Its all in the code block in the post I linked to above
  6. Rezo

    Custom Auto-BPM Continuous Sweep Looper (Teensy 4.1 + Audio Shield)

    I only used it briefly before taking a different direction for my project But here is the code https://forum.pjrc.com/index.php?threads/build-a-teensy-based-cdj-can-it-be-done.75232/post-349741
  7. Rezo

    Custom Auto-BPM Continuous Sweep Looper (Teensy 4.1 + Audio Shield)

    I just sent it some samples from a wav file to get the BPM. Bare metal, no RTOS for me
  8. Rezo

    Custom Auto-BPM Continuous Sweep Looper (Teensy 4.1 + Audio Shield)

    Ive used this library for beat detection. Was simple to implement and quite accurate https://github.com/michaelkrzyzaniak/Beat-and-Tempo-Tracking
  9. Rezo

    Clamping digital input to 3.3V rail

    Why not use an optocoupler?
  10. Rezo

    T4, SPI, DMA multiple transactions, MISO and MOSI are tristate and one pin

    This is the level shifter I used (but from AliExpress) and while I can read packages, Its not sending them nicely But, I did get the components today to build out a logic level shifter based on the 75HC245, but the pullups were wired idividually to 5v, and the buffer's vcc and control pins to...
  11. Rezo

    T4, SPI, DMA multiple transactions, MISO and MOSI are tristate and one pin

    Master is a CDJ1000 mk3 panel Mode3. MSB first. 27 byte long frame. 4 wires in total: MISO, MOSI, CLK and CS between 7-10cm long. I can't go any shorter. Wired to SPI on the T4 via a logic level converter as the CDJ is 5v logic CS->10 , MOSI->11, MOSI->12, SCLK->13 (Tomorrow I will be getting...
  12. Rezo

    T4, SPI, DMA multiple transactions, MISO and MOSI are tristate and one pin

    @sicco hey I've come back to the slave SPI stuff as I now have a newer CDJ panel that is configured as an SPI master It has four wire setup which is wired to SPI on my T4.0 I've been playing around with tens of sketches using Claude generated code and no matter which version I use (Claude or...
  13. Rezo

    May i contact to "Bleep Labs."???

    @houtson this is quite amazing, am pleasantly surprised you got this to work!! I haven’t tested it yet, but I have a few questions 1. I understand this supports only mono at the moment, would stereo be possible? 2. Are you able to estimate how performance heavy this is on the Teensy? This...
  14. Rezo

    May i contact to "Bleep Labs."???

    I’ll try it out soon and report back
  15. Rezo

    May i contact to "Bleep Labs."???

    Ah, yes I am using a T4.1 with my own WAV file - stereo 44.1khz
  16. Rezo

    May i contact to "Bleep Labs."???

    Hey Paul I tested this It's playing really slow, and the pitch is really low too. this is at 1.0f playback speed I think the phase vocoder approach will be the only way do do this properly
  17. Rezo

    May i contact to "Bleep Labs."???

    I think OP wants to be able to time stretch in realtime with variable playback speed. One of the ways of doing this is via granular synthesis but they don’t always sound so great. I’d be interested to see how this is achieved though. A better option would be a phase vocoder, but I am not sure...
  18. Rezo

    Teensyduino 1.60 Released

    You went through the entire process of registering to this forum to ask a question about Minecraft? 🤣
  19. Rezo

    W25Q64JVXGIM Shortage

    You can use the 16mb version found on Micromod Teensy
  20. Rezo

    Call to arms | Teensy + WiFi = true

    SDIO has 6 pins - 4 data line, a clock line and a command line. Two additional GPIOs are needed to control the sleep state and an interrupt trigger. IIRC, the murata chip variant that was used for this project does not support SPI. Those that do from the w43434 series are discontinued. This is...
  21. Rezo

    SPI data via DMA corrupt

    This was going to be my next question I've seen this in commercial hardware (Pioneer DJ) where long traces and/or wires are used between MCUs that communicate over SPI
  22. Rezo

    SPI data via DMA corrupt

    Are you using the exact same code on both the test bench and your PCB assembly? How long are the wires between the Teensy and the slave device on both setups? Do you have good grounding on your PCB? I was having some trouble with DMA enabled SPI Master/Slave between two Teensy 4's. I couldn't...
  23. Rezo

    Teensyduino 1.60 Released

    Any official release for 1.60 on PlatformIO?
  24. Rezo

    Favorite driver for ili9488?

    You can get an SSD1963 7” display and run it over 8/16 bit parallel bus and get a 30hz+ refresh rate with an optimized app You can see my latest project here using one https://www.facebook.com/share/p/1DKbUVxkxa/?mibextid=wwXIfr
  25. Rezo

    Favorite driver for ili9488?

    If you’re using a T4.0 - ILI9488_t3
  26. Rezo

    T4, SPI, DMA multiple transactions, MISO and MOSI are tristate and one pin

    I have a ground between both MCUs/boards :)
  27. Rezo

    T4, SPI, DMA multiple transactions, MISO and MOSI are tristate and one pin

    @sicco After having suceess on the bench test with SPI, it once again failed off the bench even with the slight mods made to stabilize it I decided to try your 1-Wire UART solutions which works VERY well with the PacketSerial class you added on top of it I set Baud at 2M and transferring a 32...
  28. Rezo

    AdaFruit Industries and SparkFun Part Ways Partially Over Teensy

    Please elaborate. Based on what facts have you made this statement?
  29. Rezo

    i2s2 on micromod

    You can use Kurt’s document to get full pin mapping and capabilities https://github.com/KurtE/TeensyDocuments/blob/master/Teensy4%20MicroMod%20Pins.pdf
  30. Rezo

    T4, SPI, DMA multiple transactions, MISO and MOSI are tristate and one pin

    @sicco wanted to update you on some progress with your SPI Slave lib As before, I wasn’t getting very stable results, and the payload would start to drift very quickly I threw the lib into Claude and gave some context to the issue. It made 1 change - removed the LPSPI_IER_WCIE register from...
  31. Rezo

    Teensy MicroMod

    After much testing I can confirm that the pin mapping in @KurtE document is correct. Sparkfun’s SDIO pin specific section has incorrect MM<>T4 pin mapping @Paul FYI
  32. Rezo

    Can I manage Teensy 4.1 sd files from Android like PC????

    I think you would need an OTG cable between the Android device (you didn’t mention its type) and the Teensy.
  33. Rezo

    Teensy MicroMod

    There is some conflicting information between the Sparkfun TMM docs and @KurtE pin mapping document I'm specifically referring to the SDIO/SPI2 pin mappings. Per Sparkfun (https://learn.sparkfun.com/tutorials/micromod-teensy-processor-hookup-guide/hardware-overview) these are the correct pin...
  34. Rezo

    Teensy 4.0 Sleep with CAN wakeup

    The components that’s supposed to send the wake up signal is the transciver, as it will pull the RDX pin LOW when it detects a bus wakeup sequence, and that only. Teensy does not have this capability built into the controller. Sending a std frame won’t trigger that as far as I know. But, there...
  35. Rezo

    Teensy 4.0 Sleep with CAN wakeup

    @ifrythings so just to confirm, you have a separate GPIO for the wakeup signal, which is just bridged to the relevant CAN_RX pin?
  36. Rezo

    Teensy 4.0 Sleep with CAN wakeup

    @defragster the WFI instruction will put it into Sleep mode, but not deepSleep or Hibernate @ifrythings Another thing you can try, but I don't like this solution much, is to use a voltage divider on the CANL line into a GPIO and sense a rise on that signal to wake up.
  37. Rezo

    Teensy 4.0 Sleep with CAN wakeup

    @ifrythings Idea, you might have tried this and I missed it - bridge the RX pin to another GPIO, and use that GPIO for the wakeup trigger That way, you don't need to muck around with reconfiguring CAN pins or setting the RX pin to GPIO for the trigger.
  38. Rezo

    Teensy 4.0 Sleep with CAN wakeup

    @ifrythings Try this: When it’s time to sleep, stop all CAN TX’s and disable RX interrupts. Configure Snooze and then go into the relevant sleep mode. Regarding the 30mA in sleep mode - I recall a thread where someone observed this in sleep, but in deep sleep and hibernation it dropped even...
  39. Rezo

    Teensy 4.0 Sleep with CAN wakeup

    I tried this many times, but could not get it to work. I think the best thing you can do if find a CAN transceiver that can indicate when the bus is active,. This will usually be a state where it detects a wake up patten on the bus, and will pull RDX low So what you would do in your app is...
  40. Rezo

    I2C slave mode (Wire library) on T4.x vs repeated STARTs

    Have you tested this library in place? https://github.com/Richard-Gemmell/teensy4_i2c
  41. Rezo

    8.82-Inch 768x768 Square TFT LCD in Flight Simulator Applications

    The exact same post was posted on lvgl’s forum Seems like a poor marketing attempt to the wrong target audience Why go to the trouble of connecting this up to a Pi via an LVDS-HDMI converter, to then use the teensy just for data acquisition when you can do that on the Pi? Just get a smart...
  42. Rezo

    8.82-Inch 768x768 Square TFT LCD in Flight Simulator Applications

    Thats great, but how did you wire it to a Teensy?
  43. Rezo

    SQLite Library (VFS) for Teensy 4.1

    So it worked?
  44. Rezo

    SQLite Library (VFS) for Teensy 4.1

    This might work? #include <sqlite3.h> // Teensy 4.1 EXTMEM functions (from smalloc library) // These are already available in the Teensy core extern "C" { void *sm_malloc(size_t size); void *sm_calloc(size_t nmemb, size_t size); void *sm_realloc(void *ptr, size_t size); void...
  45. Rezo

    SQLite Library (VFS) for Teensy 4.1

    I'm hitting a bit of a snag with this Only way to overcome it is to move the heap to extemem. But that is causing some other issues for me in other parts of my app
  46. Rezo

    SQLite Library (VFS) for Teensy 4.1

    @Sam Halvoe quick question Is there a way to tell SQlite to allocate memory in extmem? Specifically when it needs to load a rather large blob from a table.
  47. Rezo

    T4 Pixel Pipeline Library

    @mjs513 thanks for getting the example together Mike! I was able to get the PS and AS to blend without an issue - see the big waveform here on the AS with LVGL on the PS But what I actually wanted to do is draw a full frame with a partial buffer on the PS, each time drawing a section. Only way...
  48. Rezo

    Build a Teensy based CDJ - Can it be done?

    Few days have passed by, and now I can play the audio file using my very simple sync_i2s library (ISR based, loads a channel on each interrupt) AND I can sync the 3 band dynamic waveform to the play position Ive changed my display flush setup to use the PXP. Now I process LVGL in dual buffer...
  49. Rezo

    SARCASM: an (over-engineered) Rubik's cube solving robot.

    Three letter: WOW! Nuff said
Back
Top