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. Or just a sd card, if the inbuilt eeprom is not...

    Or just a sd card, if the inbuilt eeprom is not enough.
  2. Thread: BOM Teensy 4.0

    by Frank B
    Replies
    6
    Views
    166

    If you overclock the board a little bit, it heats...

    If you overclock the board a little bit, it heats up quite a bit. So in a well insulated case it might work - as long as it doesn't get so cold when switched off.
  3. You can use the eeprom library....

    You can use the eeprom library.
    https://www.pjrc.com/teensy/td_libs_EEPROM.html

    Edit.. lol, crosspost, thebigg was faster:)
  4. Replies
    34
    Views
    538

    BTW, I've ordered purple boards along with a T4 -...

    BTW, I've ordered purple boards along with a T4 - OSH told me they'll upgrade to "superswift" . That was mid december.
    Boards + T4 still not here :( I hope they are not lost..... it's more than a...
  5. Replies
    34
    Views
    538

    T4 can run two PT8211 simultanously :) I don't...

    T4 can run two PT8211 simultanously :)

    I don't know why poeple try such things and spend hours but don't find the time to read the docs - where they can find the missing parts / "japanese" flags....
  6. Replies
    40
    Views
    403

    Prost - hau wech :) Ich hole mir auch ein Bier....

    Prost - hau wech :) Ich hole mir auch ein Bier. Feierabend!
  7. Replies
    34
    Views
    538

    He wants to run the code on a unknown arduino.

    He wants to run the code on a unknown arduino.
  8. Replies
    40
    Views
    403

    Spamming here... :) TMR1_COMP10 = 29'296;...

    Spamming here... :)


    TMR1_COMP10 = 29'296; // 25ms
    TMR1_CMPLD10 = 29'296+1;

    Does help greatly - in most cases.

    But.. it in one of 10 resets the result is even more...
  9. Replies
    40
    Views
    403

    err... no... sometimes it helps, sometimes not.

    err... no... sometimes it helps, sometimes not.
  10. Replies
    40
    Views
    403

    It is stable - for me - under the following...

    It is stable - for me - under the following condition:

    1. Tims code with dsb
    2. Connect Teensy with button pressed - upload occurs
    -> data stable

    Not with:
    3. Re-Upload during program run...
  11. Replies
    40
    Views
    403

    This is from an old document, whicht mentions M4...

    This is from an old document, whicht mentions M4 only - but it's the same errata.
    From: https://www.nxp.com.cn/docs/en/errata/IMX8MDQLQ_0N14W.pdf
  12. Replies
    40
    Views
    403

    Luni - is this with all timers (that use...

    Luni - is this with all timers (that use interrupts)?
  13. Replies
    40
    Views
    403

    Hm.. not sure if this is the case here - and i...

    Hm.. not sure if this is the case here - and i can't find the document.
    NXP adds this to every interrupt (and maybe more places - don't remember and I havn't the code anymore)


    /* Add for ARM...
  14. Replies
    40
    Views
    403

    The systick does not have a "dsb", too" :) ...

    The systick does not have a "dsb", too" :)

    Tims, code gets pretty stable with the DSB immedately after
    TMR1_CSCTRL0 &= ~TMR_CSCTRL_TCF1; // clear the timer flag




    void isr()
    {
  15. Replies
    40
    Views
    403

    Well.. there is still a little chance that the...

    Well.. there is still a little chance that the reason is USB or the eventresponder (which even gets called in the systick!) - all this adds not reproducable timings.
    All these interrupt-disables...
  16. Replies
    40
    Views
    403

    oops... weird. I can confirm this.

    oops... weird.
    I can confirm this.
  17. Here are a some docs that may help a bit: ...

    Here are a some docs that may help a bit:

    https://www.nxp.com/docs/en/application-note/AN12085.pdf
    https://www.nxp.com/docs/en/application-note/AN12094.pdf...
  18. Thread: BOM Teensy 4.0

    by Frank B
    Replies
    6
    Views
    166

    Which breakout?

    Which breakout?
  19. Replies
    14
    Views
    124

    No, correct measuring is a science... :)

    No, correct measuring is a science... :)
  20. Replies
    14
    Views
    124

    Mine, a clone, can do 100MHz. The newer official...

    Mine, a clone, can do 100MHz.
    The newer official ones are capable of much much more for even more $$ :)

    Edit: Crosspost
  21. Replies
    14
    Views
    124

    ..or use a oscilloscope.

    ..or use a oscilloscope.
  22. Replies
    14
    Views
    124

    At minimum you need 40Mhz - that's the minimum...

    At minimum you need 40Mhz - that's the minimum need for sampling 20MHz but can say nothing about timing details. For your pwm, I'd go for 100MHz absolutely minimum. If your saleae can do more, choose...
  23. Replies
    40
    Views
    403

    Maybe we should add it to every single interrupt,...

    Maybe we should add it to every single interrupt, without too much thinking. NXP does it.
    Dsb is not nessesary slow. Depends on the number of writes and bus-speeds I think.

    As i understand it,...
  24. Replies
    40
    Views
    403

    I supect that we will have much more fun with dsb...

    I supect that we will have much more fun with dsb as we know now. We may need to add it to many old libraries, too..... i'd say that a
    thing we forgot to do during beta-phase.....
  25. Replies
    4
    Views
    94

    The exact samplerate T3.x uses is 44117.xyz Hz....

    The exact samplerate T3.x uses is 44117.xyz Hz. T4 uses 44100 exactly.
  26. Replies
    40
    Views
    403

    Re: dab: there is an errata by ARM- can't find...

    Re: dab: there is an errata by ARM- can't find it at the moment.
  27. Replies
    40
    Views
    403

    A missing dsb? Great Tool, Luni!

    A missing dsb?

    Great Tool, Luni!
  28. Replies
    91
    Views
    3,332

    ...or, easier for you maybe, set the Teensy-time...

    ...or, easier for you maybe, set the Teensy-time to zero, or whatever time you want.
  29. Replies
    91
    Views
    3,332

    It uses the Teensy RTC. (Didn't you want that?)...

    It uses the Teensy RTC. (Didn't you want that?)
    So, it uses the hour(), minute(), second() function for the time.
    If 20 was not the correct time, it's a bug, maybe.
    There was bug with the parity....
  30. Replies
    7
    Views
    375

    You can make the zipfile yourself. Install...

    You can make the zipfile yourself. Install everything on a other machine and zip the Arduino directory.
  31. Tim, maybe it's so slow because it is clocked...

    Tim,
    maybe it's so slow because it is clocked by the 32khz crystal.
    Just a guess.
  32. It also allows a faster power-off with the button...

    It also allows a faster power-off with the button (use a empty callback).

    for the records: If you want to start the bootloader from your program: asm("bkpt #251");
  33. A demo for that: #include "T4_PowerButton.h"...

    A demo for that:


    #include "T4_PowerButton.h"

    void myCallback(void) {
    digitalWriteFast( 13, 1);
    Serial.println ("Callback called - Switching off now.");
    delay(100);
    }
  34. @Defragster: I'm not sure what the "reserved"...

    @Defragster:
    I'm not sure what the "reserved" Bit24 does exactly, but it helps (and seems to work now):


    void setup() {
    Serial.println(IMXRT_SNVS.offset100, HEX);
    ...
  35. I2S is not I2s. There are several variants with...

    I2S is not I2s.
    There are several variants with different details when which bits (and how many) get set.
    Then, the audio-shield for exampe needs an initialization which happens through another...
  36. At the moment, T4 has no PWM or AudipInputAnalog...

    At the moment, T4 has no PWM or AudipInputAnalog implemented.
    At least analog will come in the future, I think.

    For the "multiple libraries" issue, check your installation.
  37. Replies
    4
    Views
    216

    Why the audioboard ? Pins, see post before.. is...

    Why the audioboard ? Pins, see post before.. is the SPDIF-LED lit?
    On the PLT133, you must connect GND to GND, PLT133-VCC to 5V and PLT133-VIN to the Spdif-pin.
    Do NOT use any pin that is used by...
  38. Replies
    9
    Views
    139

    Tonton, that's interesting :) Its 'not...

    Tonton, that's interesting :)
    Its 'not off-topic, and as nobody has an answer to these questions so far, I guess it's not possible.
    So, to use a watchdog, it must be external. But we have no...
  39. Maybe it's better to open a new thread. So the...

    Maybe it's better to open a new thread.

    So the remaining question is: where is the GPR_Z_DIS bit. It not documented in the LP Control Register description.

    The manual says, it's offset 100 for...
  40. Replies
    7
    Views
    158

    If you want to use the teensy to receive MIDI,...

    If you want to use the teensy to receive MIDI, you can create nice audioeffects.
    If you want to send only, you don't need all the audio-stuff.
    Maybe there is a MIDI-Tutorial out there - don't know...
  41. The lib...

    The lib was updated and has now three functions:

    void arm_reset(void); // reset
    void arm_power_down(void); //switch off
    void set_arm_power_button_callback(void (*fun_ptr)(void));
  42. Replies
    31
    Views
    846

    For the records, this does the same, but without...

    For the records, this does the same, but without inlcuding "timelib", is shorter and is a single function:


    void arm_reset() {
    uint32_t tmp = SNVS_LPCR; // save control register

    SNVS_LPSR...
  43. Replies
    7
    Views
    158

    Short answer: No, not really, if you want no...

    Short answer: No, not really, if you want no audio.
  44. Replies
    25
    Views
    180

    http://infocenter.arm.com/help/index.jsp?topic=/co...

    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0321a/index.html
  45. Replies
    25
    Views
    180

    I prefer to leave that to others with better...

    I prefer to leave that to others with better English skills.

    There is a document from ARM about this, several pages about "barriers", but I can't find it right now.


    Maybe, maybe not :) The...
  46. Replies
    25
    Views
    180

    Yes of course. Have you added the DSB?

    Yes of course. Have you added the DSB?
  47. Replies
    25
    Views
    180

    ...usually the schematics are on the web. If it's...

    ...usually the schematics are on the web. If it's a c64, I can mail them..
  48. Replies
    25
    Views
    180

    can you post the part of the schematic that shows...

    can you post the part of the schematic that shows the connection to the 74.. input? what is it? another gate? a transistor?
  49. Replies
    25
    Views
    180

    Yes, I' disconnect the input on the 74 and - at...

    Yes, I' disconnect the input on the 74 and - at least for a test - add a pulldown/up to the specific nput. This will tell you if it is an electrical problem.

    Hope you can find it :) Good luck!
  50. Replies
    25
    Views
    180

    Well, IF there was a problem - you could be sure...

    Well, IF there was a problem - you could be sure it was noticed before by other users of the 1062 (don't know how many chips NXP produces.. millions?)
    If I use your program, I have NO output. So it...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4