Thank you luni and defragster for your detailed replies! I opened a bug to track this: https://github.com/PaulStoffregen/TimerOne/issues/55
Type: Posts; User: shirriff
Thank you luni and defragster for your detailed replies! I opened a bug to track this: https://github.com/PaulStoffregen/TimerOne/issues/55
I did some investigation, and here's a slightly simpler version that illustrates my problem.
Summary: The first timer interrupt after start() happens at half the specified interval.
Expected...
I'm trying to change the period for TimerOne, but the interval after start() is half the specified period.
In the following code, I ask for a period of 1000 microseconds, but get pulses every 500...
Thanks Paul and damiend! I switched to 1-byte reads and then I can read the registers. I'll try the Infineon library if I need more performance.
For reference, the code to switch to 1-byte reads...
I'm trying to read a register over I2C using the i2c_t3 on a Teensy 3.6, but I don't get any data. I think the problem is that the Wire library does a register read by a write of the register address...
My problem was that I needed to set the daisy chain register so the right input pad would be used.
IOMUXC_FLEXPWM2_PWMA2_SELECT_INPUT = 1;
Apparently the Teensy 4.1 has an additional "daisy...
My goal is to capture the times between input pulses using DMA. I got this working on Teensy 3.6, based on input_capture_dma.ino. But moving to Teensy 4.1, I can't get capture to work.
I'm using...
Thanks for the suggestion!
I had a Teensy 3.6 program that (among other things) displayed an image from an SD card on the Teensy touchscreen. I switched to Teensy 4.1 and can't get the libraries to work together. In...
I'm trying to emulate a 1970s-era Diablo 33 disk drive for the Xerox Alto. The bit rate is 3.3 MHz, so hopefully the Teensy 3.6 can handle it. I did some experiments today and bit-banging seems...
Thank you Paul for your detailed answer!
I'm trying to understand the Teensy 3.6 at the register level. One thing that puzzles me is that the address for FTM2_MOD is defined in kinetis.h as 0x400B8008, but in the manual the address is...
My MacBook Air has crashed twice with the same problem. I uploaded a trivial program to the Teensy 3.6 and my MacBook suddenly reboots. The problem report says "Process name corresponding to current...
Thanks! I'll give it a try. I definitely wouldn't have thought of using the audio interface :-)
I want to shift out thousands of bits from a Teensy 3.6 at 1.6 MHz (to simulate a disk drive). Is there a more convenient way to do this than bit-banging? I've been looking at the manual and it seems...
I encountered the same crash with Teensyduino and multiple monitors on Catalina. I fixed the problem by uninstalling old Java versions, as described here and in this Arduino issue.