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; generated 40 minute(s) ago.

  1. Replies
    293
    Views
    38,324

    Dont know if that has changed lately but in the...

    Dont know if that has changed lately but in the past their libraries had horrible bad code... :)
    I once saw a graphic driver and other libs and i decided not to spend time with this ... ok that was...
  2. Very interesting thing -I'd like to see your...

    Very interesting thing -I'd like to see your code?
    I made something similar, but dont get much useful info.

    My codes just resets after a hardfault.
  3. Do you have an old 12MHz Hub? Don't know if that...

    Do you have an old 12MHz Hub? Don't know if that would work..I'm courious.
  4. The way is to simply add an extra jack. Whatever...

    The way is to simply add an extra jack. Whatever you do - never connect the jacks GND to the normal GND. If you really want to go that way, cut all three connections.
  5. The help in the Auio Library GUI says: Then,...

    The help in the Auio Library GUI says:

    Then, you want to remove the SGTL500 Control.
  6. 15ma is way too much. I think its max 4mA for...

    15ma is way too much. I think its max 4mA for static DC for a single GPIO pin.
    Not sure about PWM.
  7. Replies
    293
    Views
    38,324

    I partly agree. Teensy needs more pins. Not...

    I partly agree. Teensy needs more pins. Not because one needs all pins, but because of missing functionality.
    Then the question I would like to rise is, if really anyone needs 8 Serials... or which...
  8. I tried that and can't confirm that. Looks like...

    I tried that and can't confirm that. Looks like your Teensy has a defective pin.
  9. @khoadley, if you look at the schematic...

    @khoadley, if you look at the schematic - for Teensy - it seems you need to provide 3.3V to "VIO" (do NOT close JP7), and in addition the board wants 5V.
  10. They even have connectors with inbuilt electronic...

    They even have connectors with inbuilt electronic ... filtering and EMI protection...
    amazing!
    23847
    It's a bit expensive.. I think If I can find it somewhere, I'll order one and build an...
  11. Found some great PDFs in German, from Würth...

    Found some great PDFs in German, from Würth Elektronik.
    They say VBus (5V) should have a ferrite.
    More advanced designs they propose have pretty complex schematics, just for the connector - with a...
  12. Oh.. just noticed.. that the 4.1 has the TPD3S014...

    Oh.. just noticed.. that the 4.1 has the TPD3S014 on board .. t4.0 not.
    Seeing this the first time.. :) great.
  13. Ok, on the Teensy 4, the 2 pins are just...

    Ok, on the Teensy 4, the 2 pins are just connected to GND.. I assume one is the GND wire in the cable, the other for the shielding?
    So, that seems to be OK.
  14. Sorry, I'm talking about the schielding of the...

    Sorry, I'm talking about the schielding of the cable.
    The usb cable has GND wire, and a shielding that must somehow be connected to GND, too.

    My Question is: Is the cable shield connected on...
  15. USB Host - shielding - connect to GND or not?

    Thinking of ground loops, EMI, etc:
    A question re: USB Host
    Should I connect the shielding of the USB Connector for the HOST to GND or is it better to do this not?
    Is there a difference with...
  16. Have you tried Pauls sketch?

    Have you tried Pauls sketch?
  17. Replies
    4
    Views
    79

    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
  18. Replies
    4
    Views
    79

    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.
  19. Thread: TMR4 and DMA

    by Frank B
    Replies
    15
    Views
    256

    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...
  20. Replies
    13
    Views
    448

    I've added it here...

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

    by Frank B
    Replies
    15
    Views
    256

    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 :)
  22. Thread: TMR4 and DMA

    by Frank B
    Replies
    15
    Views
    256

    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...
  23. 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()...
  24. 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 }
  25. 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...
  26. Thread: TMR4 and DMA

    by Frank B
    Replies
    15
    Views
    256

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

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

    by Frank B
    Replies
    15
    Views
    256

    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.
  28. Ok, didn't see that you use the DACs.

    Ok, didn't see that you use the DACs.
  29. 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...
  30. 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?
  31. 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 ..
  32. Is it the same with the line-out connection?

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

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

    by Frank B
    Replies
    15
    Views
    256

    Sounds interesting!

    Sounds interesting!
  35. Thread: TMR4 and DMA

    by Frank B
    Replies
    15
    Views
    256

    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...?
  36. 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...
  37. 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...
  38. Thread: TMR4 and DMA

    by Frank B
    Replies
    15
    Views
    256

    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...
  39. Replies
    4
    Views
    105

    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...
  40. Replies
    27
    Views
    676

    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,...
  41. Replies
    27
    Views
    676

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

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

    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...
  43. Replies
    27
    Views
    676

    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...
  44. Replies
    27
    Views
    676

    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...
  45. Replies
    76
    Views
    1,478

    The Teensyduino installer is older than the new...

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

    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.
  47. Replies
    161
    Views
    7,856

    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,...
  48. 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:
  49. ...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...
  50. 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,...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4