What? Read the document?
Actually, i didn't notice the link. I'll take a look at it. Thank you
Type: Posts; User: DrM
What? Read the document?
Actually, i didn't notice the link. I'll take a look at it. Thank you
@luni
You have these lines in your make file. I am wondering how they would translate to my project, or if they are needed.
BUILD_PATH :=...
@KurtE that sounds like a simple approach, I was thinking along those lines, but did not find the switch for verbose in the gui.
@luni that seems very interesting. Are build_path and...
I found a possible answer, here
https://forum.arduino.cc/index.php?topic=713456.0
The following command seems to work, in so far as uploading or verifying,
# arduino --pref...
Has anybody tried this:
https://github.com/sudar/Arduino-Makefile
It has a Teensy.mk
Hi Paul, I thought I replied earlier but perhaps I forgot to click post. So apologies if this is a repeat.
Is there a makefile that I could crib from? My includes are ADC.h, EEPROM.h and...
Good, thank you, presumably you meant teensy3, in any case I found it.
It looks like it is setup for .c files and no obvious reference to the .ino files created by the ide.
What needs to be...
I do indeed know how to read make files.
I still don't know where this one is to be found.
And sometimes makefiles are so complicated that it takes a long time to decipher what a particular...
@WMXZ Sounds great. Where is it in the tree? And, how do I use it?
Do I just copy it into the directory with the .ino file, or do I need to edit the makefile?
And how do I pass the switch...
@blackketter I am sorry, that is not a good answer for me. I do not want to install more clutter, and I have no use or interest, none whatsoever, in a "a professional collaborative platform of...
Is there a way to automatically create (or dump) a makefile to build a sketch from the command line, in linux?
And within the IDE, is there a way to set a macro definition, i.e. like #define in...
I am bulding an experiment that involves three teensy boards. Two act as spectrometers, and the third acts as an analog i/o and produces a trigger that goes to the two spectrometers. The system is...
Hi, nice work.
1) What setup is needed before calling the fast read function?
2) Can analogSyncRead() be called from an ISR?
I notice it appears to disable and enable interrupts. Is...
Sorry, I meant to post that on the thread for the adc library
Very nice work
Can analogSyncRead() be called from an ISR? For example, can it be used in a function that was launched by the timer ?
Thank you
The problem turns out to be a too small buffer in the Windows USB serial driver.
The solution is simply to read the input from the teensy faster, and buffer it up manually.
On a windows 10 computer, using python with pyserial to read output from a Teensy 3.2.
The Teensy program generates about 4,000 lines of output, but on the desktop, it stops getting input at...
Thank you, will look for them.
Are there example codes using DMA to transfer from the ADC, preferably in a Teensy 3.1/2?
And could someone please point me to the relevant documentation?
Thank you
That sounds really helpful, both parts; update to current version and use an external editor. I did not realize 1.8.10 was out of date, it seems like not so long ago that I installed it.
So,...
Yes, I thought it might be the usb flooding the serial monitor tool launched by the IDE, and then perhaps crashing the desktop. But it did disconnect spontaneously a few times along the way.
...
The PC in this case is not unstable, it has never crashed under any other circumstances. It was very clear at the time that it was the ide and its interaction with the teensy that did it.
The...
Of course it did save the file when it last compiled, and then when it crashed, it overwrote that file up to line #whatever, and that is what I had after the machine rebooted.
It did not run out...
While working in the teensy/arduino IDE 1.8.10, in fedora 31, the system first complained that it could not find the teensy device, and then locked the host OS.
After rebooting, the ino file is...
I did think about the Teensy4. The analog input needs to go at 250kS/s, synchronized at a certain phase relative to the first output signal which runs at 1MHz. The other two digital outputs also...
@Pilot DMA sounds interesting, it would surely be robust. Can it handle digital output on three pins simultaneously with analog input on a fourth?
That's okay, that is certainly the idea. The small difference of course is unavoidable anyway, unless you have hardware that lets you write multiple pins in one register. Fortunately for this...
@defragster Thank you. That looks great. And yes that is the task at hand. In response to a command received through Serial,read(), I need to run three waveforms and read the adc at fixed...
Hmm, yes they are different timers. I understood that to mean that the all of the pins on one timer have to output the same frequency. I should perhaps try setting frequencies individually...
Anyway ... I've dug into the code a bit, I wanted to see how analogwrite does it, and it seems like the answer is that it does it in hardware.
Experimenting with the interval timer, and the pwm,...
"Perhaps editing kinetis.h to be just :: #include "my_kinetis.h""
I was hoping for something like a path or environment variable that I could set per project. Editing the working source tree for...
Thank you, Can a project have a private version of kinetis.h? How?
Is there a way to reliably run a routine at 0.5 usec intervals on a Teensy 3.2?
Can the IntervalTimer be configured to run at 2MHz (or faster)? How?
I want to generate a set of synchronized...
Hi Reim,
I have your configuration and code running. But I am not quite sure how it is supposed to work.
For example, the commands 't' and 'T' seem to decrement or increment t_int and then...
Hi, it is a SMT design. So you have to have the actual board. I am interested to make some more if there are a few people to help dilute the assembly costs.
I saw a note above somewhere asking if the transistor is important. The answer is yes. Alternatively an opamp with a sufficient slew rate should be good. Given the sensor performance, it can be...
One more question, I think. Are you using the logic inverter with your code? Would there be any issue in wiring the digital pins from the Teensy directly to the TCD 1304?
Thank you
BTW, the bandwidth of the Teensy 3.2 ADC input, seems a bit tight for this. Do you see any issues with that? What do you think of doing it with the 4.0?
Thank you, I found that. Is there any reason you chose TX3, RX3 rather than, Tx2,RX2 or TX1,RX1?
The pairs on the side of the Teensy are a little more convenient for routing a pcb.
Hi Reim
Could you include a listing, or a diagram, to show how you connected the TCD1304 to the Teensy?
Thank you
M Nelson
Yes, I think so. My old installation ran the teensy loader from a separate directory. The current setup seems much better.
I still have problems with the software complaining about running...
The answer is that you unzip the Arduino wherever you want it to reside, and the Teensyduino installer copies itself into that directory tree.
There are some bugs, the ide opens and closes without...
I neglected to mention, it's a Linux machine.
That sounds like it will be installed alongside the earlier versions, is that correct? I supposed the desktop shortcuts will simply be overwrriten.
Hi, I would like to start working with a new board, and so, it is finally time to update the development environment. But, so far I have not found instructions on how do that.
Could someone...
That is good news that it recovers after cycling power. At least it's not a total brick at that point. Apart from that, I think we have a different context for what is risky and what is normal,...
Hi Paul
We are again looking at deploying a product with the Teensy board. This one would be pretty important for a social minded cause.
And again, we are still stuck on the problem of what...
@PaulStoffregen
Hi Paul, the need for a more deployable function for the button, has come up again. Is there still not adequate time or interest for this? Again, we need that the button result...
@PaulStoffregen
Hi Paul, is there any chance of this happening?
If you are too busy for this, if instructions and source available, perhaps one of us could have a go at it.
The board described in this thread was designed to provide high precision low noise signal acquisition, waveform generation and digital I/O in a programmable board with an open API that interfaces...
This might be helpful for your project. It is starts with low noise. I can probably help you with the signal processing also.
...