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

Search:

Type: Posts; User: Arctic_Eddie

Page 1 of 5 1 2 3 4

Search: Search took 0.00 seconds.

  1. I normally run with 12-bit resolution capturing a...

    I normally run with 12-bit resolution capturing a synchronized pair in both the T4.1 sonar and T4.0 hearing aid projects. Just for kicks, I lowered the resolution to 10 and 8 bits and got the...
  2. Reading the registers for A2 and A3 shows a value...

    Reading the registers for A2 and A3 shows a value of 0x38 both before and after configuring the two ADCs in setup.


    ///// ADC0 ////
    adc->adc0->setAveraging( 4 ); // Set number...
  3. Thanks for the info. It did not solve my problem...

    Thanks for the info. It did not solve my problem but discovered that disabling a DAC write command reduced it considerably. Need to get the scope out and find the source. Might be the SPI operation...
  4. @JBeale I have a similar problem with a T4.0 and...

    @JBeale
    I have a similar problem with a T4.0 and T4.1. I get a sharp ringing spike repeating at 1KHz - 1.2KHz. How would I apply the IOMUXC code to A2, A3, and A9?
  5. Replies
    30
    Views
    866

    I'm working on a sonar project at the moment but...

    I'm working on a sonar project at the moment but will be back on the hearing aid shortly. It will not use the shield but instead have an MCP4922 chip for the dual channel DAC. That chip interfaces...
  6. Replies
    54
    Views
    3,442

    The problem has been very irregular. Sometimes a...

    The problem has been very irregular. Sometimes a change seems to work then several hours later, the problem returns. USB adapter speed does not seem to be the answer as it's the same on a Win7...
  7. Replies
    54
    Views
    3,442

    Just found that out as there's not difference in...

    Just found that out as there's not difference in output speed for settings from 1200 to 4M. If I set the rate in the device manager it keeps jumping back to 9600. Where is the rate set?
  8. The same Win7 box worked with a T3.6 several...

    The same Win7 box worked with a T3.6 several years ago at 4Mbps through an FTDI adapter. As long as I can get things to work at 19200 during development then I'm OK for now. When the Win7 box goes to...
  9. Replies
    54
    Views
    3,442

    More info. The T4x has the same problem in Win10...

    More info. The T4x has the same problem in Win10 directly or through a USB3.1 hub. However, dropping the serial baud from 115200 to 19200 seems to have fixed the problem. Also, setting CPU speed to...
  10. Several users have been seeing problems with the...

    Several users have been seeing problems with the T4x uploading and getting data from the serial monitor. However, when the board is on it's own, it seems to be OK. I just tried my T4.1 running the...
  11. Replies
    54
    Views
    3,442

    After a day of working with the "fix", I'm going...

    After a day of working with the "fix", I'm going back to the original version of usb.c. During the morning, the fix would give me some serial printout after an upload but generally not all of it. The...
  12. Replies
    54
    Views
    3,442

    Found and fixed. It helps as I now get a run and...

    Found and fixed. It helps as I now get a run and print after upload. The first time the print is chopped off before the end but the reset button on the board gives a complete print. This problem is...
  13. Replies
    54
    Views
    3,442

    Tried a USB3.1 hub and a USB2 active extender....

    Tried a USB3.1 hub and a USB2 active extender. Neither solved the problem and now the board will not work correctly at 396MHz.
  14. Replies
    54
    Views
    3,442

    I find numerous usb.c files but none contain the...

    I find numerous usb.c files but none contain the mentioned function, usb_transfer_status. Do you have a location for this file? What will happen if running a lower speed device with the file change...
  15. Replies
    54
    Views
    3,442

    The Win7 box is about 15 yrs old and already...

    The Win7 box is about 15 yrs old and already sluggish. Going to Win10 is not an option at this point. It will eventually run as dual boot with Mint Mate or LMDE. I see the same problem on a new Win10...
  16. Replies
    54
    Views
    3,442

    Hardware/software: Acer desktop, Win7, IDE...

    Hardware/software: Acer desktop, Win7, IDE 1.8.12, TD 1.52.

    You're right. With my T4x boards, I get all kinds of problems. Port not found, port busy, no upload, upload but no printout, partial...
  17. 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.
  18. 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...
  19. 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....
  20. 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
  21. 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...
  22. 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...
  23. 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...
  24. 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...
  25. Maybe the 15 sec rule applies.

    Maybe the 15 sec rule applies.
  26. 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.
  27. 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...
  28. 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...
  29. 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...
  30. 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...
  31. 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....
  32. 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,...
  33. Replies
    5
    Views
    251

    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...
  34. 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
  35. 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.
  36. 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...
  37. 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...
  38. 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...
  39. 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...
  40. 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...
  41. 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.
  42. 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...
  43. Replies
    30
    Views
    866

    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...
  44. Replies
    30
    Views
    866

    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...
  45. Replies
    30
    Views
    866

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

    Will this be compatible with the Adafruit board?

    https://www.adafruit.com/product/3678
  46. Replies
    30
    Views
    866

    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...
  47. Replies
    30
    Views
    866

    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...
  48. Replies
    30
    Views
    866

    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...
  49. Replies
    30
    Views
    866

    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...
  50. Replies
    30
    Views
    866

    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...
Results 1 to 50 of 210
Page 1 of 5 1 2 3 4