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

Search:

Type: Posts; User: Arctic_Eddie

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. I have this problem regularly with the T4 & T4.1....

    I have this problem regularly with the T4 & T4.1. It will work for hours then fail several times then OK. It happens on W7 and W10.
  2. Instead of using a pot for the voltage sample,...

    Instead of using a pot for the voltage sample, monitor a capacitor charging through a large value resistor. You can use a digital output pin as the source and put the code in loop() for repetitive...
  3. Unfortunately, I have little experience using DMA...

    Unfortunately, I have little experience using DMA or internal hardware register commands so can't help much there. There are several members on this forum that can steer you in the right direction....
  4. You can follow the progress of the T4.1 here. ...

    You can follow the progress of the T4.1 here.

    https://forum.pjrc.com/threads/60532-Teensy-4-1-Beta-Test?p=237530#post237530
  5. The T3.6 will probably handle your project...

    The T3.6 will probably handle your project nicely. Watch for updates as the T4.1 is due shortly. It has nearly all of the pins brought out to the board edge like the T3.6. You could develop your...
  6. That should work fine. If the math is float...

    That should work fine. If the math is float intensive then consider the T4 with the internal FPU. One thing I've found strange is that the ADC sync example does not work if you use A2 and A9 as...
  7. I would start by doing some timing tests to...

    I would start by doing some timing tests to determine how fast you can collect data. Doing captures sequentially will introduce phase errors that you need to know. Here's a sketch to see how fast you...
  8. I've had similar problems with my T4 on both Win7...

    I've had similar problems with my T4 on both Win7 and Win10. The device can work correctly for hours then not run or upload a new sketch. I see error messages similar to port not found, port not...
  9. Maybe the 15 sec rule applies.

    Maybe the 15 sec rule applies.
  10. I'm out of ideas at this point. KurtE's...

    I'm out of ideas at this point. KurtE's experience may help you now that you've gotten some response from W10 and the T3.5.
  11. Watch the device manager then plug in the T3.5....

    Watch the device manager then plug in the T3.5. If it shows up in any category then use the uninstall device button. Unplug the T3.5 and reboot. Start the device manager and try again. If W10 sees...
  12. Uninstalling a driver then rebooting gives the OS...

    Uninstalling a driver then rebooting gives the OS another chance to get it right. This scheme works in many cases of hardware problems. Do you have another Teensy to see if it's the OS or the device...
  13. That's the latest but you might install...

    That's the latest but you might install Teensyduino again. Maybe the driver did not install correctly. Do it without the T3.5 connected and reboot before trying the IDE again. Run the device manager...
  14. What version of Teensyduino are you using? The...

    What version of Teensyduino are you using? The driver for the Teensies is part of that package. Mine gave me strange messages when first plugged in but eventually worked. Paul will have a better...
  15. I had that problem initially when first connected...

    I had that problem initially when first connected to my W10 laptop. It seemed to be related to the selected port. Sometimes it was a human USB device then it was a serial device at a particular port....
  16. I see the same problem on W10 with my T4. It can...

    I see the same problem on W10 with my T4. It can be working fine for hours then suddenly won't communicate with the serial monitor. The error message says the port is not available. Sometimes,...
  17. Replies
    5
    Views
    222

    You can also create an H-bridge with...

    You can also create an H-bridge with opto-couplers. The ILQ74 has four sections with a max current of 60mA. With two Teensy output pins, you can get three states, in, out, and dormant. The circuitry...
  18. Excellent. I'll add it to my collection and try...

    Excellent. I'll add it to my collection and try it in the sonar project.

    Thanks
  19. I get high values near 2^32 but quite variable...

    I get high values near 2^32 but quite variable with each reset. Guess I can't make any use of that location.
  20. Thanks for the link. I don't quite understand it...

    Thanks for the link. I don't quite understand it all but it's encouraging that these kind of things can be done.

    How would one go about reading a DWT register at address 0xE0001004? I'm guessing a...
  21. I see that in the ARM reference in the previous...

    I see that in the ARM reference in the previous link that all the DWT values are 32-bits based on the address jump between each item, 4 bytes.

    And just for kicks, I wanted to prove to myself that...
  22. The cycle counter is probably crucial for...

    The cycle counter is probably crucial for internal operation so changing it's value might kill a program. I would expect the value at that address, 0xE0001004, to be related to micros().

    I guess...
  23. I knew it would not be feasible with 32-bits. A...

    I knew it would not be feasible with 32-bits. A 64-bit value counting 10 nsec would last ~5849 years. Is there any other variable size between 32 and 64 bits that can be handled? Would the...
  24. A Higher Resolution Micros() For The T4.0

    Is it possible or feasible to create another clock function for the T4 with higher resolution? It might be called Nanos() with a 10 nsec resolution. I envision something like F_CLK / 6 with overflow...
  25. If the ISR for each event does the same thing...

    If the ISR for each event does the same thing then OR the interrupting signals together with a pull-down through 1N4148 diodes to a single input.
  26. Use a separate interrupt routine for each event....

    Use a separate interrupt routine for each event. Create a global variable, isrID, and make each ISR set the variable to it's appropriate ID, 1-4. In loop(), check that byte in a switch statement and...
  27. Replies
    28
    Views
    636

    At this point, I've not made a decision either...

    At this point, I've not made a decision either way. I'll look into the audio tutorial some more and if I feel comfortable enough with the programming then I'll go that route.

    Thank you for all of...
  28. Replies
    28
    Views
    636

    I'm using the T4 dual ADC in sync mode to capture...

    I'm using the T4 dual ADC in sync mode to capture both channels in 6.3 usec(167Ks/s). Adding two 3-pole HP Bessel filters sequentially adds only 0.4 usec. There will be some software mixing of the...
  29. Replies
    28
    Views
    636

    Will this be compatible with the Adafruit board?...

    Will this be compatible with the Adafruit board?

    https://www.adafruit.com/product/3678
  30. Replies
    28
    Views
    636

    I looked at that and found a nice board from...

    I looked at that and found a nice board from Adafruit that would directly replace the function of a pair of MCP4725 boards. However, the library was written for the Due and other CPUs that show up as...
  31. Replies
    28
    Views
    636

    Problem Solved My Owon SDS-7102V scope found it...

    Problem Solved
    My Owon SDS-7102V scope found it all. It turns out that Wire1 commands do not work or they use different pins than A4 and A5. None on the top of the T4 were active. I changed...
  32. Replies
    28
    Views
    636

    It's now responding to speed changes by moving...

    It's now responding to speed changes by moving the Wire1.setClock() to just under the Wire1.begin() in the DAC library CPP file. However, I don't get the right output voltage and by calculation, it's...
  33. Replies
    28
    Views
    636

    When using Wire, I had no control over the speed....

    When using Wire, I had no control over the speed. When switching to Wire1, my loop time dropped from 384usec to 109usec for 20 passes. However, using Wire1.setClock() does not produce a change in...
  34. Replies
    28
    Views
    636

    I've discovered that the I2C bus is running at...

    I've discovered that the I2C bus is running at 100KHz no matter what I do to change it. The value of TWBR is 72 and it should be 12. I set it as my 400KHz default and the MCP4725 library does the...
  35. Replies
    6
    Views
    361

    Works fine now. I had it installed when I was...

    Works fine now. I had it installed when I was working on a project that used three Teensy boards and had to see and program all of them. Now it's just one board at a time so will uninstall Ty....
  36. Replies
    6
    Views
    361

    I've got the TyCommander installed so it...

    I've got the TyCommander installed so it apparently grabs the connection first. Next time I update Arduino I'll try it before installing Ty.
  37. Replies
    6
    Views
    361

    Use the serial plotter instead of the monitor to...

    Use the serial plotter instead of the monitor to get a visual picture of the waveform. Also, a sine wave does hover near it's min and max values compared to the central region, dV/dT ~ 0.

    PS...
  38. Replies
    28
    Views
    636

    The Adafruit library switches the bus to...

    The Adafruit library switches the bus to 400KHz(TWBR=12), writes the data, then switches back to the users default, usually 100KHz. I run mine at 400KHz and can bump it to 888KHz(TWBR=1) but the DAC...
  39. Replies
    28
    Views
    636

    Points well taken. I will likely end up with the...

    Points well taken. I will likely end up with the PJRC shield but want to finish my search for just a DAC breakout.

    My 3-pole Bessel IIR filter takes only a few usec to run both channels with the...
  40. Replies
    28
    Views
    636

    I found another chip, CS4344, which would work...

    I found another chip, CS4344, which would work but no breakout board or library yet. I can work with either I2S or SPI.
  41. Replies
    28
    Views
    636

    I was not going to use the audio board as I have...

    I was not going to use the audio board as I have most of the code already written. I just need an output DAC that is fast. The Adafruit I2C DAC breakout, MCP4725, runs at 400KHz but is way too slow....
  42. Replies
    28
    Views
    636

    I found this board, the Adafruit I2S Stereo...

    I found this board, the Adafruit I2S Stereo Decoder - UDA1334A Breakout which would also work except for one reason. The library is incompatible with the T3.2, T4.0, and probably others. Is there a...
  43. Replies
    28
    Views
    636

    I read some of it earlier today and will go over...

    I read some of it earlier today and will go over it again. I looked at Paul's tutorial and the design tool and have a diagram of what I think I need. Will order the audio shield today to have some...
  44. Replies
    28
    Views
    636

    Hearing aid using T4 and audio shield

    I've been working on a hearing aid project and initially used a T3.2 and two Adafruit MCP4725 DACs. The method was to use synchronized ADC stereo inputs, filter a sample of the input with a 3-pole...
  45. Replies
    45
    Views
    18,280

    Both install correctly now using beta2. Thanks...

    Both install correctly now using beta2. Thanks for the info.
  46. Replies
    45
    Views
    18,280

    The ZIP version of V1.8.3 works OK but...

    The ZIP version of V1.8.3 works OK but Teensyduino and TyTools won't install. The former won't enable the Next button after the folder is selected. The later says the folder is not valid. What seems...
  47. Replies
    27
    Views
    5,810

    Info: You can uninstall earlier versions in the...

    Info:
    You can uninstall earlier versions in the 8.x series and keep the latest, now 8.1.0. However, when uninstalling the first old version, you will lose the Start/Program entry, the desktop icon,...
  48. Replies
    27
    Views
    5,810

    I'm finding one oddity with the new Eagle. When...

    I'm finding one oddity with the new Eagle. When new versions are installed, there is a folder for each but only one start menu item for the latest near the top of the list. The old versions treated...
  49. Replies
    27
    Views
    5,810

    As linuxgeek suggests, we don't know what...

    As linuxgeek suggests, we don't know what Autodesk might do in the future with Eagle. I've kept Eagle 7.6 and 7.7 installed but also have the latest, 8.1.0. You can run either version but you will be...
  50. Replies
    6
    Views
    1,402

    I've tested two T32s tied together directly using...

    I've tested two T32s tied together directly using Serial1 and was able to get 4.5Mbps without using CTS/RTS. However, the 32 byte packets were sent where each T32 had nothing else to do but this...
Results 1 to 50 of 194
Page 1 of 4 1 2 3 4