Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • nox771's Avatar
    11-17-2017, 11:52 PM
    You don't use those functions to determine if the buffer is empty, instead use Wire.available(). Those functions exist because at a hardware level the I2C moves data in bytes, so it is natural to manipulate data in...
    590 replies | 255314 view(s)
  • nox771's Avatar
    11-15-2017, 05:29 PM
    Hello, for the next TD release please pull i2c_t3 off GitHub again. It had a big update which is described here: https://forum.pjrc.com/threads/21680-New-I2C-library-for-Teensy3?p=157187&viewfull=1#post157187 Unless...
    10 replies | 2114 view(s)
  • nox771's Avatar
    11-15-2017, 05:22 PM
    GC is one of several things that are lacking, but unfortunately at the moment I'm out of time, and it might be a while before I can look into it. I can add this as a future to-do.
    590 replies | 255314 view(s)
  • nox771's Avatar
    11-05-2017, 05:41 PM
    If the regulators are worth a damn at all they should block a Broadcom / Qualcomm deal. Putting those two together (with all of their sub-acquisitions) consolidates a large amount of wireless chip IP into a single...
    11 replies | 2044 view(s)
  • nox771's Avatar
    11-05-2017, 05:07 PM
    Things to try: 1) Try putting a delay on the startup code prior to the Wire commands. If RTC holds SDA/SCL low during powerup it could hang the Wire commands (I'm not sure how default Wire lib handles bus busy...
    9 replies | 301 view(s)
  • nox771's Avatar
    11-05-2017, 04:26 PM
    What it looks like is the 64LQFP package is out everywhere (Mouser has 8500 on order at end of Feb - otherwise lead time is now showing 39 weeks). However there is some stock on bigger QFPs and BGA packages (some...
    20 replies | 1303 view(s)
  • nox771's Avatar
    10-27-2017, 04:28 AM
    A couple FYI's - 1) I ran into a similar bug on earlier i2c_t3 code, which is now fixed. This is caused by the STOP interrupt code, which probably needs fixing on Wire. IIRC, the interrupt triggers on the last...
    37 replies | 2591 view(s)
  • nox771's Avatar
    10-22-2017, 06:29 AM
    All, I've uploaded a new v10.0 library to the top post and GitHub. Documentation has been updated. This has passed all my testing but it is a pretty involved change in some parts, so post here if you have any...
    590 replies | 255314 view(s)
  • nox771's Avatar
    10-06-2017, 04:13 AM
    Just FYI - I'm going to be working on a significant update soon, and I'll try to add this in (but it will probably be a more generic error logging as discussed a long time ago - when it gets closer I might discuss form...
    7 replies | 408 view(s)
  • nox771's Avatar
    10-02-2017, 03:15 PM
    sendRequest() will background a transfer, but it is correct you will need to poll or periodically check done() or finish() to know when the transfer is complete. The expectation was this is something that would be done...
    590 replies | 255314 view(s)
  • nox771's Avatar
    10-01-2017, 11:50 PM
    Paul, please pull a new i2c_t3 off GitHub again for next TD version. There were some more fixes on the LC/3.5/3.6, details:...
    17 replies | 1716 view(s)
  • nox771's Avatar
    10-01-2017, 11:39 PM
    All - I've uploaded a v9.4 release to the top post and GitHub. A couple other bugs showed up involving RepSTART into Slave ISR on LC/3.5/3.6. Changes are: Fixed Slave ISR for LC/3.5/3.6 not properly recognizing...
    590 replies | 255314 view(s)
  • nox771's Avatar
    10-01-2017, 05:31 PM
    Possibly because you are doing pass by value instead of pass by reference. Try changing the function arguments to references: void IntOn(IntervalTimer& actTimer) {
    2 replies | 206 view(s)
  • nox771's Avatar
    09-27-2017, 07:41 AM
    This looks like a problem in the build system, not in the source code. It seems to be trying to link in default Wire lib (WireKinetis.cpp.o) at the same time as i2c_t3, which won't work because they define the same...
    590 replies | 255314 view(s)
  • nox771's Avatar
    09-24-2017, 02:49 AM
    There are a few out there, mostly places I've never dealt with (click "show all"): https://octopart.com/search?q=MK20DX256VLH7+
    20 replies | 1303 view(s)
No More Results
About nox771

Basic Information

About nox771
Location:
Austin TX

Statistics


Total Posts
Total Posts
401
Posts Per Day
0.23
Last Post
New I2C library for Teensy3 11-17-2017 11:52 PM
General Information
Last Activity
11-19-2017 10:36 PM
Join Date
03-13-2013