Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: luni

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: Raspberry Pi Pico

    by luni
    Replies
    172
    Views
    9,737

    Sparkfun now has a MicroMod version of the Pico:...

    Sparkfun now has a MicroMod version of the Pico: https://www.sparkfun.com/products/17720. Looks like the MicroMod form factor is getting traction. Looking forward to the first MM T4 :-) (I already...
  2. Per default the TimerTool runs the GPT and PIT...

    Per default the TimerTool runs the GPT and PIT timers at 24MHz. You can easily switch them to 150MHz in the config file. Configuration is described here...
  3. Weird. The library code seems to be quite...

    Weird. The library code seems to be quite elaborated. Would be surprised if it has such bugs in it. Maybe you changed something unintentionally while porting stuff?
  4. Yes, but does it print anything later while you...

    Yes, but does it print anything later while you are playing with the commands and getting the error? If so, the library might mess up some intervaltimer settings.
  5. The "dsb" is only effective for very short ISRs....

    The "dsb" is only effective for very short ISRs. The one used by the lib is probably long enough. (But this should be fixed anyway I'd say)

    Did you try to look if the library calls the functions...
  6. It wants to include some T4-Powerbutton.h? Not...

    It wants to include some T4-Powerbutton.h? Not included in the zip...
  7. Wild guess: Can it be that you installed the FNET...

    Wild guess: Can it be that you installed the FNET library to your sketchbook/library folder as well?
  8. I just tried what you described above. Compiles...

    I just tried what you described above. Compiles without a single warning here. (TD 1.54, Arduino 1.8.12, T4.1)



    ....
    IB [CC] cipher_wrap.c
    LIB [CC] ctr_drbg.c
    LIB [CC] ccm.c
    LIB [CC]...
  9. I can have a look. Which board are you compiling...

    I can have a look. Which board are you compiling for?
  10. @weedog: Here here some dotNet examples:...

    @weedog: Here here some dotNet examples: https://github.com/TeensyUser/doc/wiki/Serial I tested communication with dotNet up to some 15MByte / sec (T4.0). There also is a corresponding forum thread...
  11. 32kHz interrupt frequency is not really a problem...

    32kHz interrupt frequency is not really a problem for a 600MHz processor.
    Most of the timers have a possibility to set/toggle a pin on timer overflow. I don't know if the RTC timer is also able to...
  12. Did a quick check, setting SNVS_HPCR_PI_FREQ to 0...

    Did a quick check, setting SNVS_HPCR_PI_FREQ to 0 calls the ISR every 1/32'768 s.

    23721

    Here the relevant section of the manual:

    23722
  13. The RTC can generate periodic interrupts. Below...

    The RTC can generate periodic interrupts. Below an example which toggles the LED every second. You can also set it up for other frequencies derived from the 32'768Hz clock (see code below). I don't...
  14. Replies
    1
    Views
    113

    You can have a look at this library...

    You can have a look at this library https://github.com/luni64/TeensyTimerTool which provides a high level interface to (some of) the Teensy 3.x and 4.x timers. Documentation can be found here:...
  15. You can not access non static member variables...

    You can not access non static member variables from a static member function. This is quite obvious because a static member function like your Blink() "belongs" to the class not to a specific object....
  16. Replies
    105
    Views
    18,162

    No, there are only two timer channels on FTM1/2 ...

    No, there are only two timer channels on FTM1/2 :-(

    However, if you don't need the controllers at the same time it should work. The controllers are supposed to release the timers after the...
  17. The published version of TeensySharp is quite old...

    The published version of TeensySharp is quite old and doesn't detect all USB Types. There is a much newer version in the development branch which should work with FlightSim, but it still has some...
  18. Thread: TeensyTimerTool

    by luni
    Replies
    260
    Views
    16,893

    Looks like you are in the wrong thread? This is...

    Looks like you are in the wrong thread? This is TeensyTimerTool, not TeensyStep :-)
    Anyway, on a T3.2 FTM1 only has 2 channels. A controller needs one PIT and two FTMs so, you can only use one...
  19. Thread: TeensyTimerTool

    by luni
    Replies
    260
    Views
    16,893

    Strange, this is the most simple application and...

    Strange, this is the most simple application and should work of course. I'm currently not at home and don't have a T4 with me for testing I can have a closer look on Friday. Does it work with other...
  20. Replies
    12
    Views
    472

    Thanks, copied your post into the "Connectivity"...

    Thanks, copied your post into the "Connectivity" section of the user WIKI (https://github.com/TeensyUser/doc/wiki/FLEXIO) Feel free to edit and add other stuff to the wiki as you like (the text...
  21. Replies
    12
    Views
    472

    This is a very nice writeup. Mind if I copy it to...

    This is a very nice writeup. Mind if I copy it to the user WIKI?
  22. Replies
    5
    Views
    266

    Yes, was quite some fun and turns out to be quite...

    Yes, was quite some fun and turns out to be quite useful. I bought the heater cartridges and the NTC from Amazon. The rest was just stuff lying around.


    Thanks, the small size was a design goal...
  23. Replies
    5
    Views
    266

    Bootloader soldering with a DIY hotplate

    I'm quite used to soldering small SMD parts on prototype boards but those QFN chips like the Teensy bootloaders are a borderline experience for me and my soldering iron. I therefore wanted to give...
  24. Replies
    9
    Views
    426

    Those reed relays (HE3621...

    Those reed relays (HE3621) have the flyback diodes integrated and a DC resistance of 500R. Seems to be OK to directly drive them from a processor pin !?!
  25. Replies
    13
    Views
    319

    Isn't this normal? New Teensies come as HID...

    Isn't this normal? New Teensies come as HID devices, they don't have serial enabled by default. If you expect to see the board as serial device in Windows you need to upload a sketch compiled with...
  26. Interesting! However, linker scripts are...

    Interesting! However, linker scripts are definitely not my core competence. But I'm sure someone knowing more about this stuff will jump in to help.
  27. Sounds good. No, you need this one...

    Sounds good.


    No, you need this one https://github.com/PaulStoffregen/cores

    Let me know if you want me to test your extension.
  28. When I started this project a couple of years ago...

    When I started this project a couple of years ago I was thinking of a plugin as well. I decided to not make a plugin/extension because of two reasons:


    I didn't want a dependency on the used...
  29. Don't ask me why but it works without the...

    Don't ask me why but it works without the priority argument. I.e.,



    void __attribute__((constructor )) init_foo(void)
    {
    foo = 5;
    }
  30. Replies
    157
    Views
    17,975

    Something like this? https://github.com/pasqo/Unio

    Something like this? https://github.com/pasqo/Unio
  31. Replies
    157
    Views
    17,975

    BTW: if you need a MAC address for projects not...

    BTW: if you need a MAC address for projects not containing a Teensy, there are small (e.g. sot23) and cheap chips with preprogrammed MAC. E.g.: https://www.microchip.com/wwwproducts/en/11AA02E48. In...
  32. Replies
    5
    Views
    179

    A motor doesn't generate a force but a torque...

    A motor doesn't generate a force but a torque (the rotational equivalent of force). If you have an object with a weight of say F=10N on a lever arm of say L=0.5m length the motor needs to generate a...
  33. Replies
    5
    Views
    179

    You probably mean the torque in newton-meter? ...

    You probably mean the torque in newton-meter?

    Here some information about dynamometers https://en.wikipedia.org/wiki/Dynamometer, commercial: ...
  34. Thread: TeensyTimerTool

    by luni
    Replies
    260
    Views
    16,893

    AFAIK the audio library uses some FTM timers....

    AFAIK the audio library uses some FTM timers. Should be documented somewhere. Did you try to use another FTM module?
  35. Replies
    4
    Views
    240

    I stumbled over the same issue in one of my...

    I stumbled over the same issue in one of my libraries a couple of months ago. It looks like the construct was never "legal" but gcc ignored the error in older versions. There are a lot of discussions...
  36. Replies
    37
    Views
    730

    I'm probably missing something but void...

    I'm probably missing something but



    void setup()
    {
    while(!Serial);

    char test[] = "Hello World\n";
    Serial.print(test);
  37. Replies
    37
    Views
    730

    Serial.write() takes byte arrays... And...

    Serial.write() takes byte arrays...
    And Serial.printf takes char arrays...
  38. Replies
    3
    Views
    270

    That list looks like some Teensy2 (AVR) stuff....

    That list looks like some Teensy2 (AVR) stuff. You find the interrupts 4.x interrupt defines in imxrt.h https://github.com/PaulStoffregen/cores/blob/master/teensy4/imxrt.h. You can use...
  39. Replies
    12
    Views
    484

    Actually, TME is my favorite EU seller. They have...

    Actually, TME is my favorite EU seller. They have a very large assortment and deliver fast. (Usually I get my parts in 2-3 days to Germany)
  40. Did you try this:...

    Did you try this: https://www.pjrc.com/teensy/td_libs_FreqMeasure.html ?
  41. Replies
    12
    Views
    484

    TI has a single gate smd logic line. Would a...

    TI has a single gate smd logic line. Would a 74HCT1G125 work? Here the datasheet https://www.ti.com/product/SN74AHCT1G125-Q1

    Ups, 1 minute to late :-)
  42. Replies
    5
    Views
    487

    I also did one some years ago. It used a T3.2 and...

    I also did one some years ago. It used a T3.2 and transmitted the count data via a Websocket server into the LAN/WLAN. The application was running in a browser (HTML5) so, anything which is able to ...
  43. Thread: Raspberry Pi Pico

    by luni
    Replies
    172
    Views
    9,737

    In my opinion the meanwhile very broad user base...

    In my opinion the meanwhile very broad user base of the Arduino ecosystem has just too many different expectations, use cases and capabilities to find a one fits all solution. Since the IDE market is...
  44. If you ever come to Germany you should definitely...

    If you ever come to Germany you should definitely spend a day in the Minatur Wunderland in Hamburg. Here an official advertisement video

    ...
  45. He, he, working on model trains at 5:30 reminds...

    He, he, working on model trains at 5:30 reminds me of those mornings after Christmas some 50 years ago :-)

    For completeness I uploaded an example showing how to use the TimerTool TCK (software)...
  46. I did find that WebThrottle application to...

    I did find that WebThrottle application to control it. Sending/receiving of commands is nicely logged so it communicates. If I toggle the power off button pin3 gets high. So, looks like everything...
  47. Sorry, I was busy yesterday and didn't find time...

    Sorry, I was busy yesterday and didn't find time to answer. The reason why it hang was one change you did in Timer.cpp which I forgot to undo. Specifically, you assigned TeensyTimer Tool timers to...
  48. Thread: TeensyTimerTool

    by luni
    Replies
    260
    Views
    16,893

    Great, looks like it works! Let the trains...

    Great, looks like it works! Let the trains departure :-)

    Just a comment: If this is only for you, your method of hacking the teensy timers into the code is certainly fine. If you want to have it...
  49. Thread: Raspberry Pi Pico

    by luni
    Replies
    172
    Views
    9,737

    Yes, this is what I thought as well when I read...

    Yes, this is what I thought as well when I read through the API. CMAKE is beautiful but I don't believe it will work out for the masses. I think that the main use case will be Python. Curious how...
  50. Yes, the put/get string functions are...

    Yes, the put/get string functions are declared/defined in a header. (They were added by some guy named luni a couple of month ago :( )
    If more than one translation unit includes the header, the...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4