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

Search:

Type: Posts; User: pawelsky

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    23
    Views
    1,354

    You change direction by setting or clearing the...

    You change direction by setting or clearing the LPUART_CTRL_TXDIR flag of the LPUARTx_CTRL register. For UART1 it means for receive mode:

    LPUART6_CTRL &= ~LPUART_CTRL_TXDIR;
    and for transmit...
  2. Replies
    23
    Views
    1,354

    Thanks for clarification. Another alternative...

    Thanks for clarification.

    Another alternative to set the port into single-wire mode would be to add new defines for format that could be passed to begin function, but I think a new API for the...
  3. Replies
    23
    Views
    1,354

    BTW I've noticed that in HadwareSerialX.cpp...

    BTW I've noticed that in HadwareSerialX.cpp configuration of the IOMUXC for TX pins in omitted for most of the serials (except Serial5/LPUART8). Is there any particular reason for that?

    Here is an...
  4. Replies
    23
    Views
    1,354

    Thank you all for the quick reply That did...

    Thank you all for the quick reply



    That did the trick, thanks a lot!
  5. Replies
    4,367
    Views
    540,007

    Single-wire serial

    I wonder if any of the betatesters here managed to get the T4.0 serials in single-wire mode functional. I'm struggling to get it working.
    ...
  6. Replies
    23
    Views
    1,354

    Teensy 4.0 and single-wire serial

    Hi,

    I'm trying to switch Teensy 4.0 serials into single-wire mode but it doesn't quite work for me. I'm trying to follow the i.MX RT1060 Processor Reference Manual and do the following:

    First I...
  7. Replies
    358
    Views
    190,440

    Show us your code for the receiving Teensy.

    Show us your code for the receiving Teensy.
  8. Replies
    358
    Views
    190,440

    Do you use the same Teensy for receive and...

    Do you use the same Teensy for receive and transmit or you use two different devices?

    Try using some proven device as a receiver to make sure the messages are properly acknowledged on the CAN bus.
  9. Replies
    358
    Views
    190,440

    Checked my old emails and it was 42M that was...

    Checked my old emails and it was 42M that was faulty in my case.

    Do you use slope control on purpose (10k resistor on RS)? Did you try switching to High Speed mode instead (RS directly to ground)?
  10. Replies
    358
    Views
    190,440

    Got it. Please check the batch number of the...

    Got it.

    Please check the batch number of the transceivers. I've purchased ones a couple of times that were always faulty (42M if I remember correctly).
  11. Replies
    358
    Views
    190,440

    The 120 ohm resistor should be between H and L...

    The 120 ohm resistor should be between H and L line, not in series with CAN L...
  12. Replies
    358
    Views
    190,440

    Can you show us your connections? Especially the...

    Can you show us your connections? Especially the ones between the Teensy and the transceiver?
  13. Replies
    358
    Views
    190,440

    Do you have the 120ohm terminating resistor?

    Do you have the 120ohm terminating resistor?
  14. Replies
    358
    Views
    190,440

    You probably have no other device connected to...

    You probably have no other device connected to your CAN bus that would receive what you send...
  15. Replies
    167
    Views
    69,378

    Minor thing, but you are missing T3.5 in...

    Minor thing, but you are missing T3.5 in txAlt/rxAlt parameters description (table for begin function).
  16. Replies
    167
    Views
    69,378

    That's only a pull request from H4nky84 that...

    That's only a pull request from H4nky84 that wasn't merged (neither on the teachop's repo nor on my fork).
  17. Replies
    167
    Views
    69,378

    CollinK, I did some correction recently to my...

    CollinK, I did some correction recently to my fork of the FlexCAN library to use proper alternative pins for T3.5. Also updated the pictures in the readme to include the alternative CAN pins. You may...
  18. Replies
    19
    Views
    13,469

    It would also be worth mentioning somewhere in...

    It would also be worth mentioning somewhere in the release notes that since 1.34-beta3 the included FlexCAN library API changed significantly and is no longer backward compatible, so installing 1.34...
  19. Replies
    358
    Views
    190,440

    Done...

    Done
    https://github.com/pawelsky/FlexCAN_Library/commit/2d2776166118ef6512e4a301f6b07b009e8edb5c
  20. Replies
    358
    Views
    190,440

    I agree that we should aim towards consistent...

    I agree that we should aim towards consistent APIs, but that would require bigger refactoring of the library so I'll leave it for teachop. In the meantime I've added simplified selection of the...
  21. Replies
    358
    Views
    190,440

    I fully understand why you went for the pads and...

    I fully understand why you went for the pads and I do like the design, I was only suggesting adding TH (next to the pads) to make it more universal if you decide to share the design at some point...
  22. Replies
    358
    Views
    190,440

    That could cause people trying to use any pin for...

    That could cause people trying to use any pin for CAN. I would rather think of some kind of CAN.setAlternativePins(alt) that would only allow to chose between alternative pin sets.


    Regarding the...
  23. Replies
    11
    Views
    11,187

    Noticed a problem in the boards.txt for Teensy...

    Noticed a problem in the boards.txt for Teensy 3.6 and clock frequencies below 24MHz - the speed.xxx and speed.xxx.build.yyy variable names do not match (opt suffix is missing for 2, 4, 8 and 16MHz...
  24. Thread: K66 Beta Test

    by pawelsky
    Replies
    1,558
    Views
    567,156

    If nobody finds any issues, then please do.

    If nobody finds any issues, then please do.
  25. Replies
    358
    Views
    190,440

    For those playing with Teensy 3.6 I've updated...

    For those playing with Teensy 3.6 I've updated the teachop's library with the dual CAN support
    https://github.com/pawelsky/FlexCAN_Library
  26. Thread: K66 Beta Test

    by pawelsky
    Replies
    1,558
    Views
    567,156

    Finished simultaneous dual CAN support and it...

    Finished simultaneous dual CAN support and it seems to be working fine. I've used a simple tests that transmits whatever is received on CAN0 to CAN1 and vice versa at 1Mbps.

    Tried all the clock...
  27. Thread: K66 Beta Test

    by pawelsky
    Replies
    1,558
    Views
    567,156

    I've created a fork of the FlexCAN library, where...

    I've created a fork of the FlexCAN library, where I'm adding my changes.
    https://github.com/pawelsky/FlexCAN_Library/
    So far you can select which CAN controller to use by providing an extra...
  28. Thread: K66 Beta Test

    by pawelsky
    Replies
    1,558
    Views
    567,156

    My Teensy 3.6 has recently arrived (thanks again...

    My Teensy 3.6 has recently arrived (thanks again Paul and Robin) and I did some quick tests with the FlexCAN library.

    I've loaded one of my sketches using the FlexCAN library at 1Mbit/s and it...
  29. Replies
    501
    Views
    197,634

    Paul, did you consider using the 1.5 library...

    Paul,

    did you consider using the 1.5 library format to take advantage of the new library manager and autoupdate?
  30. Replies
    358
    Views
    190,440

    Looks like so...

    Looks like so...
  31. Replies
    358
    Views
    190,440

    In general I didn't have problems with the 230...

    In general I didn't have problems with the 230 chip, except one particular batch, which I've received twice from different sellers. It was labeled 42M and refused to work correctly.
  32. Replies
    358
    Views
    190,440

    What ECU are you using? Do you use the 120 ohm...

    What ECU are you using? Do you use the 120 ohm resistor together with the ECU? Did you try connecting the analyzer directly to the Teensy CAN RX/TX pins (I believe it has an option to do so)?
  33. Replies
    358
    Views
    190,440

    Is there any CAN device actively receiving/acking...

    Is there any CAN device actively receiving/acking the CAN packets in the network (not sure if the CAN analyzer is passive or active)? Is the baudrate correct?
  34. Replies
    23
    Views
    15,853

    So that's why you don't see errors. As I...

    So that's why you don't see errors. As I mentioned errors appear only when the external SdFat library (not the one from Teensyduino) is installed, because the builder selects the wrong library for...
  35. Replies
    23
    Views
    15,853

    Probably because you don't have the SdFat library...

    Probably because you don't have the SdFat library installed.
  36. Replies
    23
    Views
    15,853

    SD library examples (eg. CardInfo) do not compile...

    SD library examples (eg. CardInfo) do not compile on Teensy 3.1/3.2 platform while they compile well on other platforms (e.g. ProMini) when SDFat library is installed in the main libraries directory....
  37. Replies
    52
    Views
    28,754

    Sounds great, thanks.

    Sounds great, thanks.
  38. Replies
    52
    Views
    28,754

    Since Teensy 3.2 is now available I believe it...

    Since Teensy 3.2 is now available I believe it needs to be added to boards list.
  39. Replies
    358
    Views
    190,440

    You are not setting the message length when...

    You are not setting the message length when sending from the second Teensy, so (buf[0] == 49) will always be false.
  40. Replies
    358
    Views
    190,440

    Check the comments in the FlexCAN.cpp to see...

    Check the comments in the FlexCAN.cpp to see whether you have the library version that does support 50000 baudrate. The latest version on github does, the official release 1.0 doesn't.
  41. Replies
    358
    Views
    190,440

    EagleUp + Maxwell renderer

    EagleUp + Maxwell renderer
  42. Replies
    358
    Views
    190,440

    That might help...

    That might help
    www.mikrocontroller.net/attachment/28831/siemens_AP2921.pdf
  43. Replies
    358
    Views
    190,440

    There is only one rule and it is very clear - as...

    There is only one rule and it is very clear - as long as you or anybody else is making ANY profit of it (and I know exactly what's the cost of components to build these boards), you are violating the...
  44. Replies
    358
    Views
    190,440

    You do realize that this project is meant for NON...

    You do realize that this project is meant for NON COMMERCIAL (i.e. personal) use only?
  45. Replies
    358
    Views
    190,440

    We can discuss it ;)

    We can discuss it ;)
  46. Replies
    358
    Views
    190,440

    I do not do them anymore. You can make the...

    I do not do them anymore. You can make the All-In-One shiled yourself if you want.
    https://oshpark.com/shared_projects/VeJFD9qA

    No idea if they can be used with Audio shield, never used one.
  47. Replies
    91
    Views
    40,855

    Not sure if you want to add any more corrections...

    Not sure if you want to add any more corrections in this release, but I've noticed that some of the examples (especially the ones for SD and SPI) are missing some CS pin description for Teensy 3.x....
  48. Replies
    91
    Views
    40,855

    Thanks Paul, will try that for sure. I'm also...

    Thanks Paul, will try that for sure. I'm also glad that the memory leak with auto scroll disabled was addressed. I think that was reason why the serial monitor became non-responsive sometimes after...
  49. Replies
    91
    Views
    40,855

    Paul, is there any more detailed changelog...

    Paul, is there any more detailed changelog available somewhere? I'm wondering what kind of improvements for ASM this Teensyduino version introduces.
  50. Replies
    358
    Views
    190,440

    Did you consider OSH park (https://oshpark.com/)?...

    Did you consider OSH park? They may have better prices.
Results 1 to 50 of 111
Page 1 of 3 1 2 3