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

Search:

Type: Posts; User: teachop

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    59
    Views
    64,432

    Change the board to Teensy3.1 and check again...

    Change the board to Teensy3.1 and check again please.
  2. Replies
    359
    Views
    203,906

    There is a branch "baudrates" you can checkout...

    There is a branch "baudrates" you can checkout for addition of 50kbit and 100kbit CANbus data rates here:
    https://github.com/teachop/FlexCAN_Library/tree/baudrates

    Please post any issues against...
  3. Replies
    359
    Views
    203,906

    Ok, will do.

    Ok, will do.
  4. Replies
    359
    Views
    203,906

    Ok. If nobody else gets what you need by the...

    Ok. If nobody else gets what you need by the weekend, I should have time to test at 50Kbps and post the values then.
  5. Replies
    59
    Views
    64,432

    Please see if this helps:...

    Please see if this helps:
    https://github.com/teachop/FlexCAN_Library/blob/master/README.md
  6. Replies
    359
    Views
    203,906

    Arduino Digital 3/4 and Teensy connection pins...

    Arduino Digital 3/4 and Teensy connection pins 5/6 are two different ways of talking about the same nets.
  7. Replies
    359
    Views
    203,906

    If you have a nice example the library could use...

    If you have a nice example the library could use it. If so and willing to share please post a pull request on the repo.
  8. Replies
    59
    Views
    64,432

    Distributed I/O this way will probably work...

    Distributed I/O this way will probably work nicely with a roll-your-own approach. If you are good with the 8 byte limitation, then keep it simple!

    For transferring blocks of information, a...
  9. Replies
    59
    Views
    64,432

    There is no issue. They are two different ways...

    There is no issue. They are two different ways to talk about the same nets. The Teensy 3.1 module pins 5 and 6 are Arduino I/O 3 and 4 function.
  10. Replies
    359
    Views
    203,906

    Thank you. The driver is released as 1.0 now.

    Thank you. The driver is released as 1.0 now.
  11. Replies
    359
    Views
    203,906

    Agreed. I was holding off hoping for a reply...

    Agreed. I was holding off hoping for a reply from Paul on the oscillator enable inquiry.
  12. Replies
    44
    Views
    39,035

    The recommended change to using 16MHz XTAL source...

    The recommended change to using 16MHz XTAL source for CAN0 peripheral is merged into master. If you need anything for pulling it into 1.20 let me know.
    https://github.com/teachop/FlexCAN_Library
    ...
  13. Replies
    359
    Views
    203,906

    In addition to the pawelsky testing above, I was...

    In addition to the pawelsky testing above, I was able to confirm operation at the lower bit rates. The clock16 branch has been merged into master on the repo and we are good to go. The CAN clock...
  14. Replies
    359
    Views
    203,906

    Ha. No doubt. I remember having micros at 2 and...

    Ha. No doubt. I remember having micros at 2 and 4 MHz and hand optimizing every little thing to get what I needed out of them. Thanks again for all your work, this driver wouldn't be available for...
  15. Replies
    359
    Views
    203,906

    Sweet, thanks. When coding I ran at 500K but had...

    Sweet, thanks. When coding I ran at 500K but had no time to test. Did you check the RX filtering at 1M?
  16. Replies
    359
    Views
    203,906

    Sure, thanks. There is a branch called clock16...

    Sure, thanks. There is a branch called clock16 in the github repo. The github repo has an issue started so you can post findings there. I won't get to testing until Sunday afternoon so I wasn't...
  17. Replies
    359
    Views
    203,906

    Paul if you are still listening on this thread I...

    Paul if you are still listening on this thread I need some teensy advice. I made this change and updated CAN phase timings to work directly from the XTAL. CAN works, yea. However, I needed to do...
  18. Replies
    359
    Views
    203,906

    Full fix means use the 16MHz input as suggested...

    Full fix means use the 16MHz input as suggested above? Ok, I will switch over.
  19. Replies
    359
    Views
    203,906

    The F_BUS #error code recommended as a minimum...

    The F_BUS #error code recommended as a minimum solution is in the header, and the documentation is updated to reflect the supported values.
  20. Replies
    359
    Views
    203,906

    Ok. I had pondered callback from the IRQ state,...

    Ok. I had pondered callback from the IRQ state, piddled around a bit with the idea. The user would almost certainly have code in IRQ state and the mainline sharing data buffers, resulting in hard...
  21. Replies
    359
    Views
    203,906

    Are you thinking TX and RX structure software...

    Are you thinking TX and RX structure software FIFOs handled in IRQ state, that handshake with the mainline API? This has benefits no doubt if the hardware peripheral buffering isn't working out for...
  22. Replies
    359
    Views
    203,906

    I am fine with that, yes. The driver is stable...

    I am fine with that, yes. The driver is stable based on no issue reports, so I don't have plans to make changes unless people request more. Anyone else please freely chime in too with opinions. If...
  23. Replies
    359
    Views
    203,906

    Argh! Sorry I didn't see this sooner. I will...

    Argh! Sorry I didn't see this sooner. I will get it sorted out.
  24. Replies
    359
    Views
    203,906

    Thanks for the well wishes, drivers get an order...

    Thanks for the well wishes, drivers get an order of magnitude more complicated when going interrupt based. Ok that is an exaggeration but you know what I mean!
  25. Replies
    359
    Views
    203,906

    Ok, thanks. I can imagine that happening with...

    Ok, thanks. I can imagine that happening with GPIO peripheral change interrupts being commonly used. The can0_ vectors should be safe, there is no use for them outside of a CAN driver.
  26. Replies
    359
    Views
    203,906

    pawelsky can you explain what the interrupt...

    pawelsky can you explain what the interrupt vector concern is in more detail? The IRQ driver would provide service routines for can0_ vectors. FLEXCAN_ register access will need to largely move...
  27. Replies
    359
    Views
    203,906

    That is a good idea. I will work on...

    That is a good idea. I will work on incorporating an IRQ into the driver this weekend. JeanBelanger your help would be much appreciated as it has been already!
  28. Replies
    359
    Views
    203,906

    Looks to be a pull-up built into that transceiver...

    Looks to be a pull-up built into that transceiver so never mind...
  29. Replies
    359
    Views
    203,906

    Done. Thanks!

    Done. Thanks!
  30. Replies
    359
    Views
    203,906

    Maybe something on the TXD (CPU side) while the...

    Maybe something on the TXD (CPU side) while the Teensy is booting? If it is, and it is from a floating line (not driven by Teensy), a pull-up resistor on the CPU CAN TXD would eliminate that worry.
  31. The same sort of non-ASCII stuff is output on...

    The same sort of non-ASCII stuff is output on connect after doing those steps. Who knows. The lock-ups bother me a lot more than this issue, so I hope TI and/or Adafruit and/or PJRC and/or...
  32. Replies
    359
    Views
    203,906

    Looks pretty darn nice! I used a bare Arduino...

    Looks pretty darn nice! I used a bare Arduino protoshield PCB that has a SOIC 8 footprint in the corner. Put Teensy in the prototyping area along with a few other things, and a whole lot of...
  33. I fixed the MACID when it happened by generating...

    I fixed the MACID when it happened by generating a new one and pulling a trick similar to what you used (msg #3 above). So the MACID isn't a problem, but maybe some other setting was damaged in the...
  34. Also tried resetting the driver library repo back...

    Also tried resetting the driver library repo back to "Merge pull request #55 from tdicola/SPI_clock_fix" which is where I think it was before, and it still sends the stuff.
  35. That was a good idea to test, it is NOT normal...

    That was a good idea to test, it is NOT normal again. The version says "Firmware V. : 1.19" post downgrade. After the downgrade it still prints that stuff, not what I expected.

    Maybe it is...
  36. Replies
    359
    Views
    203,906

    Folks using CAN: I had a request issue on the...

    Folks using CAN:

    I had a request issue on the GitHub repo to add documentation for CAN transceiver choices. Please if you are using the Teensy3.1 with CAN post here the part that is known to...
  37. I was able to test from telnet on an up-to-date...

    I was able to test from telnet on an up-to-date Xubuntu machine and the "stuff" is the same sort, but the values differ a bit:
    F7 F5 03 F7 F3 10 F7 F3 17 F7 F3 20 F7 F3 21 F7 F3 22 F7 F3 27 F7 F5 05...
  38. Yes the 10mSec delay is still required on...

    Yes the 10mSec delay is still required on Teensy3.1 to keep things from locking up. That was reported in my issue discussions with you and others on github that got closed down for being teensy3.1...
  39. Replies
    359
    Views
    203,906

    Probably you already know this, you need to have...

    Probably you already know this, you need to have a terminating resistor between CANH and CANL that go to the bus.

    Wire the Teensy to TXD and RXD on the transceiver.

    That is a 5V part but will...
  40. I can say for sure if I drop the connection and...

    I can say for sure if I drop the connection and reconnect, the string of non-ascii stuff is sent again.
    Here is the stuff: F7 F3 25 F7 F5 03 F7 F3 10 F7 F3 17 F7 F3 20 F7 F3 21 F7 F3 22 F7 F3 27 F7...
  41. Replies
    359
    Views
    203,906

    Ok, good plan. The repository has been tagged as...

    Ok, good plan. The repository has been tagged as a pre-release beta as requested. Please post any issues or requests on the repo issue tracker or as reply comments here. If it is working fine in...
  42. Replies
    359
    Views
    203,906

    Done. Thanks!

    Done. Thanks!
  43. Yes the opening non-ascii spew happened with...

    Yes the opening non-ascii spew happened with ChatServer, I didn't try EchoServer.
  44. Replies
    359
    Views
    203,906

    The contributions for receive filtering and...

    The contributions for receive filtering and extended identifier support from this post have been added to the repository. Thanks JeanBelanger!

    If you can, please help test as my setup (pure spit...
  45. Replies
    359
    Views
    203,906

    Mundane topic along these lines... Anybody have...

    Mundane topic along these lines... Anybody have an issue with this:
    I run the code through "astyle -A10 -s2" as a way to stay consistent on whitespace matters. It is 1TBS with 2 spaces per...
  46. Replies
    359
    Views
    203,906

    Ah good point and it isn't too late. Thanks you...

    Ah good point and it isn't too late. Thanks you have helped me in that area before!
  47. Replies
    359
    Views
    203,906

    It would only be feasible in a system with a 5V...

    It would only be feasible in a system with a 5V regulated supply available.
  48. Replies
    359
    Views
    203,906

    Thanks. This is handy info for bread boarding as...

    Thanks. This is handy info for bread boarding as I don't remember seeing 3.3V thru-hole transceiver parts.
  49. Replies
    359
    Views
    203,906

    Ok. Thank you!

    Ok. Thank you!
  50. Replies
    359
    Views
    203,906

    Thanks for helping! The best approach for code...

    Thanks for helping! The best approach for code contributions is to send a pull request on Github. If you prefer a "plan B", posting the changes will work too.

    If new to Github, they have pretty...
Results 1 to 50 of 90
Page 1 of 2 1 2