Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • Deane's Avatar
    02-28-2021, 10:40 PM
    @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.
    11 replies | 691 view(s)
  • Deane's Avatar
    02-28-2021, 09:59 PM
    @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 of these on the card?...
    11 replies | 691 view(s)
  • Deane's Avatar
    02-28-2021, 05:51 PM
    @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 speed? Is it 1/600...
    5 replies | 134 view(s)
  • Deane's Avatar
    02-27-2021, 09:05 PM
    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 difficult to work with and...
    5 replies | 134 view(s)
  • Deane's Avatar
    01-24-2021, 03:55 AM
    @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 realize, but should...
    15 replies | 439 view(s)
  • Deane's Avatar
    01-24-2021, 01:27 AM
    "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 my code. So I put...
    15 replies | 439 view(s)
  • Deane's Avatar
    01-24-2021, 12:57 AM
    @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 suppose Arduino used it...
    15 replies | 439 view(s)
  • Deane's Avatar
    01-24-2021, 12:44 AM
    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 there is no ending...
    15 replies | 439 view(s)
  • Deane's Avatar
    01-24-2021, 12:30 AM
    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 and putting it under...
    15 replies | 439 view(s)
  • Deane's Avatar
    01-23-2021, 11:04 PM
    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 description means...
    15 replies | 439 view(s)
  • Deane's Avatar
    01-21-2021, 11:33 PM
    @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 1 MHz sample rate...
    24 replies | 1575 view(s)
  • Deane's Avatar
    01-19-2021, 10:40 PM
    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 1425 but there are...
    24 replies | 1575 view(s)
  • Deane's Avatar
    01-19-2021, 05:42 PM
    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 chip is over 1000...
    24 replies | 1575 view(s)
  • Deane's Avatar
    01-19-2021, 04:37 PM
    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 the timing would look...
    24 replies | 1575 view(s)
  • Deane's Avatar
    01-19-2021, 03:28 PM
    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 have never seen a...
    24 replies | 1575 view(s)
  • Deane's Avatar
    01-19-2021, 01:05 AM
    @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 a lot to work...
    24 replies | 1575 view(s)
  • Deane's Avatar
    01-18-2021, 03:58 AM
    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 but when I run the...
    24 replies | 1575 view(s)
No More Results
About Deane

Basic Information

Statistics


Total Posts
Total Posts
47
Posts Per Day
0.11
Last Post
Teensy 4.0 PORT manipulation to read/write data to multiple pins 02-28-2021 10:40 PM
General Information
Last Activity
03-02-2021 01:47 PM
Join Date
12-27-2019