OK, the penny has finally dropped! This clears up the mystery for me. I understood what you put in your original post but it didn't fully register. I certainly don't need microsecond timing for...
Type: Posts; User: DaveAK
OK, the penny has finally dropped! This clears up the mystery for me. I understood what you put in your original post but it didn't fully register. I certainly don't need microsecond timing for...
Thanks for all the responses. Some useful pointers but maybe I should clarify a couple of things. First the title of my post might be misleading, it obviously isn't a performance issue but perhaps...
Well that certainly seems to work. But now I'm curious as to why toggling state has issues. :D
I'm starting a new project that will be using a Teensy 4.0 or 4.1, but I haven't ordered it yet, so I'm prototyping some concepts on an ATmega328 based SparkFun RedBoard. I'm simply testing...
Thanks Paul! Can confirm the new 1.54-beta6c version is now quicker than a quick thing.
Edit: Beta version installed on machine in OP. Just checked the new HP in my shop and the original loader...
I have trouble with GTK2/3 compatibility all the time and usually have to install additional libraries. I just found out about lack of 32bit support when I tried to upgrade my shop PC. It's...
I'm happy to help with any testing. In addition to the machine in my OP I have a new HP All-in-one that I just set up to dual boot Windows and Ubuntu 20.04. I have loaded Teensyduino on it but not...
It definitely seems to be a 20.04 issue. I have an old 32bit machine out in the shop running 18.04, (I think), and the same version of Teensy loader and that works fine. I still have the same issue...
Anyone? Just some pointers as to what to look at would be helpful.
Thanks for the reply! That SparkFun tutorial gave me lots of helpful info and I think you've probably saved me three months of work. :) I'm scrapping my original Java application and just building...
I can relate to this! I keep things in boxes. But I spread the boxes out between my office, the garage, the shop, etc. And then there are the things that were in boxes that I take out and never...
I need a little help on some basic MIDI stuff so I can better understand what's happening under the hood. I am creating a device using a Teensy 3.2 that receives MIDI events (namely note on and note...
I've just built a new Linux PC and have installed all my development stuff, including Arduino IDE 1.8.13 and Teensy Loader 1.53. While they both work and I'm able to upload sketches to a Teensy 3.2...
I was thinking about the diode option. This would probably work fine because the CAN transceivers are powered directly from the 5V regulator on my board so I would only be powering the Teensy with...
What if I don't (didn't :D) cut the trace from VIN to VUSB when powering from an external 5V source? I made a dual CAN board with its own 5V supply powered by the vehicles 12V. This supplies the...
I have a similar situation, but I believe my bus is correctly terminated. For me everything hangs when I inject messages over serial to be written to the bus. Reading from one controller and...
Anyone got any suggestions? I'm favoring the relay approach right now, because I just don't know enough about transistors.
Looks like you've got some good answers already. I don't know if Can0.setListenOnly should go before or after the Can0.begin, but I'm sure the setup routine is where I'd put it. One thing I notice,...
From the flexcan.h header file:
Looks like listen only is not yet implemented. I don't know about your specific implementation but you can probably get away with normal mode and just not write...
I'm working on a CAN bus sniffer/splitter/injector based around the Teensy 3.6 (might move to the Teensy 4.0 for final device). As it stands it's working fine in prototype form, and I'm ready to...
Perfect! Thanks!
Running in to an issue setting msg.seq - compiler is throwing an error say CAN_message_t is read-only:
My code:
void relayFrame(const CAN_message_t &frame) {
// Take incoming frame and send...
Hey Antonio, I ran in to an issue that I posted to your IFCT thread so that it's available to all who might be following it.
Taking a look at this now and it looks pretty straightforward. If I'm wanting strict FIFO read and writes I should just enable FIFO with interrupts/disable mailboxes on the read side and then I can...
I was hoping for a library solution rather than rolling my own. Right now I'm using CollinK's library, but I know you've written one with FIFO. Last I looked it was only for a single CAN...
I'm building a Teensy 3.6 based CAN bus sniffer/splitter/injector and would like a good timestamp solution, but the provided timestamp just doesn't seem up to the task. Could anyone validate my...
Hey Paul, here's the debug output. The manufacturer, product and serial number all appear correct. I'm using the SerialTest sketch and just modified the baud rate to 9600. The device streams data...
I've just had to cobble together a quick dynamometer DAQ using a Teensy 3.6 and have a question about the USB Host. Part of the DAQ includes a serial input of weather data through an FTDI chip. ...