Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: DrM

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Communication over USB fails with additoinal teensy board connected

    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...
  2. Replies
    499
    Views
    303,423

    Hi, nice work. 1) What setup is needed before...

    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...
  3. Replies
    499
    Views
    303,423

    Sorry, I meant to post that on the thread for the...

    Sorry, I meant to post that on the thread for the adc library
  4. Replies
    499
    Views
    303,423

    Very nice work Can analogSyncRead() be called...

    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
  5. Replies
    1
    Views
    194

    The problem turns out to be a too small buffer in...

    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.
  6. Replies
    1
    Views
    194

    USB Serial Communication problems in Windows

    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...
  7. Thread: ADC and DMA

    by DrM
    Replies
    2
    Views
    165

    Thank you, will look for them.

    Thank you, will look for them.
  8. Thread: ADC and DMA

    by DrM
    Replies
    2
    Views
    165

    ADC and DMA

    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
  9. Replies
    11
    Views
    396

    That sounds really helpful, both parts; update to...

    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,...
  10. Replies
    11
    Views
    396

    Yes, I thought it might be the usb flooding the...

    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.
    ...
  11. Replies
    11
    Views
    396

    The PC in this case is not unstable, it has never...

    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...
  12. Replies
    11
    Views
    396

    Of course it did save the file when it last...

    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...
  13. Replies
    11
    Views
    396

    IDE crashed, source code file corrupted

    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...
  14. Replies
    19
    Views
    503

    I did think about the Teensy4. The analog...

    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...
  15. Replies
    19
    Views
    503

    @Pilot DMA sounds interesting, it would surely...

    @Pilot DMA sounds interesting, it would surely be robust. Can it handle digital output on three pins simultaneously with analog input on a fourth?
  16. Replies
    19
    Views
    503

    That's okay, that is certainly the idea. The...

    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...
  17. Replies
    19
    Views
    503

    @defragster Thank you. That looks great. ...

    @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...
  18. Replies
    19
    Views
    503

    Hmm, yes they are different timers. I...

    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...
  19. Replies
    19
    Views
    503

    Anyway ... I've dug into the code a bit, I...

    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,...
  20. Replies
    19
    Views
    503

    "Perhaps editing kinetis.h to be just :: #include...

    "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...
  21. Replies
    19
    Views
    503

    Thank you, Can a project have a private...

    Thank you, Can a project have a private version of kinetis.h? How?
  22. Replies
    19
    Views
    503

    Timer interrupts > 1MHz ?

    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...
  23. Replies
    22
    Views
    4,172

    Hi Reim, I have your configuration and code...

    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...
  24. Replies
    30
    Views
    6,713

    Hi, it is a SMT design. So you have to have the...

    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.
  25. Replies
    22
    Views
    4,172

    I saw a note above somewhere asking if the...

    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...
  26. Replies
    22
    Views
    4,172

    One more question, I think. Are you using the...

    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
  27. Replies
    22
    Views
    4,172

    BTW, the bandwidth of the Teensy 3.2 ADC input, ...

    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?
  28. Replies
    22
    Views
    4,172

    Thank you, I found that. Is there any reason you...

    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.
  29. Replies
    22
    Views
    4,172

    Hi Reim Could you include a listing, or a...

    Hi Reim

    Could you include a listing, or a diagram, to show how you connected the TCD1304 to the Teensy?

    Thank you
    M Nelson
  30. Replies
    7
    Views
    558

    Yes, I think so. My old installation ran the...

    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...
  31. Replies
    7
    Views
    558

    The answer is that you unzip the Arduino wherever...

    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...
  32. Replies
    7
    Views
    558

    I neglected to mention, it's a Linux machine. ...

    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.
  33. Replies
    7
    Views
    558

    Updating the IDE and Teensy support

    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...
  34. Replies
    13
    Views
    1,728

    That is good news that it recovers after cycling...

    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,...
  35. Replies
    13
    Views
    1,728

    Hi Paul We are again looking at deploying a...

    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...
  36. Replies
    13
    Views
    1,728

    @PaulStoffregen Hi Paul, the need for a more...

    @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...
  37. Replies
    13
    Views
    1,728

    @PaulStoffregen Hi Paul, is there any chance...

    @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.
  38. Replies
    30
    Views
    6,713

    The board described in this thread was designed...

    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...
  39. This might be helpful for your project. It is...

    This might be helpful for your project. It is starts with low noise. I can probably help you with the signal processing also.

    ...
  40. Replies
    30
    Views
    6,713

    @FHorn I am a little bit familiar with NI, and...

    @FHorn

    I am a little bit familiar with NI, and I am not a fan. Moreover, with their focus on expensive software (400/year to 5K/seat plus fees for deployment), it is not easy to see why they...
  41. Replies
    30
    Views
    6,713

    @notthetup Yes, it was the mccdaq and the...

    @notthetup Yes, it was the mccdaq and the labjacks, that led me to feel the need to do this. This is better than any of those, for a few reasons.

    Here are a few of the specs that I was...
  42. Replies
    13
    Views
    1,728

    @tonton81 - No, that would not be robust for...

    @tonton81 - No, that would not be robust for deployment and you could not use it in a professional context.

    Think of it in terms of sending a board to the space station, or antartica, or a...
  43. Replies
    13
    Views
    1,728

    Defragster raises a separate point, he wants a...

    Defragster raises a separate point, he wants a "halt". He could do that by having a "halt" program ready to load when he pushes the button.

    I feel that "Reset" aligns better with what users...
  44. Replies
    13
    Views
    1,728

    Button, timeout and boot

    I would like to request a feature or enhancement, for the function of the button on the Teensy.

    After pushing the button, if a connection is not found to an instance of the Teensy Loader (on the...
  45. Replies
    30
    Views
    6,713

    Hi Paul, the twitter response seems promising. I...

    Hi Paul, the twitter response seems promising. I plan to ask for a quote today for a small production run. Will let you know how it comes out.
  46. Replies
    30
    Views
    6,713

    Great, thank you. I see two replies already, the...

    Great, thank you. I see two replies already, the first might be talking about a pci/pcie board from general standards, they usually go for 5-8 K$.
  47. Replies
    30
    Views
    6,713

    It takes me about four hours to build one by...

    It takes me about four hours to build one by hand, with tweezers and a magnifier, and then a few minutes in a small reflow oven. Having the pcb service that I regularly use, do the assembly for a...
  48. Replies
    30
    Views
    6,713

    So, can we talk? I emailed you my contact info.

    So, can we talk? I emailed you my contact info.
  49. Replies
    30
    Views
    6,713

    And yes, of course, I did plan to produce and...

    And yes, of course, I did plan to produce and sell the board, and would be happy to do it if there is interest. I think there a lot of researchers in science and engineering who would benefit.
  50. Replies
    30
    Views
    6,713

    I am happy to publish the python gui, and...

    I am happy to publish the python gui, and probably the firmware that runs the board as well. The intent is that it be a flexible instrumentation grade DAQ interface and still be very affordable. ...
Results 1 to 50 of 111
Page 1 of 3 1 2 3