Search results

  1. Arctic_Eddie

    Teensyduino 1.60 Beta #2

    I'm also finding that whatever scheme you use, it's only necessary one time after first launch after each boot.
  2. Arctic_Eddie

    Teensyduino 1.60 Beta #2

    I'm finding that if I select a different board other than the T41, the index download finishes. Until then, compile/verify is locked out.
  3. Arctic_Eddie

    Teensyduino 1.60 Beta #2

    The fix appears to be removing the Teensy library and re-installing. However, the un-installer script hangs up so you have to kill the IDE after a few minutes, restart, then install the library. It's still V1.5.9 but it has a different name in the list. I rebooted the PC to be sure that was not...
  4. Arctic_Eddie

    Teensyduino 1.60 Beta #2

    I dumped two folders of nearly identical names. One was log data and the other was app data. It may have been the first time after boot that was bad. I won't be able to test that part until tomorrow. I have two remote links running to radio transmitters and can't lose the connection until...
  5. Arctic_Eddie

    Teensyduino 1.60 Beta #2

    I'm getting a lockup with V2.3.3 and Teensy 1.5.9. I have only the teensy line in preferences and everything worked before the IDE update. When first started, the board index message comes up and never finishes. It also blocks any attempt to verify and upload. No message appears in the output...
  6. Arctic_Eddie

    Problem of overriding touches in menus selection - TFT display

    I had the same problem using multiple row and column menus. The solution is to have a handler for each menu so that the same position can be used for several menus but only the correct one. Use the code at the top of the loop() statement as a model. You can also use only the loop() occurrence...
  7. Arctic_Eddie

    AD9833 Success With TFT-Touch And T4.1

    I tried the hardware version again and now it works. No idea why the first attempt was a failure in that the board would not respond. This code appears to be enough to get it running and eliminate the need for a modified AD9833.cpp file. I used the default settings for SPI1 from the T41 pinout...
  8. Arctic_Eddie

    Stop a while loop by pressing the touch display

    The loop will run until a touch is true. while( !ts.touched() ) { // Do something }
  9. Arctic_Eddie

    AD9833 Success With TFT-Touch And T4.1

    OK folks, help needed. After looking at the library again, it appears that a custom hardware SPI can be declared. The problem is that I don't see a way of telling it to use SPI1. Here's what I have that compiles but does not work. I would really like to eliminate library modifications. //...
  10. Arctic_Eddie

    AD9833 Success With TFT-Touch And T4.1

    Paul or Kurt are certainly better at explaining this but it's related the idle level of the various SPI signals and there direction of switching. The following link shows the difference between the four modes. In my case, the AD9833.begin() statement left these signals in a state that nothing...
  11. Arctic_Eddie

    AD9833 Success With TFT-Touch And T4.1

    If the AD9833 is the only object on the SPI bus or all others are using mode 2 then the hardware version in Rob Tillaart's V0.4.2 library works fine. If there are other objects likely in mode 0 then the software approach is needed using a different set of pins. In addition, the changes to the...
  12. Arctic_Eddie

    AD9833 Success With TFT-Touch And T4.1

    Unfortunately, the code is proprietary to the company for which it's written. I can describe in general terms anything you would like to know. At present, it's about 1200 lines but contains numerous serial.print statements as debug info. Most are commented out but remain for future work. In...
  13. Arctic_Eddie

    AD9833 Success With TFT-Touch And T4.1

    I have a curve tracer project that uses the T4.1, TFT-touch, and the AD9833 board. The library is the ILI9341-t3n. Everything worked OK until the AD9833 was added. Hardware SPI did not work as the board wanted mode 2. Also, neither of the AD9833 libraries would work. The software SPI was tried...
  14. Arctic_Eddie

    ILI9341_T4 and tgx color problems

    I was just looking at some of your .h, .cpp, and examples and will try it tomorrow. I'll take my _T4 version but use your library. The IDE verify will show me what to fix. I want to update the screen at 60Hz with frames captured at that and higher sampling rates. I don't have to see each cycle...
  15. Arctic_Eddie

    ILI9341_T4 and tgx color problems

    I used the ILI9341_t3 library from the Arduino IDE repository and do not have any of those problems. The image quality is slightly better and colors are exactly as you would expect. My reason for trying the ILI9341_T4 version was to get image buffering for fast scans in a curve tracer project...
  16. Arctic_Eddie

    ILI9341_T4 and tgx color problems

    I have a T4.1 and the 3.5" color touch display from PJRC. Using the ILI9341_t3 and XPT2046 libraries gives me the proper colors and touch action. I can use the color generator method and get what I expect. However, when using the ILI9341_T4 library, the colors come out wrong. An attempt to get...
  17. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    The Win Apps list shows only one copy of Arduino and it's the V2.1.1 I installed yesterday. All the Ard folders have yesterday's date. I searched C:\ and there is no preferences.txt. I also searched the registry and there are numerous references but all to operational aspects of the app and none...
  18. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    I thought I had wiped the old copy of 2.1.1 including all folders in Local and Roaming. I use RevoUninstaller which finds all the residue. The installation was for Everyone and created the Arduino15 folder again but there is no preferences.txt found, yet. I'll keep looking for one of the...
  19. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    I did a complete wipe and re-install and also cleared all arduino labeled items from the temp folder. However, the recent file list is still there. Hopefully, the old stuff will fall out the bottom.
  20. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    Wonder of wonders, everything works. The touch data is correct and the examples will probably work now. I wiped out the entire library folder and was only missing MMC56x3 which was easily fixed. Now I have to go through 1500 lines of code and remove all my work-arounds. About an hour ago, I...
  21. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    I've got it reloaded but find the recent list is still loaded with copies of old files. Cannot find a way of clearing the recent list. The file naming and date is not consistent.
  22. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    The IDE is doing really weird things now. The compiler is telling me I have repeated instances??? of the declaration of objects, or words to that effect. When load a sketch I get a copy of another version. I'm now wiping Arduino entirely from the PC and starting over.
  23. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    This is getting too weird. I just realized that I have V1.8.19 here on my laptop. I copied the test code over, updated the libraries, compiled and uploaded, and it fails even under the situation that works on V2.1.1. I'm at a loss now. Maybe I have two displays from a bad batch. I'll build a...
  24. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    I'm also getting numerous errors about missing functions involving the serial monitor. I have not found all the missing parts yet so can't go any further. This problem may very well be the IDE V2.1.1. I have V1.8.19??? at my other house. I'll send a copy of the test sketch over there and try on...
  25. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    Here's the first attempt to compile. I see a lot of these font errors so use whatever is available. FQBN: teensy:avr:teensy40:opt=o1std Using board 'teensy40' from platform in folder: C:\Users\yukon\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1 Using core 'teensy4' from platform...
  26. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    I've got one T4.0 and the new TFT so will start wiring it up tomorrow on a separate proto board. Will post the results when tested. I see you're including the t3 library but call for a T4.x. I think the IDE will flag that as not allowed. I'm using V2.1.1. Thanks for the help.
  27. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    Just tried your version but no effect, problem still there. Can you post the code for your RST usage? My attempt just left the screen white. Maybe Paul can test one of the new displays from stock in case there's a bad batch. My two were received in the last few weeks.
  28. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    Another test. I commented out two lines within Setup() in my project sketch that write something to the screen. The data is now correct until I touch a location that would be a button. Anything written to the screen thereafter triggers the X-Y axis interchange and the inverted pressure number. I...
  29. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    I had removed that line from my project sketch but it only eliminated some compiler messages. It did not affect the problem. I just took it out of the test sketch but there is no change. I did notice that anything on the screen remains if the next upload does not purposely change it. As long as...
  30. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    Update: I have finally discovered the trigger for the problem but not the solution. My sketch has been trimmed down to the bare minimum and in the process, the trigger was discovered. The hardware is a T3.2, the 3.2" display from PJRC, and uses the latest ILI9341_t3 and XPT2046 libraries in IDE...
  31. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    My pin connections were taken from the PJRC product page where RST is pulled up to 3V3. A floating input is what crossed my mind initially. Searching for info on forums found that others have seen this same pressure reading problem. Even if there is a design/manufacturing problem in the...
  32. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    Eliminating the GFX item did stop the font error messages but had no effect on the problem. To see the problem, you need to tap on the upper-right and lower-left. The two corners you used will be correct for either axis orientation. When you tap the upper-right, you will see a max Y and min X...
  33. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    I was able to try the sketch on two other systems. The first was an Acer desktop running Win7 and Ard-1.8.17 and the second was an Acer laptop running Win10 and Ard-1.8.19. On both systems, the problem still remains. The X and Y axes are interchanged and pressure readis inverted. I can only...
  34. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    That's exactly what I do to fix the interchange for rotation=3. The rotations are correct until you start the TFT. Individual tests for the the display components are correct and only the combination fails.
  35. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    I ran all the tests again. The XPK2046 touchtest is correct using rotation = 3. The pressure numbers range from around 400 up to 2200 and the axis orientation is correct. The ILI9341 graphic test is also correct with rotation = 1. The text is correct as I added a rotation message to the serial...
  36. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    Here's working example of the problem using pieces pulled from my project. You can watch the raw ts-pt data on the serial monitor continuously. When you tap the screen, you will see the point data on the TFT. Note the axis reversal in ts-pt but corrected in tft-dpt. /* Created by Arctic_Eddie...
  37. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    KurtE: I tried both PUs and setting the pins as output high separately, together, and before the x.begin() lines but the problem did not change. The persistence of the high pressure value after pen release then a sudden drop to normal does suggest a missing bleeder resistor in the TS circuit...
  38. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    I've been watching the data for touch values and see a particular pattern. On touch, the pressure value is in the 3000 range and remains as long as the pen is touching the screen. On release, the value goes up to 4093 and remains there for several minutes. The touched() function continues to...
  39. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    I'm watching the pt data on the serial monitor in the loop but outside the touch handler. When the board first starts, all values are zero. When you tap the screen, pressure jumps to 4093 with X and Y showing values. That data remains for several minutes then abruptly drops back to all zeros. If...
  40. Arctic_Eddie

    ILI9341 And XPT2046 Not Working Together

    Last week, I received the 3.2" display from PJRC. I have it running on a T3.2. I can run the examples for the display and touch pad individually and get the right numbers for a touch event using rotation 1 and 3 respectively. However, if I run both in my sketch, the pressure value is stuck at...
  41. Arctic_Eddie

    Adafruit ILI9341 on T32

    I ordered the display and SD card reader from PJRC yesterday. I have to use a separate card reader for physical access reasons. The two suggested libraries are already in the #include list with some of the code added. I'm limited right now as no hardware is attached so would only get a lot of...
  42. Arctic_Eddie

    Adafruit ILI9341 on T32

    Will the ILI9341_t3 lib also work with the T40. Also, what library is best for the touch screen? PS I'm running into too many compiling conflicts with the T40 and libraries. Since I don't need anything fancy or fast, I'll stay with the T32 as I have enough to make four meters.
  43. Arctic_Eddie

    Adafruit ILI9341 on T32

    Thank you for the info. I just ordered the display and SD card reader. I was digging through my box of parts and came across another board. It would not load the program, upload port not specified. I pulled the board off the proto and it turned out to be a T40 so will try that one instead. I've...
  44. Arctic_Eddie

    Adafruit ILI9341 on T32

    Thank you so much. That's what i was hoping. I want to use an old idea of having on-screen menu buttons down both sides and data display in the middle area. I'll add the SD card interface from the store to support a logging feature. My device will be a quad field detector as it will include the...
  45. Arctic_Eddie

    Adafruit ILI9341 on T32

    I'm working on a project to build a trifield radiation detector and presently use a nano board and a 1.8" 128x64 display. This is temporary to get the code working. Most of it is done without any sensors attached. I can see now that I will run out of memory space on the nano. I have used the...
  46. Arctic_Eddie

    Dynamixel Support (bioloid libraries) on Teensy processors...

    Solution I had this problem about 10 years ago with MX-64 servos on a camera stabilizing platform using a Mega2560. The problem arises if the TX and RX pins are tied together. It transmits OK but the TX pin holds the line high so the returning message cannot pull it low. You can connect the...
  47. Arctic_Eddie

    "Blind spots" when sampling analog signal with Teensy 4.0

    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 appropriate values each time using the same input signal. However, trying 14 and 16 bit resolutions gave...
  48. Arctic_Eddie

    "Blind spots" when sampling analog signal with Teensy 4.0

    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 of averages adc->adc0->setResolution( 12 ); // Set bits of resolution // Change the...
  49. Arctic_Eddie

    "Blind spots" when sampling analog signal with Teensy 4.0

    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 to the DAC running at 20MHz. Does not make sense as the DAC write is running at 40KHz but the...
  50. Arctic_Eddie

    "Blind spots" when sampling analog signal with Teensy 4.0

    @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?
Back
Top