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
    6
    Views
    58

    @Paul, ist there at least any way to use the...

    @Paul,

    ist there at least any way to use the watchdog(-reset) ?

    A usable watchdog would be pretty important. Maybe even at the cost of the power on/off button.
    I assume, some fuse-bits...
  2. Replies
    1
    Views
    68

    You need to install Arduino, and after that...

    You need to install Arduino, and after that Teensyduino (it "patches" Arduino for Teensy)

    Go through the provided basic examples, attach a button or two, some LEDs(don't forget the resistors)....
  3. Replies
    1
    Views
    51

    The audioshield has a DAC.

    The audioshield has a DAC.
  4. Replies
    6
    Views
    58

    Is it correct, that the WDOG can not reset, too?...

    Is it correct, that the WDOG can not reset, too? It powers off?
  5. Replies
    6
    Views
    58

    Tim, I can't find the RTC - sleep solution. ...

    Tim, I can't find the RTC - sleep solution.

    Isn't there a better way? Isn't it possible to prevent the power-off?
  6. Replies
    6
    Views
    58

    T4: Software reset?

    I assume this is already solved here - but can't fnd any information.

    The usual ARM-Core reset
    SCB_AIRCR = 0x05FA0004;

    Seems to switch off the Teensy - might be because this reset switches off...
  7. I would, but I have not Teensy4 with battery....

    I would, but I have not Teensy4 with battery.
    and.. how to reset? the arm-core reset seems to power off.

    Thank you for the ideas :)
  8. I've created a mini library :) ...

    I've created a mini library :)

    https://github.com/FrankBoesing/T4_PowerButton
  9. Replies
    115
    Views
    7,934

    IF the core-features are identical, with...

    IF the core-features are identical, with identical FPUs, it might be possible to use one sourcefile (*.ino, *.c or *.cpp) for both... ? (M7+M4 are the same then, regarding machine-code)
    They can use...
  10. Replies
    88
    Views
    3,257

    Just use the example from my github - I'll delete...

    Just use the example from my github - I'll delete all other versions.

    For the numbering: I don't think that this is a problem. IF it is, assume it as as a "TODO" for you or others.. :)
  11. should be offset 0x100, I think

    should be offset 0x100, I think
  12. /* This should go into the core - clocksped.c,...

    /* This should go into the core - clocksped.c, perhaps?) */
    void (*__user_power_button_callback)(void);

    void __int_power_button(void) {
    if (SNVS_HPSR & 0x40) {
    SNVS_HPCOMR |= (1 << 31) |...
  13. @Tim, SNVS_LPSR |= (1

    @Tim, SNVS_LPSR |= (1 << 18); does not work too - i've just removed the line in #12 - still works (have you tried the code?)
    I see no need to wait 5 seconds. It's a better user-experience when it...
  14. @Tim, thank you! @MichaeMeissner,...

    @Tim, thank you!

    @MichaeMeissner, @PaulStoffregen

    So, this is a complete program for the user-callback:


    // by Frank B
    /* This should go into the core - clocksped.c, perhaps?) */
    void...
  15. if you do this: void setup() {...

    if you do this:



    void setup() {
    _VectorsRam[48+16] = &int48;
    NVIC_ENABLE_IRQ(48);
    }
    void int48() {
    Serial.println("int");
  16. So.. to disable the button: SNVS_LPCR |=...

    So.. to disable the button:

    SNVS_LPCR |= (1<<17) | (1<<16);
  17. ok, a bit sticky :) But there is a way to...

    ok, a bit sticky :)

    But there is a way to reset them:

    SNVS_HPCOMR |= (1<<4);

    Not sure what this helps.. the only reason after the initial power on is a "soft" power-on" with button press....
  18. The voltage regulator switches off, too - the 3V3...

    The voltage regulator switches off, too - the 3V3 pin goes low.
    You might want to look at the table 20.5.3 Power mode transitions (Reference manual)

    Bit 17 of SNVS_LPSR can tell you if there was...
  19. Replies
    88
    Views
    3,257

    Part of the problem is the parity function. If...

    Part of the problem is the parity function.

    If you move the lines


    ...
    ltcTimer.begin(genLtc, ltcTimer_freq);
    ltcTimer.priority(0);
    }
  20. Replies
    88
    Views
    3,257

    That's why it uses the sync-signal.. (pin 0) If...

    That's why it uses the sync-signal.. (pin 0) If you don't use it, it will drift away. That's natural - it's always the case when you compare two independent osciallators. There is no way to stop this...
  21. Replies
    88
    Views
    3,257

    It seems he uses a pretty picky algorithm (our...

    It seems he uses a pretty picky algorithm (our code can do it better :-) ) The signal is actually intended to pass through a wide variety of devices, to be filtered and tortured - and yet the...
  22. Replies
    88
    Views
    3,257

    Thank you for testing :) I noticed a few...

    Thank you for testing :)

    I noticed a few glitches on the output with slow f_fcpu. Looks like there is a higher priority interrupt somewhere or the Interrupts get disabled. It was much better on...
  23. Replies
    2
    Views
    65

    Damn, no. It was a few days back when i saw it.....

    Damn, no.
    It was a few days back when i saw it.. it must have a different part number.

    Ok.. closing here.. sry.
  24. Replies
    2
    Views
    65

    PT8215, cheap I2S A/D

    Only by chance (a typo) I found the counterpart to our "darling" PT8211: The PT8215.

    I myself have, I think, little use for it. But it would certainly be interesting to support this part in the...
  25. Replies
    30
    Views
    862

    Was USB-Audio advertised for T4? Or mentioned...

    Was USB-Audio advertised for T4? Or mentioned anywhere?
    Personally, I find other USB-features more interesting - like MTP - and would prefer that. But hey, that's a hobby and I can wait.
    I don't...
  26. Replies
    88
    Views
    3,257

    Best is to use the default, "serial". If you...

    Best is to use the default, "serial".

    If you add


    delay(1500);
    Serial.println("Hello Tom");
    as last lines to setup() - what happens?
  27. Replies
    88
    Views
    3,257

    Well... it works with the Teensy 3.2, default...

    Well... it works with the Teensy 3.2, default 72MHz.
    There seems to be a little problem with the first bit:


    16:19:55.00
    16:19:56.00
    16:19:56.02
    16:19:56.02
    16:19:56.04
    16:19:56.04
  28. Replies
    115
    Views
    7,934

    So both cores have each their own DMA and don't...

    So both cores have each their own DMA and don't share it.
    The Block diagram shows they have their own FPU, too. Are they the same, or is there a technical difference I.e. can both calculate double...
  29. Replies
    88
    Views
    3,257

    Ok, i'll test it this evening :)

    Ok, i'll test it this evening :)
  30. Replies
    115
    Views
    7,934

    For teensy 4.{something} with 1170: The ESP...

    For teensy 4.{something} with 1170:

    The ESP guys are using a function named "xTaskCreatePinnedToCore()" to assign a task to a specific core. I like this idea.
    It will be interesting to know how...
  31. Replies
    12
    Views
    254

    ..not important.. I just wanted to get rid of my...

    ..not important.. I just wanted to get rid of my anger :)
    That helped.

    Found an other version which prints tons of warnings, but it at least outputs something and this is enough.
    And, not the...
  32. Replies
    88
    Views
    3,257

    genLTC() and startLTC()

    genLTC() and startLTC()
  33. Replies
    12
    Views
    254

    ...tried the desired project.. result ...

    ...tried the desired project.. result


    rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00...
  34. Replies
    12
    Views
    254

    @Silverlock: Thank you :) @Manitou: Just tried...

    @Silverlock: Thank you :)
    @Manitou: Just tried it - yes, the ESP-folks moved the crc16.h or forgot it.
  35. Replies
    9
    Views
    116

    At the very least, all ports should work... I've...

    At the very least, all ports should work...
    I've never tried Serial6 - but this is the first time I'm reading about it not working. So it could well be a BUG... or not :)
    Can you do more tests?
  36. Replies
    12
    Views
    254

    p.s.: Is there any way to keep written code for...

    p.s.: Is there any way to keep written code for different boards in separate directories?
  37. Replies
    8
    Views
    94

    You can use the reset-pin.

    You can use the reset-pin.
  38. Replies
    12
    Views
    254

    Fun with ESP32 board.

    Fun with ESP.

    I had decided - because I wanted to try some special software that exists for the ESP32 - to buy a development board. In the past I often heard the name "NodeMCU" and thought, yes,...
  39. Hm. Or, try to connect the needed pull-up...

    Hm. Or, try to connect the needed pull-up resistors with vddio, not 3.3v.
    But I'm not sure if that works.
  40. As last chance, look for shorts, excessive...

    As last chance, look for shorts, excessive solder..
    ..and try to cut all pins and remove the Audio Shield.
  41. Have you tried the 15 seconds reset?...

    Have you tried the 15 seconds reset?
    https://forum.pjrc.com/threads/37531-T_3-6-acting-oddly-Program-Button-doing-a-reset-no-bootloader-reprogram?p=116941&viewfull=1#post116941

    If that does not...
  42. Try this: ...

    Try this:

    https://www.pjrc.com/teensy/troubleshoot.html
  43. You may want to download the datasheet and have a...

    You may want to download the datasheet and have a look :)
  44. Hm, does the 3v3 pin has contact? It's difficult...

    Hm, does the 3v3 pin has contact? It's difficult to see.
  45. At a first glance, this looks OK. Have you...

    At a first glance, this looks OK.

    Have you tried to upload the blink-sketch? Does it work?
  46. Please post a photo.

    Please post a photo.
  47. I'd check the device if it is 3.3V tolerant. If...

    I'd check the device if it is 3.3V tolerant.
    If yes, just try it without circuit.
  48. Replies
    88
    Views
    3,257

    Good luck :) Keep in mind not to add too much...

    Good luck :)

    Keep in mind not to add too much time-consuming code to the interrupts.

    Frank.
  49. Replies
    88
    Views
    3,257

    Yes, because of the usage in the interrupt - but...

    Yes, because of the usage in the interrupt - but not to be faster (it's slower)- "volatile" is needed to prevent the compiler from optimizing the variable away - the compiler might have wrong...
  50. Replies
    12
    Views
    190

    ..and this, from here...

    ..and this, from here:
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4