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
    22
    Views
    757

    You may want to add a resource "Teensy Model" -...

    You may want to add a resource "Teensy Model" - some things do not work on T3 and vice versa.
    But this needs a global setting - a radio or checkbox or ..

    Edit:
    Code attached. Open the...
  2. Replies
    22
    Views
    757

    So, adding pt8211, i2s1, spdif1, adat1, mqs1...

    So,

    adding pt8211, i2s1, spdif1, adat1, mqs1

    will conflict here:



    Conflict: spdif1 setting['SPDIF Protocol'] and i2s1 setting['I2S Master']
    Conflict: shareable 'OUT1A Pin' spdif1 and...
  3. Replies
    22
    Views
    757

    Paul, I'm gonna go have a look. But it's gonna...

    Paul, I'm gonna go have a look.
    But it's gonna take time because I'm busy with moving arrangements and I have to renovate.


    I don't know what happens where in this huge code, and I have to get...
  4. Replies
    20
    Views
    6,320

    Like the wrong abs and round its just a poor...

    Like the wrong abs and round its just a poor implementation by the Arduino devs.
    Best not to use it.

    I tend to #undef abs and #undef round to get rid of this buggy crap . The similar functions...
  5. Replies
    783
    Views
    26,064

    I tend to use something like this #define...

    I tend to use something like this


    #define HOT FASTRUN __attribute__((hot))
    #define COLD FLASHMEM __attribute__((cold))


    and then write
  6. Replies
    783
    Views
    26,064

    Here are additional linker-scripts and a modified...

    Here are additional linker-scripts and a modified boards.txt.

    When they are installed (overwrite the existing boards.txt) , you can chose to use the old "Teensy 3" behaviour.
    Programs will runs...
  7. Replies
    22
    Views
    757

    ok, quite possible that I'm wrong. Too much...

    ok, quite possible that I'm wrong.
    Too much details of the different models to remember...
  8. Replies
    22
    Views
    757

    @audeophilic - yes you asked this before. You...

    @audeophilic - yes you asked this before.
    You simply can't change the voltage reference on the T4/T41, if I remember correctly.
  9. Replies
    22
    Views
    757

    @Paul: It would involve creating a pin - or...

    @Paul: It would involve creating a pin - or device array, setting the element to "true" if in use and before inserting the object it would be neccessary to check that flag.
    From the description...
  10. Replies
    22
    Views
    757

    Hi Paul, yes. But it is not of much use. ...

    Hi Paul, yes.
    But it is not of much use.

    20257

    I've added some minor changes:
    1) All in- and outputs which use the same device - for example all which use I2S1 - have the same color. This...
  11. Replies
    25
    Views
    1,337

    Sticky: @ pjkdeveloper...

    @ pjkdeveloper

    Sure you use the correct import settings?
    16 Bit.
  12. @Paul, can you fix this, please?

    @Paul, can you fix this, please?
  13. Replies
    25
    Views
    1,337

    Sticky: Yes, most instructions on the T4 require only one...

    Yes, most instructions on the T4 require only one cycle. Two of them can be executed simultaneously (->0.5)
    The next teensy has a second CPU... ...so we subtract one cycle, and we have -0.5.
    That...
  14. Just write pinMode(10, OUTPUT)

    Just write pinMode(10, OUTPUT)
  15. Replies
    25
    Views
    1,337

    Sticky: Oh, I've seen the Serial Monitor printing its own...

    Oh, I've seen the Serial Monitor printing its own sourcecode, on windows, so ...
    These are the first signs of the coming improbability drive on Teensy 5. For sure.

    Make sure you have your towel...
  16. Replies
    7
    Views
    201

    "Extreme" - what will be the next (i.mx.rt 1070) ...

    "Extreme" - what will be the next (i.mx.rt 1070)
    Improbability Drive?


    https://www.youtube.com/watch?v=bVLk9-YpRi0

    ...it will be fun :)

    Don't panic.
  17. Replies
    379
    Views
    72,412

    FM: The Elektor SDR works. With Stations > 100MHZ...

    FM: The Elektor SDR works. With Stations > 100MHZ not good, stations around 87..95MHZ are better.
    It does not work with weak stations .
    I can't receive the local station, but a station100km away,...
  18. Replies
    135
    Views
    5,528

    Feel free to change whatever you want (and do a...

    Feel free to change whatever you want (and do a Pullrequest)
    From the beginning on, the code was meant as a starting point only, not a complete reday to use application.

    I will be not here for...
  19. Might be heavy, but it's there as example for a...

    Might be heavy, but it's there as example for a i.mxrt 1050 - if I remember correctly.

    Yup, here's the link: https://www.nxp.com/docs/en/application-note/AN12562.pdf
  20. Paul can answer this better - I've tested with...

    Paul can answer this better - I've tested with 100uF capacitors per pin - between amplifier and pin.
    Not sure if this is the best way - I'm a analog electronic noob. Edit :Opps sorry that was MQS on...
  21. Replies
    9
    Views
    114

    Don't delete the IDE?

    Don't delete the IDE?
  22. Wow, nice, almost like the 3.6 which does the...

    Wow, nice, almost like the 3.6 which does the same and has simultanous audio ;)

    On the NXp website, there is an example for h.264 Video.
    Has anyone tried to port it?
  23. Replies
    19
    Views
    9,076

    *ping* Before I leave for some time. This...

    *ping*

    Before I leave for some time.
    This thread started 2014.
  24. All three S/PDIF Outputs work, can work...

    All three S/PDIF Outputs work, can work simultanous -- the S/PDIF input exists in two variants (one simple 44.1kHz only OR the other with resampling).
  25. A new residence. @WMXZ, why not do a step more...

    A new residence.

    @WMXZ, why not do a step more and switch to MBED or MCUxpresso?
    I'll use the time off to think about it.
  26. Since the weather is getting better now and I...

    Since the weather is getting better now and I have other hobbies and will move, I will leave this forum again for a while.

    @all: Stay healthy. Keep the distance.
    Best wishes,
    Frank.
  27. yes. For the history: This is the now closed...

    yes.
    For the history: This is the now closed pull request (without the boards.txt - did not know where to do a PR for it.)
    https://github.com/PaulStoffregen/cores/pull/440
  28. You can always mark your code that needs to be...

    You can always mark your code that needs to be fast as "FASTRUN".
    This will enable the original behaviour and copies the "FASTRUN"-code to the RAM (Still in 32kB blocks).
    However, the libs will...
  29. There could be a very simple fix for this which...

    There could be a very simple fix for this which would make the T4.x more compatible to the older models by optionally switching to a different linkage.
    But this has not found much love :) I don't...
  30. Looks good to me! Have you tested this?

    Looks good to me!
    Have you tested this?
  31. Interrupt Service Routine Syntax To use...

    Interrupt Service Routine Syntax

    To use interrupts, you must include the AVR interrupt header.
    #include <avr/io.h>
    #include <avr/interrupt.h>
    --etc

    For debug:
    #include <usb_debug_only.h>
  32. Yup. quote. "Teensy 4.0 is the latest Teensy,...

    Yup.

    quote. "Teensy 4.0 is the latest Teensy, " ;)
    "Teensy 3.6 – Teensy 3.6 with Pins – The Most Powerful Teensy"

    I'll take a break.
  33. I'll take a look tomorrow. Thanks.

    I'll take a look tomorrow.
    Thanks.
  34. It's more in the range of 100k.

    It's more in the range of 100k.
  35. I always can accept a "no". If I know the...

    I always can accept a "no".
    If I know the reason.

    Yes this is just a Hobby. Not more. So Arduino should do everything not to frustate their users.
    If their project does not compile or work...
  36. An no: A simple "no" is NOT a valid answer. You...

    An no: A simple "no" is NOT a valid answer. You can give that answer to employees . Not to users. To the guys who pay your business (Speaking to Arduino, here. To Massimo, who told me years ago the...
  37. I still don't know a valid reason to deny it....

    I still don't know a valid reason to deny it.
    Can someone point me, give me a link to an answer other than a simple "no"?

    As all other IDEs (i.e. platformio etc..) support this, Arduino will...
  38. Replies
    15
    Views
    212

    found the list for non-fpu instructions:...

    found the list for non-fpu instructions:
    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0337e/BABBCJII.html

    Multiply accumulate : 1 cycle

    So there must be other effects. Esp if...
  39. Replies
    15
    Views
    212

    Here are the official numbers for floating point...

    Here are the official numbers for floating point (That document is superseeded - I just found no newer one)
    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0439b/BEHJADED.html
    ...
  40. Basically the same as your I - but it allows to...

    Basically the same as your I - but it allows to put the GCC Comandlineparameters there. Maybe you can add a -I in the file, too.

    But it complains if the file is not there - so that
    if not exist...
  41. Basically the same as yours - it just does not...

    Basically the same as yours - it just does not use "-I" but "@" instead.

    you need to add this:

    recipe.hooks.sketch.prebuild.1.pattern.windows=cmd /c if not exist "{build.path}\sketch\defs.h"...
  42. Does it allow to set #defines like...

    Does it allow to set #defines like SERIAL1_TX_BUFFER_SIZE or Audiosamplerate? And to set the optimization level and warnings or other compiler settings? F_BUS or F_CPU?

    If yes, that would be...
  43. I let you the honor to do the PR. Thanks!

    I let you the honor to do the PR.
    Thanks!
  44. Disable: #Post 14 User calls a disable...

    Disable: #Post 14

    User calls a disable function

    (or enabled if he want to switch it on again)

    No it's NOT easier to add a emtpy yield to the skecth.
    You have to replace the Systick, too.
    ...
  45. The "dumb" version is just this: void...

    The "dumb" version is just this:


    void yield(void)
    {
    if (!_eventResponder_enabled) return;

    static uint8_t running=0;

    if (running) return; // TODO: does this need to...
  46. No, my shortcut can use your way to call things....

    No, my shortcut can use your way to call things.
    It will not use Serial.available().

    Kurt, I really don't mind how its done.
    If you have a better solution- just create a pullrequest.

    Anyhow,...
  47. Just tested the "dumb" version a little (with...

    Just tested the "dumb" version a little (with switching to the shorter systick without millistimer)

    loop() is ~3 times faster (when eventresponder is disabled),
    interrupts have less jitter.
    ...
  48. Nothing like this is my intention. Perhaps read...

    Nothing like this is my intention.
    Perhaps read my posts... ;)
  49. Yes, have you read the posts after yours? ;-) ...

    Yes, have you read the posts after yours? ;-)

    I don't care how it's done - as long it gets done.
  50. Ok, I'll do a PR for the dumb variant (as step...

    Ok, I'll do a PR for the dumb variant (as step #1) this evening and we'll see what happens.
    If it gets merged, we can add the addition with checking the individual bits, count leading zeros "CLZ"...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4