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

Search:

Type: Posts; User: Frank B

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    19
    Views
    134

    I'd blame the programs. There is no "Teensy...

    I'd blame the programs.
    There is no "Teensy driver" - everything is native Windows. The driver too.

    Perhaps something gets confused by your com-port-hack or the FTDI driver on com1.
    Could it be...
  2. Replies
    19
    Views
    134

    Ok.. great.

    Ok.. great.
  3. Replies
    19
    Views
    134

    Files: Yes, I think so. But I don't think there...

    Files: Yes, I think so.
    But I don't think there is a connection with the weired message "..does not exist".
    In this case the Arduino Terminal should'nt work.
    I tried on my computer, and it works...
  4. Replies
    19
    Views
    134

    Weird windows.. Its not visible in your...

    Weird windows..
    Its not visible in your screenshot: Have you used



    $port = New-Object System.IO.Ports.SerialPort COM1



    Its interesting that both are COM1. I thought Windows does not do...
  5. Replies
    19
    Views
    134

    Is the Arduino Terminal closed? Only one program...

    Is the Arduino Terminal closed? Only one program can use a serial port.
  6. Replies
    19
    Views
    134

    Is the Teensy on COM1?

    Is the Teensy on COM1?
  7. The Arduino IDE does not provide such a function....

    The Arduino IDE does not provide such a function.

    In your program you can use

    SCB_AIRCR = 0x05FA0004;
  8. Replies
    7
    Views
    155

    Hi Len, If I remember correctly (It's been some...

    Hi Len, If I remember correctly (It's been some time since I wrote this) the times are preset in the chip.
    Maybe you want to look at the 3000+Pg Reference Manual? Quite possible that there is an...
  9. Replies
    23
    Views
    275

    But a new user doesn't associate that text with...

    But a new user doesn't associate that text with "it could be the wrong cable".
  10. Replies
    23
    Views
    275

    KD0RC, very nice project. How did you make the...

    KD0RC, very nice project.
    How did you make the front panel?

    I'm always too lazy to make a front panel.
    At some point my projects end up dusty in a drawer, and are then used much later as a...
  11. Replies
    23
    Views
    275

    No Problem. @Paul, can the booloader detect...

    No Problem.

    @Paul, can the booloader detect wether it is a charge-only cable or not?
  12. Replies
    23
    Views
    275

    Attached a shorter file, it should upload (Press...

    Attached a shorter file, it should upload (Press the button), and blink a bit faster after that.
    If this does not work too, there is a Hardware problem.
  13. Replies
    23
    Views
    275

    1) Is this a brand new Teensy 4, or has it been...

    1) Is this a brand new Teensy 4, or has it been used before?
    2) Does it blink slowly?
    3) Is the USB-Cable you are using a charging only cable or is it for data, too? You can try it with a...
  14. Correct, in most cases the reset on the display...

    Correct, in most cases the reset on the display is not needed.
    You also don't need some pins of the audio shield.
    I.e. if you don't use the potentiometer, you don't need pin 15.
    If you don't need...
  15. Replies
    23
    Views
    275

    Are you really sure you're starting the...

    Are you really sure you're starting the downloaded version?
    Klick on "Help":

    23269
    And are you sure you're using the correct Hex File?
    How large is it, in Bytes?
  16. Replies
    60
    Views
    932

    I've modified the code in #60 to work with...

    I've modified the code in #60 to work with TeensyLC and Teensy3.x
  17. Replies
    60
    Views
    932

    If I do it right, it works right. Voilá, pitch...

    If I do it right, it works right.

    Voilá, pitch shifting on LC (okay, it just changes the samplerate on the fly)
    You'll need a potentiometer on your Audio Shield or Pin 15.

    Modified WavPlayer...
  18. Replies
    60
    Views
    932

    LOL I tried to modify the PLL of the SGTL-5000...

    LOL

    I tried to modify the PLL of the SGTL-5000 at runtime, with the help of the potentiometer on the Audio Shield and the WavFilePlayer.
    HAHA.. Well..
    THE LC CAN DO PITCH-SHIFTING.
    Totally...
  19. I don't know if one should do that... lol I've...

    I don't know if one should do that... lol
    I've just connected a cheap headset from an old smartphone to the PJRC PT8211 board.
    VERY very loud.
    I don't know any spec of the headset.

    Don't know...
  20. Replies
    1
    Views
    80

    Done .

    Done .
  21. Replies
    169
    Views
    9,432

    I found it. It was 2016:...

    I found it. It was 2016:
    https://github.com/PaulStoffregen/Audio/commit/0b27b37eb8a3ef60860424f5f14a3d146f2de739

    As we now have more sources for files, and with the abstractions we need a better...
  22. Replies
    169
    Views
    9,432

    No more silent passing away... (in most cases) ...

    No more silent passing away... (in most cases)

    @Paul or others:
    In WavFilePlayer we have patches like


    #if defined(HAS_KINETIS_SDHC)

    I think I(??) have added them a long time ago, to fix...
  23. Replies
    60
    Views
    932

    PaulS, here is a new version...

    PaulS,

    here is a new version
  24. Replies
    60
    Views
    932

    Looks like we need a I2S_TCR2_DIV(x); where x =...

    Looks like we need a I2S_TCR2_DIV(x); where x = 8.5 which is not possible.
    Or I must go back to 16 bit I2S

    Hm... i think I'll do that.
  25. Replies
    60
    Views
    932

    Hi Pauls, hm.. can you try to edit line 609...

    Hi Pauls,

    hm.. can you try to edit line 609 in OutputI2s and change it to this:
    I2S0_MCR = I2S_MCR_MICS(0) | I2S_MCR_MOE;

    Dank je wel!
    Frank
  26. Replies
    60
    Views
    932

    Waveplayer/AudioStream.h Hm mysterious......

    Waveplayer/AudioStream.h



    Hm mysterious... now it works with 64, too.. don't know what happens here... must be a glitch in the matrix
  27. Replies
    169
    Views
    9,432

    Paul, I have done PR for Teensy-LC /...

    Paul, I have done PR for Teensy-LC / Audiolibrary.
    Would you merge them?
  28. Replies
    60
    Views
    932

    So. I have created some PR, hoping that Paul...

    So.
    I have created some PR, hoping that Paul will merge them.

    - Code for the PT8211 (tested and working)
    - Audio-Lib fixes for the LC, so that it does not come to errors when compiling.
    -...
  29. Replies
    60
    Views
    932

    Ok, that works. I2S slave works too.

    Ok, that works.
    I2S slave works too.
  30. Replies
    6
    Views
    188

    Thank you. Here is the WIKI:...

    Thank you. Here is the WIKI: https://github.com/TeensyUser/doc/wiki
  31. You shouldn't use nops. It is incompatible...

    You shouldn't use nops.
    It is incompatible between teensys, and different F_CPU. With a new, faster Teensy, it will not work anymore.
    Better is to use delayNanoseconds(). Ther might be cases where...
  32. Replies
    5
    Views
    112

    The buzzing sound is an indication that something...

    The buzzing sound is an indication that something may be wrong with your hardware.
    Please show a photo of the wiring.

    And test a simpler thing first. A sine output for example.
    With the...
  33. Replies
    5
    Views
    112

    I have used it, works. Paul tested it too:...

    I have used it, works.

    Paul tested it too: https://forum.pjrc.com/threads/59781-AudioOutputI2S-on-Teensy-4-0-not-working-Hair-puller!?p=231186&viewfull=1#post231186
  34. Replies
    13
    Views
    213

    Tim, it has to do a bit more than reading pins -...

    Tim, it has to do a bit more than reading pins - it must toggle the clock pin & shifting.
    So it results in 16Mhz "only". Might be still too fast.


    For shiftOut I added code with "smart wait"...
  35. Replies
    13
    Views
    213

    I measured it now. oops... 16.3MHz with T4 @...

    I measured it now.

    oops... 16.3MHz with T4 @ 600MHz.

    Check the datasheet, if the chip can handle that.
    23229



    void setup() {
  36. Replies
    13
    Views
    213

    On Teensy, ShiftIn is *way* faster than I2C. On...

    On Teensy, ShiftIn is *way* faster than I2C.
    On Teensy 4, it can happen that it is too fast for the chips.. You will see no markable difference to hardware SPI.
    (did not look at the datasheet for...
  37. Replies
    13
    Views
    213

    You can use shiftIn()....

    You can use shiftIn().
    https://www.arduino.cc/reference/en/language/functions/advanced-io/shiftin/
  38. Replies
    60
    Views
    932

    I can :) The new Teensy LC arrived. SGTL-5000...

    I can :) The new Teensy LC arrived.

    SGTL-5000 sine (44116,9739Hz sample frequency):

    23228

    However, I need to find a way, NOT to initialize the SGTL-5000 after a reset. Otherwise it stays...
  39. Replies
    25
    Views
    279

    https://github.com/FrankBoesing/Arduino-Teensy-Cod...

    https://github.com/FrankBoesing/Arduino-Teensy-Codec-lib

    But it is the MP3 lib only. To be exact, it can decode AAC/MP3 and FLAC in HiFi quality.
    Lost the rest of the code. :)
  40. Replies
    25
    Views
    279

    I lost it some years ago. BTW, the SPI was 60MHz,...

    I lost it some years ago. BTW, the SPI was 60MHz, so I had to run the Teensy 3.2 with 120MHz. But the CPU usage is low. It's the % value in the headline.
    The mp3-library is on my github.
  41. Replies
    25
    Views
    279

    Yes, it was a mp3 radio stream form a local...

    Yes, it was a mp3 radio stream form a local station, esp8266 for wifi. Teensy 3.2 does mp3 decoding sound and display.
  42. Replies
    25
    Views
    279

    https://www.youtube.com/watch?v=I8mU1mLBhaU The...

    https://www.youtube.com/watch?v=I8mU1mLBhaU
    The last one is a little too slow, maybe, but you got the idea :)

    Als this was done on a "slow" Teensy 3.2
  43. Replies
    25
    Views
    279

    https://www.youtube.com/watch?v=iWcqSE_yjT4 ...

    https://www.youtube.com/watch?v=iWcqSE_yjT4

    https://www.youtube.com/watch?v=x1cBSHrAPtE
  44. Replies
    25
    Views
    279

    The "bins"-display is more important. You don't...

    The "bins"-display is more important.
    You don't need more than 20Hz (or even less, depends on how you're doing it ) for a good display. Cinema is 25Hz.
    But you can smooth your data. It looks even...
  45. Replies
    25
    Views
    279

    In addition all these bins don't give you more...

    In addition all these bins don't give you more usable Information than, lets say 32 or less..
    If you just look at it, with the eyes.
  46. Replies
    25
    Views
    279

    512 bytes shouldn't be a big problem. But how do...

    512 bytes shouldn't be a big problem.
    But how do you display 512 bins on the 320x240 display?
    I bet you can transfer much less than that.

    Maybe 16 bins are enough?
  47. This happens when the program crashes. Try to...

    This happens when the program crashes.
    Try to reduce your program until it does not crash anymore.
  48. Replies
    25
    Views
    279

    With my proposed solution you can use a slow...

    With my proposed solution you can use a slow connection.
    Bluetooth maybe?
  49. Replies
    25
    Views
    279

    I understand, you want to save money with a cheap...

    I understand, you want to save money with a cheap cpu on the display, but that is the wrong place..
  50. Replies
    25
    Views
    279

    As said, you can just use a Teensy on the...

    As said, you can just use a Teensy on the display.
    It can handle the graphics , and you can send just the values for your spectrum display over *whatever* interface. That would be low traffic. I'd...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4