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

Search:

Type: Posts; User: neutron7

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Color composite video out, is it possible?

    I am working on a Teensy 4.1 module that is actually a sound synthesizer, but generates a visualization on ILI9341 with the excellent TGX library.

    It's using the synthesizer parameters to control...
  2. Replies
    38
    Views
    3,072

    I just noticed a function called...

    I just noticed a function called "_drawCircleHelper" that appears to draw quarter circles for the rounded rectangles. is there a way to use it from the sketch? It would be quite handy for what i'm...
  3. Replies
    38
    Views
    3,072

    That is a nice solution! "milkdrop" here we come...

    That is a nice solution! "milkdrop" here we come :D
  4. Replies
    38
    Views
    3,072

    I don't know If you have done something like this...

    I don't know If you have done something like this already and I could not find it, or if it is too slow, or this is asking a bit much! but is there something like the layer blending modes in graphics...
  5. Replies
    3
    Views
    153

    Thank you, that is the same one I found elsewhere...

    Thank you, that is the same one I found elsewhere and used for the footprint "for now" because it looked the same. I wish they would use a common reference point!
  6. Replies
    567
    Views
    134,075

    The teensy 4/ 4.1 schematics show there is a...

    The teensy 4/ 4.1 schematics show there is a separate power pin for the ADC, and the iMXRT1060 (VDDA_ADC_3P3) which is also the voltage reference for the ADCs. documentation about it seems a bit...
  7. Replies
    38
    Views
    3,072

    That is really good. I made a new image 128x64,...

    That is really good. I made a new image 128x64, for an oscilloscope overlay, and draw directly on to it with "persistence" done by drawing "transparent black" over it every frame, then blit it on to...
  8. Replies
    3
    Views
    153

    PJRC 3.2" ILI9341 dimensions

    I am thinking of using this display for a project, but the page for the displays does not show a dimensional drawing for the 3.2" version, just the 2.8".
  9. Replies
    38
    Views
    3,072

    Thanks! i will try it. I was wondering if...

    Thanks! i will try it.

    I was wondering if there is a way to set a Viewport "clipping window" for 2D as well as the renderer? it can be quite useful.
  10. Replies
    38
    Views
    3,072

    That was a big help, thanks! I got it working...

    That was a big help, thanks! I got it working with t3n, single buffer for now with 50mHz SPI, its getting the same FPS as before without any TGX primitives, (36FPS which is quite acceptable, its just...
  11. Replies
    38
    Views
    3,072

    That's good to hear, thanks! A simple example set...

    That's good to hear, thanks! A simple example set up with t3/t3n with a few 2d primitives and text using alpha blending would be a big help getting people started.

    another question, can you mix...
  12. Replies
    38
    Views
    3,072

    This looks really useful, I would try it with...

    This looks really useful, I would try it with your ILI9341 t4 library, but my PCB is already set up for the t3 version and i would have to take my module apart and cut traces. will it still work with...
  13. What about a solenoid, you would need to activate...

    What about a solenoid, you would need to activate it with a relay. I'm thinking something like a pinball flipper (or several), maybe it can yank on the spring with a piece of fishing line.
  14. USB-C connector with just USB2 support and no power.

    I have a project that would use a USB C connector that would be used on a board that does not need USB power. (its an addon board for something)

    I have copied this circuit from sparkfun: ...
  15. I know this is very old, but if you are trying to...

    I know this is very old, but if you are trying to squeeze a few more cycles out of the teensy, I improved the time taken to set a value for the DACs on a teensy 3.6 by moving the instruction that...
  16. It can be done sample at a time, but there are...

    It can be done sample at a time, but there are more "gotcha"'s. I did it with t3.6 on my eurorack module "dust of time" I had to forgo having any floats in the ISR though. that makes it harder to do...
  17. All variables with ASM saturation function.

    I have used this ASM saturation function borrowed from the audio library.


    inline int32_t clampU_rsh(int32_t val, int bits, int rshift)
    {
    int32_t out;
    asm volatile("usat %0, %1, %2, asr...
  18. Thank you. I did have a look at the .lst file in...

    Thank you. I did have a look at the .lst file in the past when i was working on a polynomial sine generator, there was also an asm example i was going to try, but i found the compiler had basically...
  19. Unsigned version of multiply_32x32_rshift32

    I am trying to do an unsigned version of this assembler code in the audio library, but I really have no idea how it works.

    the code is:

    // computes (((int64_t)a[31:0] * (int64_t)b[31:0]) >> 32)...
  20. That explains a lot! Is there any way around it?

    That explains a lot! Is there any way around it?
  21. What is wrong here, High priority IRQ stopped by loop in low priority one. [T4, 4.1]

    I have 2 intervaltimer ISRs, for clarity on the scope when suing sync they are running at:
    "audio_ISR_Timer" 15us set to priority 0.
    "controlLoopTimer" 300us priority 64.

    it is easiest to see on...
  22. Another way, which might be better for...

    Another way, which might be better for procedurally generated waveforms, is oversampling. Say you do 4x oversampling, you use 1/4 the phase increment you normally would, but calculate the oscillator...
  23. I'm glad i found this! using teensy 4.1 with...

    I'm glad i found this! using teensy 4.1 with single reads of several pins assuming 4.1 had "all ADC pins work with all ADCs"
    It was stopping reading when ADC1 read 24/A10 and 25/A11, swapped them...
  24. Replies
    3
    Views
    1,143

    No, you were right, but i had to start at byte...

    No, you were right, but i had to start at byte 100, not 99 and also multiply the float by 2147483648 before saving it as int32.

    Thank you i have wasted a lot of time on that!
  25. Replies
    3
    Views
    1,143

    something different did happen, it looks like a...

    something different did happen, it looks like a +-1 bit wave.
    Doesn't that read the 4 bytes 0-1-2-3? they need to be 3-2-1-0
  26. Replies
    3
    Views
    1,143

    opening 32 bit wave file

    I am trying to load some wavetables from SD to the external PSRAM on teensy 4.1, they are wavetables created with "serum" synthesizer. they are mono 32 bit wav files up to 524288 samples.

    I have...
  27. Replies
    567
    Views
    134,075

    I see that the block diagram for the i.MX1170...

    I see that the block diagram for the i.MX1170 says "1 Gbps ENET with AVB" is that the same AVB "Audio Video Bridge" that is used by comapnies such as MOTU to transfer audio over ethernet, and if so,...
  28. All the different PWM bit depth vs maximum...

    All the different PWM bit depth vs maximum frequency are in the table here. https://www.pjrc.com/teensy/td_pulse.html
  29. This worked well, I even increased the second...

    This worked well, I even increased the second "MISO" frequency to 30000000 and it works.

    Just aside, I was reading about the imx1170 for some reason, and it's page shows it has "pxp pixel...
  30. I don't know if this is the right place to ask,...

    I don't know if this is the right place to ask, please correct me if wrong! but this was the first ILI9341 library i got to work for me.

    I was wondering if there is there a way to have a "fake...
  31. Since the analog inputs work best with a low...

    Since the analog inputs work best with a low impedance driver, I like to use a rail to rail op amp that is powered by 3.3V, so it can never output a higher voltage than the teensy can take. there are...
  32. Replies
    19
    Views
    3,392

    Team Monsoon, not only the "famous" battlebot but...

    Team Monsoon, not only the "famous" battlebot but also "drizzle" antweight you wouldn't want to mess with.
  33. Replies
    19
    Views
    3,392

    No help here, but your name reminds me of a...

    No help here, but your name reminds me of a certain combat robot team from the UK. "get in your house!"
  34. Replies
    81
    Views
    46,492

    there are a few ways to do it, depending on how...

    there are a few ways to do it, depending on how accurate you want, how much memory you have, and how fast you need it to be.

    you can use "POW" function, which is quite slow but the most accurate,...
  35. Replies
    38
    Views
    14,387

    Is there more information about "Use standard...

    Is there more information about "Use standard (not low power) ADC mode"
    is it just teensy 4.x that is affected? or will it change performance of 3.x ADC as well?
  36. I think most of that “off time” is doing the...

    I think most of that “off time” is doing the compare and loop increment, What if you count the loop down to zero? “compare to 16384” probably takes more cycles than “loop if non zero” then you might...
  37. Replies
    5
    Views
    1,578

    The o&c has the DAC and display on the same SPI...

    The o&c has the DAC and display on the same SPI bus, It makes the timing tricky. if you want audio rate out the display might have to do nothing while it is playing.
  38. Replies
    20
    Views
    2,810

    I don't know much about how this works, but there...

    I don't know much about how this works, but there is

    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0489d/BABJFFGJ.html

    there are comparators,

    could you set one to...
  39. Different behaviour with 2 teensy 3.6 > DAC 8562

    I have 2 boards which are the same, both use a teensy 3.6 and DAC8562. On one of them the DAC would not start. the Sync(CS), Clock, and Data signals to the DAC looked the same on a scope, but the non...
  40. have you got a MIDI monitor software? you could...

    have you got a MIDI monitor software? you could check to see if the buttons are bouncing like crazy and sending enough MIDI data to interfere with Mainstage?
  41. Hmm, i think this must be it then? ...

    Hmm, i think this must be it then?

    HFW8R-1STE1H1LF
  42. That is the cable itself, this is for the...

    That is the cable itself, this is for the connector.
  43. FFC 8 pin, HFW8R-1STE1LF (teensy 4 bottom SD connector) obsolete.

    Can I use this one instead? the data sheet does not have a footprint.

    https://www.mouser.ca/ProductDetail/Amphenol-FCI/HFW8S-2STAE1LF?qs=sGAEpiMZZMs7i6cT6ogu4%252BM5B8TmbFcyy4tps6v3cqo%3D
  44. Replies
    2
    Views
    1,002

    Thanks! I ended up adapting the code at the...

    Thanks! I ended up adapting the code at the bottom of this page https://www.best-microcontroller-projects.com/rotary-encoder.html one of my encoders was still not so great, but a short delay...
  45. Replies
    2
    Views
    1,002

    Encoder library with cheap encoders.

    I have had trouble with encoders skipping counts and sometimes even stepping in the opposite direction.
    I am using a teensy 3.6 with the encoder library 1.4.1

    the sketch is the example on the...
  46. Replies
    161
    Views
    46,649

    I just noticed the updated back side graphic, i...

    I just noticed the updated back side graphic, i guess there is no more external AREF? is there a way to get the same sort of performance from the ADCs with potentiometers across a 3 or 3.3v supply?
  47. Replies
    161
    Views
    46,649

    I just ordered 4, i have been looking forward to...

    I just ordered 4, i have been looking forward to this! quick question, the teensy 4 page shows the top side pins in both pictures instead of the usual top and bottom, I just want to confirm that the...
  48. Replies
    3
    Views
    1,024

    The audio shield goes on top of the teensy.

    The audio shield goes on top of the teensy.
  49. Replies
    6
    Views
    2,498

    Thank you, i tested the timing on the "almost...

    Thank you, i tested the timing on the "almost working" verion (which outputs half a sine) and it did not run any faster, it was worth a try though!
  50. Replies
    6
    Views
    2,498

    On a wild guess i removed the "bx lr" at the end...

    On a wild guess i removed the "bx lr" at the end and now it "works" but not properly.
Results 1 to 50 of 93
Page 1 of 2 1 2