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

Search:

Type: Posts; User: warpigs330

Search: Search took 0.00 seconds.

  1. Questions about teensy 4.0 and ROHS compliance

    Is the teensy 4.0 ROHS compliant? I am assuming the version without pins.
  2. Looking to use W25Q128 flash chip with teensy 4.0 SPI for usb file storage

    I am working on a project using the teensy 4.0. I would like for this device to have a configuration file that the user can edit to change settings on the unit. I am using the W25Q128 chip in single...
  3. Replies
    12
    Views
    955

    I am also using this chip and would be quite...

    I am also using this chip and would be quite interested with your results. I am especially interested in setting the teensy 4.0 up like a usb mass storage device in order to have a configuration text...
  4. I just want to say thanks to everyone who is...

    I just want to say thanks to everyone who is working on this! all y'all's work is going to be hugely useful to me in a short while.
  5. Looking for advice on choosing an IDE and how to debug.

    I thought I would ask everyone here what their setup is for programming and debugging the teensy 4.0. I have had some difficulty getting debuggers to work reliably, but this probably has more to do...
  6. Okay, so if I am using teensyduino 1.54 and want...

    Okay, so if I am using teensyduino 1.54 and want to use littleFS how do I include the correct library? when I get rid of the platform packages line to use framework 1.54 and also remove the libdeps...
  7. So I am following up on this. I have attempted to...

    So I am following up on this. I have attempted to link to paul's github to resolve this issue. In the platformio .ini page I have placed
    platform_packages =
    ...
  8. Thank you!

    Thank you!
  9. Looking to use Little FS with platformio and Teensy 4.0

    I am trying to get littlefs working with platformio and teensy 4.0. I have added the little fs wrapper library paul made at https://github.com/PaulStoffregen/LittleFS but I am having trouble...
  10. okay, I thought that might be the case. in my...

    okay, I thought that might be the case. in my case this is no problem. The maximum delta will be like at most 3 minutes. this is an easier solution than I was expecting to be honest. just need to...
  11. But what about what Paul was saying above? "The...

    But what about what Paul was saying above? "The usual approach is to subtract 32 bit unsigned integers. If the rollover is from 0xFFFFFFFF to zero (eg, does not roll over "early" with maximum value...
  12. it should still work with a single overflow...

    it should still work with a single overflow during the timing period right? just not if it went back to zero twice during the interval.
  13. yeah, I figured I was doing it in a silly way. I...

    yeah, I figured I was doing it in a silly way. I was using floats for the time variables because I was wanting to do floating point math with them later, I didn't even think about the easy solution...
  14. oh sorry, teensy 4.0. maybe teensy 4.1. thanks...

    oh sorry, teensy 4.0. maybe teensy 4.1. thanks again, this will help a lot.
  15. This is awesome! thanks for the leads! To be...

    This is awesome! thanks for the leads! To be honest the micros() resolution is already significantly more than I need, but this will be useful for testing the overrun condition.
  16. how to debug problem caused by micros() overrunning and going back to zero.

    So I am working on a project where I use millis() and micros() to measure time. Right now I am doing this somewhat poorly, which causes my code to stall when micros() overruns and goes back to zero....
  17. Replies
    2
    Views
    410

    Thank you! I actually figured this out by using a...

    Thank you! I actually figured this out by using a different example. I should have waited just a bit longer before posting. I got the teensy working with the dac as well and it even works up to 50mhz...
  18. Replies
    2
    Views
    410

    Question about SPI chip select timing.

    I am testing SPI with the teensy 4.1 with the goal of using the DAC7554 with it. I have not actually hooked them up together yet, as I have just been investigating the SPI signals from the Teensy. I...
  19. Replies
    3
    Views
    594

    I tried doing Wire.setClock(); and it didn't seem...

    I tried doing Wire.setClock(); and it didn't seem to make a difference when I changed the values, but I might be addressing the wrong i2c bus or something. How might I go about finding a DAC that...
  20. Replies
    3
    Views
    594

    Questions about speeding up i2c dac.

    I am working with the MCP 4728. I am using it to output control voltage for a modular synth. I am using the adafruit library to interface with it. I am basically making an LFO and am running into an...
  21. Replies
    13
    Views
    1,368

    Thanks for the ideas. That sounds like a good...

    Thanks for the ideas. That sounds like a good solution. Also it is not critical that I not lose data, just a user experience consideration.
  22. Replies
    13
    Views
    1,368

    So this is for a eurorack module. Meaning that it...

    So this is for a eurorack module. Meaning that it gets +-12v into the module. I then use a 5v linear regulator to power the teensy. I basically can't expect to access the state of the power anywhere...
  23. Replies
    13
    Views
    1,368

    Writing to flash or sd card on power loss

    I am working on a project with the teensy 4.1 that I want to be able to detect a loss of power and save some things to flash or the sd card. I am looking at this circuit that provides a capacitor for...
  24. It is likely that in the end it will be perfectly...

    It is likely that in the end it will be perfectly fine to use 16bit ints. My prototype uses ints and the recording buffers are long enough and high resolution enough for me to not run to the end of...
  25. Can I use a 10 bit data type for ADC storage?

    I have a project where I am recording the value of an analog input, Ideally the recording buffer would be as long as possible. Since the max reliable precision of the ADCs is 10 bit the extra 6 bits...
  26. Questions about dc coupled audio input to teensy 4.0/4.1.

    I am working on integrating the teensy with my modular synth. I have gotten traditional -5v to +5v CV input working well with the analog inputs, and have a simple sketch that records the input and...
  27. I haven't tried connecting it to a pitch CV, and...

    I haven't tried connecting it to a pitch CV, and I don't have an oscilloscope, but the input is certainly stable enough to prototype ideas with. I find the input to drift +-4 values of the 12 bit...
  28. Teensy CV input and output for eurorack modular synths.

    So I have been working on getting the teensy interfaced with my modular synthesizer and made a video on the circuits that I used in this instance. There is so much fun to be had making your own...
  29. That makes a lot of sense. I have tried your...

    That makes a lot of sense. I have tried your suggestion and am still not having any luck. here is my modified code, which still works for arduino uno, but not for teensy. Thanks a ton for the help....
  30. Using a DAC(mcp4821) with teensy that I have tested with an arduino uno.

    I am trying to get a dac working with the teensy 4.0 I have. I was successful getting it to work on an arduino uno, but it does not work on the teensy. I noticed in the documentation for spi that...
Results 1 to 30 of 30