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

Search:

Type: Posts; User: Deane

Search: Search took 0.00 seconds.

  1. @MakerBR Could you please help out a newbie and...

    @MakerBR Could you please help out a newbie and sprinkle some comments in your code above (From July 15th) to explain what is going on?
    Thanks. There is a lot of unfamilar terms in there.
  2. @fragster I am having a hard time visualizing...

    @fragster I am having a hard time visualizing what is going on in the simpler code by @jonr. On the pin diagram card that comes with the Teensy 4.0 there is no pin listed as GPI06. What is the name...
  3. Replies
    5
    Views
    234

    @defragster Thanks for the quick and detailed...

    @defragster Thanks for the quick and detailed response. There is a lot going on here. I will have to study the code and try a few examples.
    If it takes 9 cycles, how long is that at 600 MHz clock...
  4. Replies
    5
    Views
    234

    Reading and writing words on Teensy 4.0

    I have to use an external 10 bit A/D on my project because the internal one is not fast enough. I was going to have the A/D stuff data into a FIFO memory but I am finding that these chips are...
  5. Replies
    15
    Views
    648

    @defragster Yes I learned all those older...

    @defragster Yes I learned all those older languages too. No semicolons required.
    So I did use that little trick about matching the start and ending brackets and all 3 showed up but I did not...
  6. Replies
    15
    Views
    648

    "C" will always suck. @defragster -- I removed...

    "C" will always suck.

    @defragster -- I removed loop to see what would happen and it gives a long hash of words ending in "undefined reference to loop" even though the word loop does not appear in...
  7. Replies
    15
    Views
    648

    @KurtE OK, glad to know that the box does not...

    @KurtE OK, glad to know that the box does not mean something is wrong.
    Thank you everyone for helping me figure this out. It is so frustrating learning C. It is such a clumsy old language. I...
  8. Replies
    15
    Views
    648

    I also noticed that the "void loop()" is not...

    I also noticed that the "void loop()" is not even used in the example. Does that mean I can just eliminate it from the code or is it always required even if not used?
    Also, in the example code...
  9. Replies
    15
    Views
    648

    I know the Teensy is not the problem, it is the...

    I know the Teensy is not the problem, it is the software.
    If X is an integer constant does that mean I cannot assign a new value to it?
    I have already tried removing x from the CONST assignment...
  10. Replies
    15
    Views
    648

    Teensy 4.0 FOR statement not working

    I hate C. It gives me nothing but problems. Where is a nice straightforward command such as FOR X= 1 to 3 (BASIC).
    I have tried many variations of this program and nothing works PLUS the error...
  11. Replies
    24
    Views
    2,028

    @MarkT : Are you suggesting to integrate the...

    @MarkT : Are you suggesting to integrate the analog output of the APD and sample it at a slower rate, like maybe once every 200 ns (5 MHz rate)? I suppose that could work but the internal A/D has a...
  12. Replies
    24
    Views
    2,028

    PaulS, no that wouldn't work as I need to know...

    PaulS, no that wouldn't work as I need to know the amount of signal coming back. That is essential and important data. It would not be either on or off.
    I have a 20 Mega samples per second A/D Maxim...
  13. Replies
    24
    Views
    2,028

    I was thinking the A/D could do it because the...

    I was thinking the A/D could do it because the processor is 600 MHz and as of last January no one seemed to know the speed of the A/D.
    Maybe more info has come out since then. The manual for the ARM...
  14. Replies
    24
    Views
    2,028

    Thanks for informing me about the tricks in...

    Thanks for informing me about the tricks in getting max speed from the Teensy 4.
    I would be happy to explain the goals. I am trying to build a specialized LIDAR system with a range up to 1km.
    So...
  15. Replies
    24
    Views
    2,028

    More questions

    What is the purpose of the line?
    for (;;)
    Wouldn't the loop run forever without this for statement because it is already inside the "loop()" command?

    Also, I have a question about a command I...
  16. Replies
    24
    Views
    2,028

    @Frank B Thank you for the updated code. It...

    @Frank B Thank you for the updated code. It works. However the code I was using was an offical PRJC demo program so I don't know why the disable Interupts command was in there to start with.
    I have...
  17. Replies
    24
    Views
    2,028

    After giving up on the Teensy 4 for lack of fast...

    After giving up on the Teensy 4 for lack of fast AD conversions last January I dragged it out and started playing with it as my lidar timing generator. My notes say I had it creating 100 ns. pulses...
  18. Replies
    27
    Views
    2,552

    Thanks, there is some info on the ADC software...

    Thanks, there is some info on the ADC software there but nothing basic that tells me what "AUTO' is or what "-->" means or how the interupt system works in the T4.

    Anyway, I am stripping out all...
  19. Replies
    27
    Views
    2,552

    I have been trying to understand what is going on...

    I have been trying to understand what is going on in this conversionSpeed example but there are instructions in this code that are not in the Arduino code reference. Is there a link someone can...
  20. I am also interested in operating the ADC as fast...

    I am also interested in operating the ADC as fast as possible and then transferring about 20 to 30 readings to RAM so I will be watching this thread. Right now someone has posted that they think the...
  21. Replies
    27
    Views
    2,552

    Hi Pedvide, Thanks for pointing this example...

    Hi Pedvide,
    Thanks for pointing this example out. I have been running this example a few times now but it always fails to show a Time and Voltage near the end of the Continuous Mode. It also shows...
  22. Replies
    27
    Views
    2,552

    Kurt, Yes I did read a lot of that a couple of...

    Kurt, Yes I did read a lot of that a couple of days ago. I did not understand some of it. For example "There are two ways to do periodic conversions: using an IntervalTimer or using the PDB."
    What...
  23. Replies
    27
    Views
    2,552

    FYI -- It looks like the fastest the Teensy 4.0...

    FYI -- It looks like the fastest the Teensy 4.0 can get is about 1.1 microseconds for reading the A/D. This is using the 600 MHz clock speed, Averaging set to 1, Resolution to 10 bits, Conversion set...
  24. Replies
    27
    Views
    2,552

    Kurt, thanks! Easy and now everything works. A/D...

    Kurt, thanks! Easy and now everything works. A/D is reading accurately and reporting. Sorry for bothering you with basic beginner stuff. I have not played with the IDE much.
    Thanks to all. Now I can...
  25. Replies
    27
    Views
    2,552

    Still nothing printed on the screen. What do you...

    Still nothing printed on the screen. What do you mean by opening a serial monitor. How do I do that?
  26. Replies
    27
    Views
    2,552

    Thanks Kurt E. I deleted the 4 Ring Buffer files...

    Thanks Kurt E. I deleted the 4 Ring Buffer files in the ADC folder and now it compiles and seems to run the simple readAnalog example as modified by me to remove all the ADC1 stuff that I don't...
  27. Replies
    27
    Views
    2,552

    I attempted to find a way to delete the old...

    I attempted to find a way to delete the old TeensyDuino program first but it is not listed as a program in the Windows control panel. When I installed the new version it never asked me if I wanted to...
  28. Replies
    27
    Views
    2,552

    In an effort to read any analog signal I tried...

    In an effort to read any analog signal I tried the Arduino example for simple analogRead. (Examples>Basics>AnalogReadSerial) It compiled and loaded but nothing happened.
    It was supposed to print...
  29. Replies
    27
    Views
    2,552

    So no one proofed this example?

    So no one proofed this example?
  30. Replies
    27
    Views
    2,552

    OK, now loaded TD 1.50 but frustratingly, I am...

    OK, now loaded TD 1.50 but frustratingly, I am getting the same problem. I tried compiling ADC_TEST from Examples.
    The verbose error output is attached.18973
  31. Replies
    27
    Views
    2,552

    Thanks. I seem to have 1.48. Will download the...

    Thanks. I seem to have 1.48. Will download the 1.50 version tomorrow.
  32. Replies
    27
    Views
    2,552

    I don't see how to determine that.The menu items...

    I don't see how to determine that.The menu items in the small Teensyduino box are grayed out.
    I just downloaded it on December 30 and the install file is 65,080K bytes.
  33. Replies
    27
    Views
    2,552

    Teensy 4 not supported by ADC examples

    I am starting to work with the ADC so I went to Files > Examples > Teensy 4.0 examples > ADC > (pick any example file)
    None of these will compile. I only tried 3 but they all give an error that...
  34. Hello Marty Brown. I am in need of doing AD...

    Hello Marty Brown. I am in need of doing AD conversions of around 100 ns and then store the number in RAM within ~50 ns after that. Your code does not look much like Arduino code to my untrained eye...
  35. Replies
    16
    Views
    1,328

    Paul, that is what I see also: A 22ns overhead...

    Paul, that is what I see also: A 22ns overhead using this same code. I am shooting for 100 ns pulse width and I had to set the delay to 78 ns to achieve that. This is a bit annoying but if it remains...
  36. Replies
    16
    Views
    1,328

    NEVER MIND. Found out the cable I grabbed is a...

    NEVER MIND. Found out the cable I grabbed is a charge-only! Too many USB cables kicking around.
    I thought of what Paul wrote late last night.
  37. Replies
    16
    Views
    1,328

    Sadly, I am back to the same problem I started...

    Sadly, I am back to the same problem I started out with again. This time rebooting the computer is not bringing back the red LED. It never comes on and pressing the button only stops the blink...
  38. Replies
    16
    Views
    1,328

    Frank, why is it not more accurate?

    Frank, why is it not more accurate?
  39. Replies
    16
    Views
    1,328

    Thanks to both of you for the reply. And yes,...

    Thanks to both of you for the reply. And yes, Paul, that was a great explanation of the red LED. Perfect for a beginner like me.
    Defragster, I don't understand this line. Can you link to details of...
  40. Sorry for not replying sooner. MCS responded on...

    Sorry for not replying sooner. MCS responded on Jan 20th. The software will not work on the 4.0.
    Here is their reply:

    Hi Deane

    No, i am sorry. This teensy board has a complete different CPU...
  41. Replies
    16
    Views
    1,328

    OK, I got it working. Thanks for the code review...

    OK, I got it working. Thanks for the code review and other ideas. I tried loading the original Blink program but that gave me the same "No Teensy found..." message.
    So I figured something had to be...
  42. Replies
    16
    Views
    1,328

    Teensy 4.0 no longer found

    My first efforts: I modified the Blink program that comes with it to shorten the on time to 100ms.
    That worked OK so I added a few lines of code to send out a 1 microsecond pulse on another pin...
  43. I have put this question to the MCS customer...

    I have put this question to the MCS customer service department and will post their reply here.
  44. That should have been MCS (not MSC). Sorry.

    That should have been MCS (not MSC). Sorry.
  45. Will Teensy 4.0 work with MSC Bascom software?

    The 4.0 is new so it is not mentioned on the MSC website. I saw this software link in the Getting Started menu and it looks easy to use.
    Has anyone tried it with the 4.0 yet?

    DW
  46. Replies
    24
    Views
    2,028

    Thanks Paul. Looks like this should work well if...

    Thanks Paul. Looks like this should work well if it can cycle at 150 MHz (6 nanoseconds). 100 nanoseconds should be easy.
    Why did you say "this context possibly not"?
    I think I will buy one and...
  47. Replies
    24
    Views
    2,028

    Teensy 4.0 pulse output

    I am considering a project in which the processor controls a laser to turn it on for 100 nanoseconds. With the fast speed of this new Teensy 4 I am thinking this could work. Has anyone tried...
Results 1 to 47 of 47