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. Have you tried Pauls sketch?

    Have you tried Pauls sketch?
  2. Replies
    4
    Views
    67

    Directly, no. But you may ask the friends in...

    Directly, no.
    But you may ask the friends in this thread: https://forum.pjrc.com/threads/43165-Over-the-Air-firmware-updates-changes-for-flashing-Teensy-3-5-amp-3-6?highlight=flashing
  3. Replies
    4
    Views
    67

    You can't write the bootloader. You can write...

    You can't write the bootloader.
    You can write to the teensy-flash,( but not to the bootlader )
    That works with a normal Teensy - no extra booloader chip needed.
  4. Thread: TMR4 and DMA

    by Frank B
    Replies
    15
    Views
    250

    I've patched the denom value...

    I've patched the denom value,
    and added a search for the divs - now, more frequencies are working (if not all - tests needed)

    Edit: really amazing that the PLLs work with up to 1.3GHz - tell...
  5. Replies
    13
    Views
    440

    I've added it here...

    I've added it here, with a link to this thread.
  6. Thread: TMR4 and DMA

    by Frank B
    Replies
    15
    Views
    250

    Yes, thats the same what the Reference manual...

    Yes, thats the same what the Reference manual says - everything but the max 960000.
    I'll update that value. Thanx :)
  7. Thread: TMR4 and DMA

    by Frank B
    Replies
    15
    Views
    250

    Thanks! The reference manual says not any word...

    Thanks!
    The reference manual says not any word about this. (only that it can be 29 (or was it 30?) Bits wide) - I'll test if it makes any difference. As said.. the program works .. so i wonder if...
  8. Audio Library: AudioProcesUsage() - DMA?

    Hi,

    AudioProcessorUsage() does not take the time needed for the DMA ISRs into account.
    Some need quite a time (like S/PDIF emulation on Teensy 3.x).

    I'd suggest a function like update_all()...
  9. You may have seen setup() and loop() Forget...

    You may have seen setup() and loop()
    Forget that.. they are just functions.

    its something like



    void setup() { your code here }
    void loop() { your code here }
  10. First of all, you should think about what you...

    First of all, you should think about what you actually mean by "memory management".
    Since you obviously know C, you know that there is at most new/malloc/free - and there is the stack, variables...
  11. Thread: TMR4 and DMA

    by Frank B
    Replies
    15
    Views
    250

    I'd check your desired frequency with a scope or...

    I'd check your desired frequency with a scope or frequency counter.
  12. Thread: TMR4 and DMA

    by Frank B
    Replies
    15
    Views
    250

    You don't want 44100Hz... there is no divisor for...

    You don't want 44100Hz... there is no divisor for it.
    Try 44117,64706Hz (there is no audible difference)



    As said above: It works. As it is :) I'm aware that it fires twice.
  13. Ok, didn't see that you use the DACs.

    Ok, didn't see that you use the DACs.
  14. Which Teensy are you using? Teensy 3.x with...

    Which Teensy are you using?

    Teensy 3.x with Audio Board Rev A to C uses pin 22 for Audio you use it for the LED.
    Teensy 4.x with Audio Board Rev D uses pin 20, and 21 for Audio.. which are DC...
  15. Hmm... not an expert here... electronics noob,...

    Hmm... not an expert here... electronics noob, still :)... but... this this sounds a problem with the current?
    Is it worth to try and add a buffer-capacitor?
  16. Can't you strip it down to the important parts?...

    Can't you strip it down to the important parts? But it should work, so we that we can copy&paste it and try ..
  17. Is it the same with the line-out connection?

    Is it the same with the line-out connection?
  18. Can you post the whole program? These snippets...

    Can you post the whole program?
    These snippets do not help much..
  19. Thread: TMR4 and DMA

    by Frank B
    Replies
    15
    Views
    250

    Sounds interesting!

    Sounds interesting!
  20. Thread: TMR4 and DMA

    by Frank B
    Replies
    15
    Views
    250

    No, my code works. Maybe do a copy&paste.. or...

    No, my code works.
    Maybe do a copy&paste.. or try the transmitter as a whole.

    May I ask what you're tryong to archive? Must be something with frequency modulation, too...?
  21. Hm, no, for the SD it's always the same pinout...

    Hm,
    no, for the SD it's always the same pinout (for clock)

    SPI-Mode:
    23822
    Not sure what it could be.. it's not audible, at least for me...

    @Pauls (from Netherlands): If you're reading...
  22. Yes, use more relaible connections - plug the...

    Yes, use more relaible connections - plug the shield directly on the Teensy - , don't use these china wires ;)
    As Pin 44 is the SD clock pin, SPI wouldn't help.. needs a clock, too.
    Or try the SD...
  23. Thread: TMR4 and DMA

    by Frank B
    Replies
    15
    Views
    250

    Take a look here:...

    Take a look here: https://github.com/FrankBoesing/TeensyFMTransmitter/blob/main/output_fm.cpp#L159

    Similar to yours... uses the timer @ audio sampling rate and uses the triggered dma to write to...
  24. Replies
    4
    Views
    100

    Just store it on SD? The waveplayer can play...

    Just store it on SD? The waveplayer can play wav-files.
    Maybe together with MTP.

    You can record them in RAW format too. Maybe to SD, also. Or to PSRAM, or... wherever.
    If there is no ready to...
  25. Replies
    25
    Views
    598

    Yup, I tried, but could'nt get more usable data...

    Yup, I tried, but could'nt get more usable data to print.
    At least it prints that something bad happened and what kind of problem it was. With a bit digging, it is possible to find where it was,...
  26. Replies
    25
    Views
    598

    Done that too. Had to use the "Edge" Browser...

    Done that too.
    Had to use the "Edge" Browser .... I never use that :)
    Thanks, MJS.
  27. Replies
    25
    Views
    598

    No offense, really! - but usually "no response"...

    No offense, really! - but usually "no response" or "no statement" means that something is unlikely to be adopted :) So, I don't spend more time for this. The weather is good - I enjoy the sun.
    In...
  28. Replies
    25
    Views
    598

    also, for flash, perhaps just add the numbers...

    also, for flash, perhaps just add the numbers for "data" and "headers"... the information "headers" is not that useful, i think.
    Also, "free for files" is not correct. is can be used for code and...
  29. Replies
    25
    Views
    598

    I think two blank lines and a little formatting...

    I think two blank lines and a little formatting would make it clearer.


    "C:\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-objcopy" -O ihex -R .eeprom...
  30. Replies
    76
    Views
    1,468

    The Teensyduino installer is older than the new...

    The Teensyduino installer is older than the new rules, that's all.
  31. Replies
    88
    Views
    3,202

    Havn't used it for years.. do we still support...

    Havn't used it for years.. do we still support the eeprom-files?
    If yes, they should be added.
  32. Replies
    161
    Views
    7,841

    Yes.. things like these are fun. But for me,...

    Yes.. things like these are fun.
    But for me, it's not that interesting. In addition, the VIC is very tricky. It has to be cycle-excact to be 100% compatible - I have it working in the emulaton,...
  33. Well, it's a B-20 Serial.printf("Chip:...

    Well, it's a B-20




    Serial.printf("Chip: Si47%d-%c%c%c\n", si4735.getFirmwarePN(), si4735.getFirmwareCHIPREV(), si4735.getFirmwareFWMAJOR(), si4735.getFirmwareFWMINOR());


    Prints:
  34. ...not more. I am quite disappointed and...

    ...not more.

    I am quite disappointed and frustrated with this Si4735 stuff. This happens to me very very rarely.

    After working wonderfully for a short time, it is now pretty much "dead". I2C...
  35. It does not want 44.100 Hz :) But this works...

    It does not want 44.100 Hz :)
    But this works (with the library mentioned above):


    tone(0, 32000); // Output 32kHz on Pin 0 - connect Teensy Pin 0 with RCLK on Si4735
    si4735.setup(RESET_PIN,...
  36. Maybe there is nothing against simply using the...

    Maybe there is nothing against simply using the 44.1kHz I2S Framesync for this as well. That would be a good opportunity!

    I soldered the pins to my Si4735 board, and put it on a breadboard. I...
  37. Replies
    88
    Views
    3,202

    You can patch it to always use verbose mode!...

    You can patch it to always use verbose mode!
    Btw, the build of teensy size showed a minor warning with -Wall - not important.
    Good night... zzzzzz
  38. Replies
    13
    Views
    440

    So, you're using the DAC for ultrasonic sounds?...

    So, you're using the DAC for ultrasonic sounds?
    Have you tried the PT8211? It's capable of 384khz (according to the datasheet) and cheap.
    The bats will not notice that, I think........
  39. Replies
    6
    Views
    168

    Yup, and the pin-# has to be a constant...

    Yup, and the pin-# has to be a constant expression in order to make it fast. Your #define is fine ;)
  40. Replies
    161
    Views
    7,841

    LoL, yes, but 5000 is a bit too much. Thanks for...

    LoL, yes, but 5000 is a bit too much.
    Thanks for the hint with Farnell. I think I'll order there.
  41. Replies
    13
    Views
    440

    The Audio Board has a 100 Ohm series resistor in...

    The Audio Board has a 100 Ohm series resistor in the MCLK line.
    Maybe this would help?
  42. Replies
    88
    Views
    3,202

    Excellent that we have that working, now.

    Excellent that we have that working, now.
  43. I wrote a program that turns the Teensy into a FM...

    I wrote a program that turns the Teensy into a FM Transmitter, Stereo + RDS - will be useful for testing :)
  44. Yes, exactly this :) In the mean time I read the...

    Yes, exactly this :)
    In the mean time I read the datasheet - it does not have to be 32768Hz - it takes almost anything.... like 4MHz or so... you just have to tell it the frequency.
    My Chip (yes,...
  45. Replies
    88
    Views
    3,202

    It prints that : Der Sketch verwendet 0...

    It prints that :


    Der Sketch verwendet 0 Bytes (0%) des Programmspeicherplatzes. Das Maximum sind 8126464 Bytes.
    Globale Variablen verwenden 0 Bytes (0%) des dynamischen Speichers, 524288 Bytes...
  46. Replies
    88
    Views
    3,202

    Great!! Have to look how you did that...

    Great!!

    Have to look how you did that...
  47. Replies
    88
    Views
    3,202

    That would have misleading information, too - it...

    That would have misleading information, too - it would print only one value for "RAM" :-(
    That would be not much better than that we have now?!?
  48. Replies
    161
    Views
    7,841

    I'm not a hardware-guy, too. And I have not...

    I'm not a hardware-guy, too. And I have not enough practice with creating PCBs.. maybe I do 3 different in a year.. and.. 70% of the first run have a mistake somewhere!
    But from china, that's not a...
  49. Replies
    161
    Views
    7,841

    Ok, corrected the name to MCUME ;) added an I2C...

    Ok, corrected the name to MCUME ;) added an I2C connector, and ordered 5pcs ...
    Thanks. I'll stop polluting this thread now ;)
  50. Replies
    157
    Views
    17,421

    Thanks for the warning - Too late for me...

    Thanks for the warning - Too late for me...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4