I've been stuck on other projects for some days now, but my coworker found that changing clock and reducing speed was a good solution to keep things stable without removing transactions.
It really annoys me that I...
@mjs513 The SPI mode difference is just since you're looking at https://github.com/adafruit/Adafruit_MAX31865 rather than https://github.com/adafruit/Adafruit-MAX31855-library ;-)
(The MAX31865 is for PT100 sensors,...
@guzo could you try commenting out the beginTransaction & endTransaction in the Adafruit Lib? That solved the problem for me, but I still are unable to reproduce this with just a T4.1 on Breadboard.
I tried reproducing the bug with a stock T4.1 on breadboard with 3 MAX31855's to no avail. I only had 3 breakout boards, but I don't seen how the amount of SPI devices could be relevant other than for signal quality. It...
Weekend and refurbishing got me, but now it's Monday and I found the culprit. It's related to the transactions and multiple IC's. If I remove beginTransaction and endTransaction, it works flawlessly on any speed. I'll...
Huh... The plot thickens. I initially tested with varying speeds from 0.5-10Mhz. It kept crashing no matter the speed. After I tried the "fix" above, I could not make it crash. This was at 10Mhz and I didn't try...
So now I've tested with an original T4.1 + the part on a breadboard and I cannot reproduce the problem. That indicates that the error is somewhere in my custom board. Looking at the signals with a scope, the levels look...
Let me drop by my customer tomorrow to pick up some MAX31855's for testing with an original T4.1 on a breadboard before you order anything? I'm thinking it's likely the Microchip part that is the problem here. I'll test...
Using either just zeros or nullptr does not change the behavior.
Unfortunately, the chip is required it seems? This is the most compact code I could come up with that let you test both variants.
#include...
Hi,
On a project I have a board with no less than 14 ADCs reading K-type Thermocouples and PT100 sensors. These are all SPI and I've been running them successfully for a year by now. For the latest revision of the...
I'm bringing up my third custom T4.1 design today and this time around it wasn't working (the previous two worked great). The blink code from the MKL02 indicated that the 24Mhz crystal was not oscillating and that was...
It's ok and it works? :)
The next time I lay out this chip I'll be sure to read all of the PJRC page on this https://www.pjrc.com/store/ic_mkl02_t4.html. Scroll down and you'll find a great strategy for getting better...
Hi all,
I've now published my Kicad schematic and board files for making a custom T4.1 on https://github.com/jenschr/Teensy-4.1-example
This file has a known bug in that it turns the USB switch for the USB host...
@Srx Shouldn't be hard if you have a hot-plate. Does not need to be big either. I used the MiniWare MHP30 (https://www.youtube.com/watch?v=JKlTd1B6Au8). It's tiny, but perfect for doing stuff like this & reflowing IC's....
Thanks! I found exactly what I need there. Great suggestion @luni!
This validates what I found in the datasheet, so now I can add the supported pins to my custom T4.1 board.
Digging deep into the 3500+ page reference manual for the imxrt1060 series, I found details on GPT in chapter 52 and TMR in chapter 54 in Gated-Count Mode. I'll research this further.
It would still be very useful to...
Hi all,
For a project I need two tachometers and using the "compare and capture" registers connected to the GPT on T4.1 seems like a logical choice. I can however not seem to find any documetation from NXP on what pins...
Hi,
I'm doing a custom T4.1. My first board worked well, but for my second board I'm trying to optimize a bit. The T4.1 has two crystals in the reference design - one for the MCU and one for the RTC. Is the RTC crystal...