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

Search:

Type: Posts; User: Frank2

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    1,255

    Standard Arduino is coming from 8 bit...

    Standard Arduino is coming from 8 bit controllers, where multithreading is a large overhead. So you can't expect that everything is based on multithreading by default.

    The multi threading library...
  2. This is different with most CAN transceivers....

    This is different with most CAN transceivers. Connecting TX with TX and RX with RX is right with the normal CAN on Teensy 3.x, too.

    On transceivers like MCP.... or TJA.... the input is called TX....
  3. Replies
    37
    Views
    4,801

    Maybe it should be "QuadEncoder" instead of...

    Maybe it should be "QuadEncoder" instead of "QuadTimer" ? I think the encoder library is new in 1.49 and not in the news list.
  4. Thread: LIN bus

    by Frank2
    Replies
    7
    Views
    1,829

    Hello, maybe this can help...

    Hello,

    maybe this can help
    https://github.com/macchina/LIN

    The code seems to be for some kind of Arduino Due clone, but it's using only Serial and digitalWrite. So modification for a Teensy...
  5. Replies
    12
    Views
    5,502

    Well, I think simply receiving ISO-TP is a use...

    Well, I think simply receiving ISO-TP is a use case for FlexCAN's attachObj feature. A class acting as a state machine seems to be a good solution for this.

    Sending is much more complicated. It...
  6. Replies
    5
    Views
    4,630

    Hello, most of my CAN work uses Teensy 3.2, so...

    Hello,

    most of my CAN work uses Teensy 3.2, so I had to set up a Teensy 3.6 with two transceicers first to check the example. But I can say the "CANTest" example included with Teensyduino 1.40...
  7. Hello, look here...

    Hello,

    look here
    https://forum.pjrc.com/threads/25395-Teensy-Quick-Reference-Code-Examples-Tips-and-Tricks
    under "What Timers are available?"

    SysTick is for Arduino millis() and sure one of...
  8. Replies
    7
    Views
    1,940

    I have no experience with this slow baudrates on...

    I have no experience with this slow baudrates on real CAN busses. Only with 125000 and above.

    Maybe you wil have to test different libraries, I'm not shure if anybody tested the baudrate...
  9. Replies
    7
    Views
    1,940

    The format CAN frames itself is an ISO standard....

    The format CAN frames itself is an ISO standard. There are CAN 2.0A and CAN 2.0B messages, with 11 or 29 Bit identifiers. (And CAN FD messages, but not on Teensy.) So the bit format on the line,...
  10. Replies
    7
    Views
    1,940

    Well, it's typical for CAN that already the...

    Well, it's typical for CAN that already the hardware interprets and selects data.

    Imagine a car where dozens of controllers share thousands of messages every second on the bus. Not every...
  11. Replies
    7
    Views
    1,940

    Hello, Good question. :) I'am currently...

    Hello,


    Good question. :)
    I'am currently using the version included in Teensyduino. It seems to be an older version of the collin80 fork of the library. The collin80 fork is already some...
  12. Replies
    12
    Views
    5,502

    Ok, if I'll find some time I will look after...

    Ok, if I'll find some time I will look after this. The mbed version is currently based on mbed multithreading, so the first step is to decide about a redesign.
  13. Replies
    12
    Views
    5,502

    Ok, that's good to know. I've planned to move my...

    Ok, that's good to know. I've planned to move my ISO-TP work from mbed to Teensy.

    Are you going to make a second post or should I try it ?
  14. Replies
    12
    Views
    5,502

    I wondered about this, too, when doing my last...

    I wondered about this, too, when doing my last CAN experiments with my small test setup. But it worked without errors for simple communication between two microcontrollers.

    Perhaps your request is...
  15. Replies
    12
    Views
    5,502

    The included version of the library in 1.37 seems...

    The included version of the library in 1.37 seems to be the "9af9498 on 10 Jan" github version from collin80. Both FlexCAN.cpp have 749 lines and look the same. I haven't used a diff tool.
  16. Thanks for your answer, yes that's exactly...

    Thanks for your answer,

    yes that's exactly what I mean. The String object and its internal length ist growing in this line. But the variable with name "length" isn't, because it's nowhere changed...
  17. Strange looking limit checks in Teensy3 Version of Stream.cpp

    Hello,

    when looking around how Serial is implemented, I stopped at this piece of code in Stream.cpp



    String Stream::readString(size_t max)
    {
    String str;
    size_t length = str.length();
Results 1 to 17 of 17