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. All Teensy libs that come with Teensyduino are...

    All Teensy libs that come with Teensyduino are very efficient and you'll find many optimizations.
    Best is to download Teensyduino and take a look at the core (you'll find your UART code there) and...
  2. As I said, not a big problem - but if you copy...

    As I said, not a big problem - but if you copy 99% of a whole program, modify just a very few lines and upload to another platform( Github) a little info there (Github) is nice.
    Here, it's not...
  3. Replies
    8
    Views
    151

    DMAMEM (somedummycharacterstoreach10)

    DMAMEM
    (somedummycharacterstoreach10)
  4. Replies
    8
    Views
    151

    - a byte is 8 bits. - a sample is 16 bits = 2...

    - a byte is 8 bits.
    - a sample is 16 bits = 2 bytes
    - a audio packet is 128 samples = 256 bytes.
  5. Replies
    94
    Views
    3,396

    I - still - don't think that it is a problem, but...

    I - still - don't think that it is a problem, but ok, here it is.



    void setup() {
    #ifdef USE_LTC_INPUT
    AudioMemory(4);
    #endif
    setSyncProvider(getTeensy3Time);
    pinMode(syncPin,...
  6. Yes :) I don't use it anymore. Edit: Would...

    Yes :)

    I don't use it anymore.

    Edit: Would have been nice to see my name there - but OK, not really needed for such a dumb program with a few lines.
    I'm using the sketch-version now - needs...
  7. Great. Not easy to use - It's quite possible that...

    Great. Not easy to use - It's quite possible that if you change only one line in your program, the free space can be the half or even near zero :) - or you can get the opposite effect if one more...
  8. No (addsomedummycharacters)

    No
    (addsomedummycharacters)
  9. Ok, I've ordered some samples of your soic...

    Ok, I've ordered some samples of your soic memory. I tried to add a CBRAM, but it was not possible on the page. No problem. Thank you!
    I am very curious if you deliver to "Makers" without company :)...
  10. ..and if you want to know the maximal stack usage...

    ..and if you want to know the maximal stack usage during runtime,
    this should give an answer:
    (well, if there is no horrible bug)



    extern "C" {
    void startup_late_hook(void) {
    extern...
  11. @wwatson: free ram :...

    @wwatson: free ram : https://forum.pjrc.com/threads/57326-T4-0-Memory-trying-to-make-sense-of-the-different-regions?p=227539#post227539
  12. @DD4WH, others: here is a better (more exact)...

    @DD4WH, others:
    here is a better (more exact) version of the Runtime-Ram-Info:


    /*
    (c) Frank B, 2020
    License: MIT
    Please keep this info.
    */
  13. Replies
    25
    Views
    4,073

    Paul is the only developer - all others here are...

    Paul is the only developer - all others here are hobbyists, not getting any cent for their contributions and are happy with that.
    Pauls just don't have enough time to fullfill all requests. There...
  14. ..ah, ok, I typed my #ifdef question before you...

    ..ah, ok, I typed my #ifdef question before you edited your answer.

    ok, I'll find a other way :)
  15. Ah, ok , good to know. Thank you :) Is there a...

    Ah, ok , good to know. Thank you :)
    Is there a way (for annyoing users like me) to change this without patching teensyduino? Or can be added a "#ifdef" for that?
  16. When did it happen that OCRAM is in use in a...

    When did it happen that OCRAM is in use in a blank program, and what uses OCRAM here?
    My RAM-Info says, 12384 bytes are not available.

    I tried to use a 512kB Block.. and was sure that it is free..
  17. Replies
    12
    Views
    2,200

    Cool.. i ever wanted that, but never found the...

    Cool.. i ever wanted that, but never found the time.
    Do you have the encoder, too? Is the sampling-rate conversion working?
  18. @BardPedersen, is it possible for me to...

    @BardPedersen,

    is it possible for me to request a few samples? I'd be interested in the larger SOIC packes (they are more "maker" friendly")

    I've writen some code to interface some other chips...
  19. Replies
    7
    Views
    78

    Oh, Linux. I don't know.

    Oh, Linux. I don't know.
  20. Replies
    7
    Views
    78

    Just install - exactly as you did the 1st time. ...

    Just install - exactly as you did the 1st time.
    first: arduino
    second: teensyduino 1.49
  21. Reminds me of my T3.x USB-problems with HUBs I ...

    Reminds me of my T3.x USB-problems with HUBs I had ...
    Since T4 they are gone :)

    Edit: I'm glad that the watchdog works now. It would have been real pain for serious software without...
  22. @Paul, I tried tonton81's watchdog code for T4...

    @Paul, I tried tonton81's watchdog code for T4 -works perfect now. (Needs a minor edit: add "#define WDOG_WCR_WT 0xff00")
    https://github.com/tonton81/Watchdog_t4
  23. Hm, for me it works.. ?!? I tried your sketch...

    Hm, for me it works.. ?!? I tried your sketch (post #32), Tim. Reset is fast, and USB reconnects.
  24. That's the 2nd undocument bit we found :) Great....

    That's the 2nd undocument bit we found :)
    Great.
    Or... not great. I wonder how many undocumented "features" the "reference manual" (<-???) really hides.

    Wonder if it makes sense to look at the...
  25. I've fixed the "pwr-button failure after reset"...

    I've fixed the "pwr-button failure after reset" (-without callback) issue.

    Class constructors are called before setup(). I've used this feature to save and reset SNVS_LPSR.
    (did not want to mess...
  26. @Defragster: yup - i can confirm this. If you...

    @Defragster:
    yup - i can confirm this.
    If you just add the callback in the library, it works ;) An empty function is enough.
    I think I can fix it for the case without the callback, but we're going...
  27. You could try to connect a headphone. Can you...

    You could try to connect a headphone.
    Can you post a photo of your boards and the connections?
  28. Would you mind to give it a short test with my...

    Would you mind to give it a short test with my lib?
    I can't try it right now.
  29. Does it? I did not notice that so far.

    Does it? I did not notice that so far.
  30. Replies
    71
    Views
    858

    Yup, on a single core, it's just a...

    Yup, on a single core, it's just a interrupt-detection-tool. The "dummy" variable was a simple way to use it this way.
  31. It can take up to 2 seconds until the rtc alarm...

    It can take up to 2 seconds until the rtc alarm fires and switches the Teensy on.
    Then, minor reason, it kills any existing rtc alarm and so it must be rewritten after restart - but that's solvable.
  32. Replies
    71
    Views
    858

    +1. Yes, for sure. Execution time might rise a...

    +1. Yes, for sure.
    Execution time might rise a little bit. But better that than bugs and increased jitter.
    One of the main reasons for using Microcontrollers without OS is the low, fixed response...
  33. Replies
    71
    Views
    858

    I wonder how ldrex/strex will work on imxrt 1170...

    I wonder how ldrex/strex will work on imxrt 1170 - shouldn't it detect writes by the 2nd core, too? Disabling the interrupts will not work anymore on the shared memory.
  34. I'm sure it's on his list already. The priority...

    I'm sure it's on his list already. The priority might not be very high - as there IS a way to reset (although I don't like it, too)
  35. Replies
    25
    Views
    4,073

    The best would be to write your own code! This...

    The best would be to write your own code! This whole hobby lives from writing code and learning howto... :)

    There is a dirty hack: You can just change the working frequency of the whole...
  36. Replies
    71
    Views
    858

    For dSb: I now read again (completely forgot...

    For dSb: I now read again (completely forgot about that - it was several month ago) that it does not help in any case. It just helps because it adds execution time. A ARM employee wrote this.
    ...
  37. Replies
    71
    Views
    858

    The c++ atomic adds code to the reads, too. In...

    The c++ atomic adds code to the reads, too. In the ISR there are some "dmb".
    You might want to take a look at the disassembly (can't post it now, I'm away from my arduino workplace at home)

    I'm...
  38. Yes, it might be that we just have to set or...

    Yes, it might be that we just have to set or reset some bits to make AIRCR work. But without knowing what happens exactly we can only do blind guesses. It worked on the betas.
  39. I haven't looked now at the details of coremark,...

    I haven't looked now at the details of coremark, but I think that I remember it's small and fits into the cache completely(?) So it wouldn't be a good test for memory speed, and you might get even...
  40. Replies
    6
    Views
    125

    I'm using Eagle and since a few years it is...

    I'm using Eagle and since a few years it is really good.
    As hobbyist, I never needed more than the free edition and if I ever need - my son is a student and as such can obtain the professional ...
  41. This lib has a reset: ...

    This lib has a reset:
    https://github.com/FrankBoesing/T4_PowerButton

    AIRCR does not work - it may reset the processor, but seems to confuse the power distribution of all the rest.
  42. Replies
    71
    Views
    858

    Yes. There are no such loops. And if it was used...

    Yes. There are no such loops. And if it was used consequently, and in the core, too, the overall-experience would be even better and have less jitter.
  43. Replies
    163
    Views
    86,210

    Well, as we don't have real competitors here in...

    Well, as we don't have real competitors here in Germany, and even OSH's "superswift" is super-slow with luxury price($$) compared to china companies, I don't mind to say: Look in china :)
    I even...
  44. Replies
    71
    Views
    858

    Wow, the c++'atomic' header is a good find - I...

    Wow, the c++'atomic' header is a good find - I should read more about c++ and use it.. :)

    It uses ldrex/strex , too (see the disassembly) - but is easier to use.
  45. Or just a sd card, if the inbuilt eeprom is not...

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

    by Frank B
    Replies
    9
    Views
    240

    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.
  47. 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:)
  48. Replies
    34
    Views
    568

    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...
  49. Replies
    34
    Views
    568

    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....
  50. Replies
    71
    Views
    858

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

    Prost - hau wech :) Ich hole mir auch ein Bier. Feierabend!
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4