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

Search:

Type: Posts; User: tonton81

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    21
    Views
    394

    is it possible the voltage at the usb is...

    is it possible the voltage at the usb is unstable? are you powering from VIN? There used to be old Alpha power supplies that would fry computer parts.. 😆
  2. Replies
    21
    Views
    394

    do you have high definition pictures of both...

    do you have high definition pictures of both sides of the PCB of both boards?
  3. if you want a schematic of usb-c skpang has...

    if you want a schematic of usb-c skpang has breakout boards for T4.x canbus, they use usb-c and/or 12v car input
  4. charging devices have power profiles for usb-c, a...

    charging devices have power profiles for usb-c, a protocol must be communicated to allow switching to higher voltages if supported by the adaptor. power is defaulted to 5v on connection and unless...
  5. it doesnt matter as you are still limited to the...

    it doesnt matter as you are still limited to the 500mA current max
  6. Tri-state is not a CS issue unless you have both...

    Tri-state is not a CS issue unless you have both CS' asserted. The issue is at MISO, some chips don't tri-state that line and it fights with the other slave that is ran in parallel. tri-state buffers...
  7. Replies
    630
    Views
    57,505

    volatile without events(), doesn't matter with...

    volatile without events(), doesn't matter with events()
  8. Replies
    630
    Views
    57,505

    if you don't use events(), message reception is...

    if you don't use events(), message reception is fired directly to callbacks. I too use CAN button counting for OEM keyfob to control windows and sunroof, obviously you need to count them not in the...
  9. Replies
    18
    Views
    378

    i use a RaspPi 8xmcp23s17 breakout board on...

    i use a RaspPi 8xmcp23s17 breakout board on Teensy4, I only needed to run 6 wires between teensy and the breakoutboard to get 128gpio support at 10mhz
  10. Replies
    630
    Views
    57,505

    mailbox holds one frame only, FIFO holds 6

    mailbox holds one frame only, FIFO holds 6
  11. Replies
    630
    Views
    57,505

    also if a mailbox gets a similar frame in other...

    also if a mailbox gets a similar frame in other than it's own in filter mode, an overrun would occur and the frame would be overwritten. example without filters is, if all the mailboxes fill up...
  12. Replies
    2
    Views
    113

    so you want the CAN on 29 and 30 or 3 & 4? to set...

    so you want the CAN on 29 and 30 or 3 & 4? to set pins as input you must set them as input

    pinMode(pin, INPUT)
  13. Replies
    630
    Views
    57,505

    mailboxes are like a drop box queue, each one can...

    mailboxes are like a drop box queue, each one can hold one receive (or transmit) message, the others wait in line to grab the next one. FIFO (rx only) is 6 messages deep, in reception order....
  14. Replies
    630
    Views
    57,505

    oh good you got it working

    oh good you got it working
  15. Ouch, Strings....... Did you try to comment out...

    Ouch, Strings....... Did you try to comment out all Serial2* calls and see if it freezes? that will rule out serial....
  16. Replies
    630
    Views
    57,505

    voltage seems about right, are the pins maybe...

    voltage seems about right, are the pins maybe reversed?
  17. Replies
    630
    Views
    57,505

    check mailboxStatus(), if all of your TX...

    check mailboxStatus(), if all of your TX mailboxes fill up, you have a bad physical connection, miswire, termination issue, worse case scenario, bad transceiver
  18. that or have the 5v drive a transistor or mosfet...

    that or have the 5v drive a transistor or mosfet to ground the teensy pin
  19. Replies
    7
    Views
    352

    that would be good to have when checking someone...

    that would be good to have when checking someone for fever at entrances and their temperatures are high
  20. Replies
    630
    Views
    57,505

    make sure you have the chip set to normal mode,...

    make sure you have the chip set to normal mode, theres pins that have pullups and pulldowns on that IC and if it's not in normal mode it won't work, @msadie has the same chip as you and claims it...
  21. Replies
    16
    Views
    370

    rule out a PC issue, try another PC

    rule out a PC issue, try another PC
  22. Replies
    530
    Views
    9,234

    With SPI on T4, you can swap MISO and MOSI pins...

    With SPI on T4, you can swap MISO and MOSI pins around via the CR register
  23. you should feed it in your regular code loop and...

    you should feed it in your regular code loop and not a timer, the watchdog has it's own callback should your software freeze up, the callback will be fired so you can do whatever you want there...
  24. longer SPI transactions, like continuous data...

    longer SPI transactions, like continuous data flow? I don't know much about the DMA but I think it's not good for continuous transfers?
  25. Replies
    530
    Views
    9,234

    there could maybe be more micromods in different...

    there could maybe be more micromods in different teensies in future? who knows, but make it specific for the 4.x?



    #if defined(ARDUINO_TEENSY_MICROMOD) && defined(__IMXRT1062__)
  26. Replies
    4
    Views
    243

    pretty good for bench testing too

    pretty good for bench testing too
  27. Replies
    630
    Views
    57,505

    have you tried different clocks? 500k shouldnt...

    have you tried different clocks? 500k shouldnt have issues unless the bus has very specific timings, changing the clock will calculate a different timing even though speeds are same. On the FD end...
  28. Replies
    10
    Views
    430

    The alarm one is working as well! I set the alarm...

    The alarm one is working as well! I set the alarm for 10 seconds:


    #include <Watchdog_t4.h>
    #include <Snooze.h>

    WDT_T4<WDT1> wdt;

    SnoozeUSBSerial usb;
    SnoozeTimer timer;
  29. Replies
    630
    Views
    57,505

    I *think* you wan't to pass an object, but in...

    I *think* you wan't to pass an object, but in templates the objects are not easily passable to functions. However, thats why a base class exists so FlexCAN_T4 can also do it's tasks in background...
  30. Replies
    10
    Views
    430

    Ok, I had to rush out to work today which is why...

    Ok, I had to rush out to work today which is why I said I'll be on this later. I reverted the changes and fixed the library, watchdog is firing at 1second timeout resets if i dont feed it now so...
  31. Replies
    10
    Views
    430

    I think the alarm is resetting the T4.0, I am...

    I think the alarm is resetting the T4.0, I am using the timer and it is working correctly with the latest commit to WDT_T4:
    https://github.com/tonton81/WDT_T4


    Teensy 4.0/4.1 is same processor,...
  32. Replies
    10
    Views
    430

    the suspend function enables it on watchdog...

    the suspend function enables it on watchdog register but i think the deepsleep has to stop the clock it uses as well. I am not sure what clocks deepsleep turns off, or if the wdt one is still active...
  33. windows 7 has a known USB driver bug, posted...

    windows 7 has a known USB driver bug, posted somewhere on the forum several times

    https://www.pjrc.com/teensy/troubleshoot.html
  34. Replies
    15
    Views
    434

    String(zahl) ? why are you using strings? use...

    String(zahl) ? why are you using strings? use character arrays, uses less resources without the heap destructions
  35. Replies
    1
    Views
    120

    write(buffer, size)

    write(buffer, size)
  36. Replies
    12
    Views
    479

    Program mode? you mean reflashing teensy? You can...

    Program mode? you mean reflashing teensy? You can always use an external pin to "feed" the watchdog, or even trigger the reset() call
  37. Replies
    12
    Views
    479

    you can use a watchdog to reset on faults and...

    you can use a watchdog to reset on faults and also you can reset the teensy as well with watchdog.reset()
  38. Replies
    15
    Views
    2,332

    I believe you should goto a system register, paul...

    I believe you should goto a system register, paul posted it somewhere, im not at home. it shows whether it was a POR (full repower or after programming), temperature, or wdt reset. i believe the WDT...
  39. Replies
    7
    Views
    282

    the array for the message struct is 8 bytes,...

    the array for the message struct is 8 bytes, writing past it causes undefined behaviour. this probably wouldn't have happened if you used CANFD as it's buffer is 64 bytes :)

    msg.flags.overrun is...
  40. Replies
    10
    Views
    430

    try setting config.lp_suspend = 1; (it's...

    try setting
    config.lp_suspend = 1; (it's already implemented in the library)
  41. Replies
    7
    Views
    282

    yeah it could be a non standard bitrate (since...

    yeah it could be a non standard bitrate (since you said 500000 worked?)

    on the other thread someone else had issue with 95000 not working. when i told him to try 95238, his network functioned...
  42. constant (if your using only one device on that...

    constant (if your using only one device on that port, unless you switch between devices i guess) is possible. SPI_MST as example constantly pulses the clock by sending data for 2-way communication...
  43. Replies
    7
    Views
    282

    does the loop completely halt? i noticed you're...

    does the loop completely halt? i noticed you're running a non standard baudrate (100000), keep notes that, like on another post someone had issue with 95000 not working, changing the rate a bit...
  44. Replies
    630
    Views
    57,505

    by design if no acknowledgement the hardware...

    by design if no acknowledgement the hardware itself tries to resend, this is what makes canbus reliable for delivery. check for proper termination on the network
  45. Replies
    3
    Views
    143

    pullup resistors on the i2c lines

    pullup resistors on the i2c lines
  46. Replies
    630
    Views
    57,505

    what does it show when you ask for...

    what does it show when you ask for can2.mailboxStatus()?

    If the transmit mailboxes are full, it means your transceiver or bus is not wired or terminated properly.
    second, you are using CAN3 for...
  47. Replies
    6
    Views
    300

    the array is not stored in flash, so how does it...

    the array is not stored in flash, so how does it persist if 4.1 is rebooted?
  48. Replies
    6
    Views
    300

    won't the data be lost when the 4.1 resets?...

    won't the data be lost when the 4.1 resets? shouldn't persistance be part of eeprom emulation as well? perhaps have the data stored in intervals to flash or SD
  49. Replies
    28
    Views
    1,452

    windows 1.0 boot off and ran off of one floppy...

    windows 1.0 boot off and ran off of one floppy disk :)
  50. Replies
    630
    Views
    57,505

    for FD you need to use setClock(CLK_60MHz ) (or...

    for FD you need to use setClock(CLK_60MHz ) (or other clock) if needed to adjust the controller clock as the timings are different for many of it's bitrates. FD mode supports compatible CAN2.0B mode,...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4