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.00 seconds.

  1. 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...
  2. 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)...
  3. That explains a lot! Is there any way around it?

    That explains a lot! Is there any way around it?
  4. 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...
  5. 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...
  6. 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...
  7. Replies
    3
    Views
    692

    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!
  8. Replies
    3
    Views
    692

    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
  9. Replies
    3
    Views
    692

    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...
  10. Replies
    531
    Views
    80,370

    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,...
  11. 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
  12. 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...
  13. 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...
  14. 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...
  15. Replies
    19
    Views
    2,256

    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.
  16. Replies
    19
    Views
    2,256

    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!"
  17. Replies
    81
    Views
    42,856

    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,...
  18. Replies
    38
    Views
    7,140

    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?
  19. 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...
  20. Replies
    5
    Views
    1,125

    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.
  21. Replies
    20
    Views
    1,883

    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...
  22. 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...
  23. 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?
  24. Hmm, i think this must be it then? ...

    Hmm, i think this must be it then?

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

    That is the cable itself, this is for the connector.
  26. 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
  27. Replies
    2
    Views
    695

    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...
  28. Replies
    2
    Views
    695

    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...
  29. Replies
    161
    Views
    28,234

    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?
  30. Replies
    161
    Views
    28,234

    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...
  31. Replies
    3
    Views
    821

    The audio shield goes on top of the teensy.

    The audio shield goes on top of the teensy.
  32. Replies
    6
    Views
    2,094

    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!
  33. Replies
    6
    Views
    2,094

    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.
  34. Replies
    6
    Views
    2,094

    thank you, now it compiles but unfortunately now...

    thank you, now it compiles but unfortunately now the teensy stops when the function is called.


    static inline int32_t iSIN3(int32_t x)
    {
    int32_t out;
    asm volatile (
    "mov %0, %0,...
  35. Replies
    6
    Views
    2,094

    trying to port some assembly.

    I have been working on this thing: there is a teensy 3.6 and some multiplexers and output op amps on the back, not much else except power and supervisor.
    11512


    One thing it does, is generate...
  36. Replies
    30
    Views
    16,608

    here is a "hack" where you can add a MIC803 under...

    here is a "hack" where you can add a MIC803 under the teensy.
    10864
  37. Replies
    7
    Views
    3,638

    ok thanks, its such a minor thing, its not worth...

    ok thanks, its such a minor thing, its not worth wasting too much time on compared to your actual work.
  38. Replies
    30
    Views
    16,608

    I have just installed a MIC803 (2.63 threshold...

    I have just installed a MIC803 (2.63 threshold and >1 second delay but im pretty sure the faster 140ms or 20ms ones will work)
    I have a eurorack module with t3.6 which gets used with various...
  39. Replies
    7
    Views
    3,638

    Make teensyduino window easier to move.

    Hopefully a simple change for a future version of teensyduino!

    this might be sort of dumb, but:
    I have my windows set to a larger font size due to aging eyes and a high resolution monitor, there...
  40. Replies
    30
    Views
    16,608

    what startup behavior do you want to see, the...

    what startup behavior do you want to see, the 3.3v teensy voltage and?
  41. Replies
    30
    Views
    16,608

    please keep us posted how well that chip works, i...

    please keep us posted how well that chip works, i have trouble with a project sometimes not starting as well, and that looks like a nice solution, if you can still program with it.
  42. Thanks, I will leave it as is for now then.

    Thanks, I will leave it as is for now then.
  43. Help converting arm assembler for teensy 3.6

    I have been using this sine approximation by Jasper Vijn as a function, which works well. http://www.coranac.com/2009/07/sines/


    //fast sine approximation by Jasper Vijn
    /// A sine approximation...
  44. Thread: K66 Beta Test

    by neutron7
    Replies
    1,558
    Views
    733,609

    wouldn't the single precision float be able to...

    wouldn't the single precision float be able to speed up emulation of double?
  45. Thread: K66 Beta Test

    by neutron7
    Replies
    1,558
    Views
    733,609

    Just in case anyone is interested, I ran a...

    Just in case anyone is interested,
    I ran a benchmark i found with teensy 3.2 and 3.6 both at 120mhz, to get a sort of "apples to apples" comparison.



    F_CPU = 120000000 Hz teensy 3.2 teensy...
  46. Replies
    2
    Views
    1,255

    i fixed it (on the sample variables which are...

    i fixed it (on the sample variables which are accessed from the ISRs) it has not made any difference though.
  47. Replies
    2
    Views
    1,255

    Trying to read i2s directly from SGTL5000

    I am trying to do some "sample by sample" audio effects without using any DMA or buffers.
    I based this on a drum machine by "kbob" which only has outputs, and the output part is working on my...
  48. The code for this is handy if you want to see how...

    The code for this is handy if you want to see how to add your own effect in the audio library, thanks!
  49. Replies
    0
    Views
    1,217

    flanger not modulating.

    I tried the flanger example sketch, and it plays the original signal, as well as a delayed signal as i would expect, but there is no modulation of the delay time with the built in sine oscillator....
  50. Replies
    11
    Views
    3,307

    it is usually run at 120mhz, i have not really...

    it is usually run at 120mhz, i have not really got any loops in the ISRs, they just run through everything once each go, but i measured the speed of the main loop with and without FASTRUN, on the...
Results 1 to 50 of 76
Page 1 of 2 1 2