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.05 seconds.

  1. There is also an example "SdCardTest" which might...

    There is also an example "SdCardTest" which might be useful. You can extend it to 8 files + record.

    27276
  2. Bottlenecks are: - random access (happens...

    Bottlenecks are:
    - random access (happens whenever you read data from an other file) re-adressing is slow.
    - writing
    If you write a specialized program that does only this, perhaps without the...
  3. eh, no. Not even in a ideal world :) You have to...

    eh, no. Not even in a ideal world :)
    You have to add the time to switch between the files (re-adressing - that's SLOW!), the time the card needs to do it's internal wear-magic, the time to handle...
  4. You don't have to deal with wear - the card does...

    You don't have to deal with wear - the card does this - it has a builtin cpu.
    I don't think it's possible to read 8 channels and write 2 simultanously. Not without a really large buffer.
    However,...
  5. Replies
    3
    Views
    69

    Not sure.. *g*... i think it works with v2 only....

    Not sure.. *g*... i think it works with v2 only. Have not tested v1 (have no files with v1)

    I think v1 is not needed anymore.. it's outdated for many many years now.

    (Edit: The comment is...
  6. Replies
    3
    Views
    69

    Here's a snippet from a larger project I wrote: ...

    Here's a snippet from a larger project I wrote:



    // https://id3.org/id3v2.4.0-structure

    typedef struct
    {
    char id[3]; //"ID3"
    uint8_t version[2]; //04 00 Version 4
  7. @sicco - two options: - copy the existing...

    @sicco -

    two options:

    - copy the existing isr code
    - use interrupt chaining.

    with both: keep care of the interrupt priorities.

    And note that the core disables interrupts, sometimes....
  8. Why this tone? Just write your isr, if you feel...

    Why this tone?
    Just write your isr, if you feel you need it.

    have fun,
    Frank

    period. :)
  9. Replies
    22
    Views
    444

    I2C is incredible slow compared to I2S. And if...

    I2C is incredible slow compared to I2S. And if the adresses conflict, you have find a way around it...
  10. More or less, yes. But why would this be...

    More or less, yes.
    But why would this be important? What is the usecase?
    Normally, an interrupt line is used for such things - if timing is important.

    Edit: And remember that the serial...
  11. ...and how fast or slow the used bus is :) I...

    ...and how fast or slow the used bus is :)

    I remember accessing the RTC registers is really incredible slow..

    Thank you for the link, luni.
  12. Probably better if you read the manuals about the...

    Probably better if you read the manuals about the cpu core, its memory interfaces, busses and other docs.
    And visit the nxp forum.
    Imagine a periphal connected via a slower bus - the cpu continues...
  13. No they work. As said, it has to do with the cpu...

    No they work.
    As said, it has to do with the cpu pipelines.
  14. Replies
    5
    Views
    119

    What is a Teensy 4.2? Oh sorry, am reading on a...

    What is a Teensy 4.2?
    Oh sorry, am reading on a smartphone

    I guess you meant the Teensy 3.2
  15. Yes. In this case (end of isr) it's even better....

    Yes. In this case (end of isr) it's even better. ::memory tells gcc to move outstanding writes before the "dsb"
  16. Yes. And the "DSB" here makes sure, that the...

    Yes. And the "DSB" here makes sure, that the write-pipeline gets written before the ISR is left.
  17. the "asm volatile ()" ./ asm () is an...

    the "asm volatile ()" ./ asm () is an interesting topic, too.
    Often the "volatile" is just added without thinking... but it prevents optimization which can - in some cases - be useful. of course...
  18. No that comment was not adressed to you. Your use...

    No that comment was not adressed to you. Your use of volatile is correct.

    Have you tried Lunis´ suggestion?
  19. ...yep..and this is another fine example that...

    ...yep..and this is another fine example that shows that volatile not always exactly does what some here think.
  20. Hi, no, that is not possible. I'd just use a...

    Hi,

    no, that is not possible.
    I'd just use a new board and keep the old one.
  21. Replies
    23
    Views
    313

    Another aproach would be to emulate the 6502+RAM...

    Another aproach would be to emulate the 6502+RAM on the Teensy :) So, all timing would be in your hand, you could still use the rest of the hardware...
  22. Replies
    23
    Views
    313

    Might be still possible without, with some...

    Might be still possible without, with some careful planning...
  23. Replies
    23
    Views
    313

    You'll need additional leveshifters.

    You'll need additional leveshifters.
  24. Replies
    23
    Views
    313

    That's hard. You must remember that a) the...

    That's hard.
    You must remember that
    a) the Teensy has some running interrupts.
    b) interrupts get globally disabled from time to time (and get served after that-> back to a)

    both can kill the...
  25. Replies
    23
    Views
    313

    I'd use digitalReadFast() wherever possible. Its...

    I'd use digitalReadFast() wherever possible.
    Its more readable and not that much slower.
  26. Replies
    23
    Views
    313

    That's a define in the code where you copied it...

    That's a define in the code where you copied it from in the thread you linked.
    The thread answers your main question, too, I think.

    I'd suggest to read the reference manual, too.
  27. Replies
    5
    Views
    120

    Please measure a battery. p.s. select...

    Please measure a battery.

    p.s. select "DC"-Mode on the meter.
  28. Yeah, my PRs for ESP and some libs were merged...

    Yeah, my PRs for ESP and some libs were merged within 48Hrs. Like that!
  29. Replies
    5
    Views
    120

    Depends on which voltage you need. The Vin can be...

    Depends on which voltage you need. The Vin can be used as VOut, too. That's (more or less) 5V.
    The 3.3V pin gives you 3.3V.

    Your multimeter is
    a) defective
    or b) has the wrong settings.

    Or...
  30. What has this to do with this thread from !2018!"...

    What has this to do with this thread from !2018!" ?
    Are you a spam bot?
  31. Replies
    2
    Views
    143

    Could be a GND problem with the probes.

    Could be a GND problem with the probes.
  32. Replies
    25
    Views
    1,381

    The elf is the same as with Teensyduino, as it is...

    The elf is the same as with Teensyduino, as it is generated by the same toolchain.
    Maybe you're using the wrong addr2line?
  33. Replies
    22
    Views
    444

    I2S_quad and PT8211_2 would work. But that needs...

    I2S_quad and PT8211_2 would work. But that needs all pins (ok, without input) from the 2nd I2S (AKA "SAI") port.
    However I have no idea if removing the capacitors from the shields is ok.
  34. Maybe yes. I'm not following this thread...

    Maybe yes. I'm not following this thread entirely. If the additional yield() code will not disable interrupts (edit: + and has no influence, timing-wise) , I've said nothing:)

    Btw, yield() has a...
  35. Replies
    27
    Views
    8,345

    https://www.pjrc.com/store/ic_mkl02_t4.html

    https://www.pjrc.com/store/ic_mkl02_t4.html
  36. Replies
    27
    Views
    8,345

    "No" to both. You can buy the bootloader chip...

    "No" to both.
    You can buy the bootloader chip from PJRC.
  37. I was hoping events are deprectated :( So they...

    I was hoping events are deprectated :( So they will will keep influencing users programs, disable interrupts and slow everything down, making timing unpredictable - and this will even be extended. If...
  38. Replies
    22
    Views
    444

    I don't know.

    I don't know.
  39. I'm going to sleep now. Good night.

    I'm going to sleep now. Good night.
  40. Aha :) Then this is the real problem Which...

    Aha :) Then this is the real problem

    Which error?
  41. Yes, use your define. It works... du you have a...

    Yes, use your define. It works... du you have a #include in that file which includes the files where the #define is? It will work.
    Or, do you see a warning... it might be defined twice?

    There is...
  42. Replies
    96
    Views
    2,527

    Wasn't a "fast reaction" so important for you?...

    Wasn't a "fast reaction" so important for you? And now you add a large capacitor?
    Would have been easier to just decrease the frequency.
  43. So, it's not loaded.

    So, it's not loaded.
  44. Works for me. Looks like you have defined...

    Works for me.

    Looks like you have defined "Filter" elsewhere, earlier(?)
  45. Replies
    22
    Views
    444

    The CS42448 is supported by the audio library -...

    The CS42448 is supported by the audio library - and the digital connections are the same as with any other I2S chip.

    But you're right, I'd probably just use the PT8211, too.
  46. Replies
    22
    Views
    444

    https://www.pjrc.com/teensy/SGTL5000.pdf ...

    https://www.pjrc.com/teensy/SGTL5000.pdf

    CS42448 has 6x in and 8x out channels - but not sure if it would work for lasers(?)
  47. Paul, the issue was that both, Uno and Teensy...

    Paul, the issue was that both, Uno and Teensy were used as I2C Masters. Yes that the shield was not found too is normal - but not the problem here.
  48. Yup, b) sounds as it could be the reason. Not...

    Yup, b) sounds as it could be the reason.
    Not sure what the events are good for - this is one of the reasons not to use them.
    But of course - it could just be a disabled interrupt too. This happens...
  49. With MP3 or AAC you hear - with some wrong data -...

    With MP3 or AAC you hear - with some wrong data - only a short "blip" (if at all). This requires concentrated listening.
    Better than using audio as a test would be to use a CRC.
  50. Regardless of the used scanner... they will never...

    Regardless of the used scanner... they will never find other masters ;)
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4