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

  1. ...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.
  2. 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.
  3. Replies
    23
    Views
    289

    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...
  4. Replies
    23
    Views
    289

    Might be still possible without, with some...

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

    You'll need additional leveshifters.

    You'll need additional leveshifters.
  6. Replies
    23
    Views
    289

    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...
  7. Replies
    23
    Views
    289

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

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

    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.
  9. Replies
    5
    Views
    106

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

    Please measure a battery.

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

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

    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...
  12. 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?
  13. Replies
    2
    Views
    137

    Could be a GND problem with the probes.

    Could be a GND problem with the probes.
  14. Replies
    25
    Views
    1,367

    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?
  15. Replies
    20
    Views
    406

    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.
  16. 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...
  17. Replies
    27
    Views
    8,322

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

    https://www.pjrc.com/store/ic_mkl02_t4.html
  18. Replies
    27
    Views
    8,322

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

    "No" to both.
    You can buy the bootloader chip from PJRC.
  19. 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...
  20. Replies
    20
    Views
    406

    I don't know.

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

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

    Aha :) Then this is the real problem

    Which error?
  23. 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...
  24. Replies
    96
    Views
    2,450

    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.
  25. So, it's not loaded.

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

    Works for me.

    Looks like you have defined "Filter" elsewhere, earlier(?)
  27. Replies
    20
    Views
    406

    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.
  28. Replies
    20
    Views
    406

    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(?)
  29. 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.
  30. 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...
  31. 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.
  32. Regardless of the used scanner... they will never...

    Regardless of the used scanner... they will never find other masters ;)
  33. What should it do with the audio shield then?...

    What should it do with the audio shield then?
    But of course you can do everything. I think when someone asks this question in that case the next answer is the question How?.. so prepare to answer...
  34. That will not work. Teensy is a master. I2c...

    That will not work. Teensy is a master. I2c supports only one master.

    Either configure the uno as client or just use Serial - which is much easier to handle anyway.
    Hopefully the Uno runs with...
  35. You're welcome. Anyone can do it themselves...

    You're welcome.

    Anyone can do it themselves now. Either with Linux - as described by Paul - or with Windows now. I have translated the necessary programs to windows, and written a batch that does...
  36. As local vars are on the stack, a section makes...

    As local vars are on the stack, a section makes no sense :)

    note, worst is to define a const array inside a function.
    GCC will use a memcpy to copy it to the stack if you use it.. - have seen...
  37. Replies
    150
    Views
    30,416

    Well I tested this, of course, and it worked......

    Well I tested this, of course, and it worked... but OK, that was some time ago. Which teensy model do you use?
  38. Replies
    150
    Views
    30,416

    Don't think so.. the crystals drift, and it gets...

    Don't think so.. the crystals drift, and it gets worse if their temperature varies. You'll need a higher precision time.
    I'd add a high precision RTC like DS3231. It's not expensive.
  39. Replies
    150
    Views
    30,416

    Ah :) Would it work to just set the teensy time...

    Ah :)
    Would it work to just set the teensy time of day to the received timestamp, at the moment of switching?
    You can't do this with every receive - would lead to problems. Or you'll have to use a...
  40. ...updated the google-fronts repo. It now...

    ...updated the google-fronts repo. It now contains more than 3300 converted *.ttf

    https://github.com/FrankBoesing/fonts

    Github reaches a limit here... tried to just upload a *.zip... did not...
  41. Replies
    150
    Views
    30,416

    Yes, currently it just outputs the time of day....

    Yes, currently it just outputs the time of day.
    May I ask why it should output the same time it receives? Wouldn't a simple wire do the same? I think i'm missing something here.. :)
  42. I've compiled ttf2bdf for windows:...

    I've compiled ttf2bdf for windows: https://github.com/FrankBoesing/TFT_eSPI_ext/tree/main/extras/ttf2bdf_windows
  43. Replies
    6
    Views
    178

    The floating point unit does not support 128Bit...

    The floating point unit does not support 128Bit floats
  44. Replies
    3
    Views
    128

    Yes, use the buffer.

    Yes, use the buffer.
  45. Replies
    6
    Views
    178

    Use scanf() / printf()

    Use scanf() / printf()
  46. Replies
    10
    Views
    441

    ...it's time to update to more modern...

    ...it's time to update to more modern peripherals. You'll notice that they are better, too.
  47. Blackaddr made an awesome board:...

    Blackaddr made an awesome board: http://blackaddr.com/products/
    I built one - really good sound quality (better codec and good input circuit)
  48. Replies
    150
    Views
    30,416

    Just add an RC low pass to the output pin (by...

    Just add an RC low pass to the output pin (by default pin1) - no need for a DAC. But don't make the waveform too smooth... it works better if it is still kind of a square. I remember there is a...
  49. Replies
    10
    Views
    441

    Note, exp-tech is B2B only.

    Note, exp-tech is B2B only.
  50. It needs _always_ less stack than allocating the...

    It needs _always_ less stack than allocating the max len every time :)

    But yes, the correct way would be to use the heap.
    The Ardunio disciples' unfounded fear of this goes back to the AVRs with...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4