Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • KurtE's Avatar
    Today, 01:55 PM
    Hopefully someone can give you a more complete answer... I am guessing MAC? Which version OS? But if it were me, I would probably try: Uninstall the Arduino App, Download a fresh copy of Arduino. Then run...
    2 replies | 15 view(s)
  • KurtE's Avatar
    Today, 01:30 PM
    @defragster - which version of ILI9341_t3 did you try... The released one or the one I modified: https://github.com/KurtE/ILI9341_t3/tree/T4_Beta There is a current outstanding PR:...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    Today, 02:54 AM
    I updated the GraphicTest program for that branch to do like what was done in the Adafruit St7735 display library, and included both headers and put the definition for using the ST7789 as a comment and likewise it...
    8 replies | 81 view(s)
  • KurtE's Avatar
    Yesterday, 05:12 PM
    Sorry, maybe would help to know things like: Which optimized ILI9341 library you are using? ILI9341_t3? Also which display? This one? https://www.adafruit.com/product/3787 ST7789 based? Note: I mentioned in...
    8 replies | 81 view(s)
  • KurtE's Avatar
    Yesterday, 01:08 PM
    @mjs513 - glad it is working!
    240 replies | 5790 view(s)
  • KurtE's Avatar
    Yesterday, 01:06 PM
    @defragster - Adafruit... I have done some PR's in the past some end up in limbo for a long time. My guess with PR's associated with PJRC products, it probably catch their attention faster when the PR's are from...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-23-2019, 04:52 PM
    @PaulStoffregen @mjs513 and @defragster ... Adafruit_GFX - Put in fixes for BITBANG version for T4... Code is up in my github fork/branch: https://github.com/KurtE/Adafruit-GFX-Library/tree/T4_Beta There is...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-23-2019, 02:38 PM
    @mjs513 and @defragster (and others ) //Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_MOSI, TFT_CLK, TFT_RST, TFT_MISO); Wonder if it is trying to do BITBANG to do all of the outputs? I know in my...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-23-2019, 01:14 PM
    @defragster - ILI9163 - Is probably the one I ordered from Amazon/Ebay and ended up with the ST7735 boards instead. I think it was a case where the manufacturer might do several runs with several chips and it is...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-23-2019, 12:42 AM
    @defragster and @mjs513 - (Sorry - As I mentioned I purchased some of them by mistake and some of them as there was another issue recently for the 89...)... I just updated my Fork/Branch with header/source file for...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-22-2019, 06:39 PM
    I have the code compiling now, but need to figure out how to hook up the display. It appears to require +5v on it's VIN to work... Not sure how to get +5v with current breakout boards. I could probably unplug and...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-22-2019, 04:16 PM
    Hi @PaulStoffregen - As I mentioned back in the thread posting #3349 I have a working version of the Adafruit_GFX library in my fork/branch: https://github.com/KurtE/Adafruit-GFX-Library/tree/T4_Beta The one issue...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-22-2019, 01:23 PM
    @defragster @mjs513 ... st7735_t3: Originally I did not plan to buy some of these displays... I was working on different driver (a year or two ago) and purchased one that was supposed to be the other one on Amazon,...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-21-2019, 11:22 PM
    Thanks @defragster. I might need to see your whole program to see what is happening. Things like where is the array t defined? And where is n defined... Could it be just walking off the end of an array? ...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-21-2019, 09:56 PM
    Quick update: With T3.6 - As I mentioned in minor update to previous posting I tried:SPI1 (MOSI(0), SCK(32), DC(31), CS any digital pin) and it works... Since then I tried on SPI2 with: MOSI(44), SCK(46), CS(54),...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-21-2019, 08:13 PM
    st7735_t3 library update As I mentioned yesterday, I needed to first update Arduino GFX code, to compile on Teensy. Still not sure yet what is best/intended way to use PROGMEM on T4 with existing code... More in...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-20-2019, 08:23 PM
    @Paul - Things for the good explanation of all of those other test points... Plus how the boards are tested. The Card - Looks good enough to me. I like @defragsters comments but, I would not hold up shipping to...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-20-2019, 03:00 PM
    Adafruit_gfx, adafruit_ili9341, adafruit_st7735 and st7735_t3 None of these compile on T4... I did some changes to Adafruit_gfx - https://github.com/KurtE/Adafruit-GFX-Library/tree/T4_Beta That I was able to...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-19-2019, 06:41 PM
    Again not saying you should or should not try it. As I mentioned in theory it should work. Might need to tweak a library or two to make work... If that runs into problems, you can probably hook up some of them...
    14 replies | 267 view(s)
  • KurtE's Avatar
    06-19-2019, 02:53 PM
    ST7735_t3 - Since there was a forum question about multiple st7735 displays, I thought I would take a look to see if this library was updated to work with T4... It has not... Did not find any references to it except...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-19-2019, 02:03 PM
    @defragster, @mjs513 and ... - Still playing here, mainly with trying to get two PS3 controllers to work with each other... Running into some issues, that I need to fix. Like, the BTHID objects need to test that...
    680 replies | 15166 view(s)
  • KurtE's Avatar
    06-19-2019, 01:52 PM
    Maybe? Again I have not tried them... Hardware wise in theory can. That is you could potentially put all of them on the main SPI buss. Where you connect some of the same SPI pins to all of the displays: Like...
    14 replies | 267 view(s)
  • KurtE's Avatar
    06-18-2019, 04:57 PM
    Hi Mike: Do you have public Print? The message is showing: D:\Users\Merli\Documents\Arduino\libraries\Ra8876_Lite\src/Ra8876_Lite.h:143:7: note: because the following virtual functions are pure within...
    240 replies | 5790 view(s)
  • KurtE's Avatar
    06-18-2019, 03:08 PM
    Glad you have it working... And feel free to ask questions as they come up. That is why we often ask for information like wiring diagrams and/or photos. Often it is something we easily overlook... Things like no...
    6 replies | 132 view(s)
  • KurtE's Avatar
    06-18-2019, 02:11 PM
    You might look at the thread: https://forum.pjrc.com/threads/55821-USBHost_t36-USB-Mass-Storage-Driver-Experiments?p=203623&viewfull=1#post203623 We do have some USB storage devices working using the libraries...
    15 replies | 252 view(s)
  • KurtE's Avatar
    06-18-2019, 12:21 PM
    @defragster - Thanks, some of it is me, learning (sometimes slowly ;) ) as I go. So I am happy that I have at least some of the multiple devices working (limping) along... I still need to see about some of the message...
    680 replies | 15166 view(s)
  • KurtE's Avatar
    06-18-2019, 12:06 PM
    Let me know how it goes... I have tried running with several different USB to serial adapter types and have not seen this issue. But that does not imply that there is not an issue... I found one of the RPI0...
    11 replies | 241 view(s)
  • KurtE's Avatar
    06-18-2019, 12:05 AM
    It is a long shot, but you might try my WIP for bluetooth branch and see if by chance some of the stuff we fixed helps... https://github.com/KurtE/USBHost_t36/tree/WIP2-Bluetooth
    11 replies | 241 view(s)
  • KurtE's Avatar
    06-17-2019, 07:53 PM
    Not sure yet what it may or may not be. It could turn out there are some handles or the like we are not properly releasing or maybe releasing again... I will look through my RPI box and see if I have an RPI ready...
    11 replies | 241 view(s)
  • KurtE's Avatar
    06-17-2019, 04:45 PM
    Quick update (in case anyone wants to play along)... Currently I have a keyboard (Rii) and Mouse (Tecknet) that were already paired with dongle... Then used test app Mouse_KeyboardBT ... I have most of the debug...
    680 replies | 15166 view(s)
  • KurtE's Avatar
    06-17-2019, 03:15 PM
    Sounds like something that needs to be debugged. Is there an easy to setup RPI image somewhere that I can setup an RPI3 or 0, to try this out...
    11 replies | 241 view(s)
  • KurtE's Avatar
    06-17-2019, 01:22 PM
    FYI - I have been playing around some more trying to support multiple Bluetooth devices like a mouse and keyboard at the same time. This in between other distractions like: Life, health, T4, ... ;) I am making...
    680 replies | 15166 view(s)
  • KurtE's Avatar
    06-17-2019, 12:39 PM
    FYI - My virus detectors... Won't allow me to go to gofile.io... So did not look at your full sketches. You can include a zip file on the forum, by clicking the <go Advanced> button at bottom and then use manage...
    6 replies | 132 view(s)
  • KurtE's Avatar
    06-16-2019, 09:53 PM
    Sorry I am not sure what exactly you are asking. If I am understanding correctly, you somehow have an RPI that is connected to a Teensy, and you wish for the Teensy to plugged into another computer? and act like a...
    4 replies | 111 view(s)
  • KurtE's Avatar
    06-16-2019, 05:29 PM
    Hard for anyone to help you without any additional information. Like: What library is take2? Do you have a link for it? What example programs? Maybe include unless again they come directly from the take2 library...
    6 replies | 132 view(s)
  • KurtE's Avatar
    06-16-2019, 04:02 PM
    It has been awhile since I downloaded previous versions, but: Again not sure which platform you are using, by example windows, current download: https://www.pjrc.com/teensy/td_146/TeensyduinoInstall.exe So to try...
    33 replies | 797 view(s)
  • KurtE's Avatar
    06-16-2019, 02:14 PM
    Which version are you trying out? The version installed by Teensyduino? Which appears to match Paul's version: https://github.com/PaulStoffregen/Adafruit_RA8875 Which github says is something like 55 commits behind...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-16-2019, 01:48 PM
    @defragster - Thanks, with PWM it is pretty easy as the tables were already there, just needed to add 6 new items at the end. Most of the information for these table entries are in my excel document. and @others,...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-16-2019, 01:10 PM
    Sometimes hard to say without seeing more data. Some of the first steps I typically advise is to compile the usbhost_t3 library to output debug information. You can do that by editing USBHost_t36.h file and about...
    11 replies | 241 view(s)
  • KurtE's Avatar
    06-15-2019, 10:04 PM
    Interesting question is how best to handle libraries like these. Sumo toy has not logged in for something like 2 years. Also has not updated many of these for several more... Edit: And if by chance sumotoy(Max) is...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-15-2019, 04:05 PM
    If you are talking about: https://www.pjrc.com/teensy/techspecs.html The line: talking about I2C ports? An I2C port has two pins associated with it: SCL (clock) and SDA (data) Each of these ports can connect to...
    4 replies | 140 view(s)
  • KurtE's Avatar
    06-15-2019, 03:00 PM
    @mjs513 - Thanks, I knew they were, as they show up in my excel document: 34 SD_B0_03 2.15 Serial5(8) RTS SPI2(1) MISO PWM1_B1 IO-07 DATA1 35 SD_B0_02 3.14 Serial5(8) CTS SPI2(1) MOSI PWM1_A1 IO-06 DATA0...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-15-2019, 02:18 PM
    Fixed PWM pins for SDCards: https://github.com/PaulStoffregen/cores/pull/381 Tested with: void setup() { pinMode(13, OUTPUT); analogWriteFrequency(34, 100); analogWriteFrequency(35, 100); ...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-15-2019, 01:15 PM
    @PaullStoffregen and @others ... Again looking at backside of card... Reminds me that all of those SD card pins are PWM capable and looking at pwm.c the tables only go up to pin 33... Not sure what would happen...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-14-2019, 11:14 PM
    As mentioned the SPI library only supports master mode. But the chips do support slave mode. If you do a search on google like: teensy spi slave You will see several thread that hit, plus a few libraries: Like:...
    41 replies | 638 view(s)
  • KurtE's Avatar
    06-14-2019, 08:33 PM
    The ISR page you mentioned is for the older Teensy 2 which is also AVR based. Yes Teensy 3.x (and soon to be Teensy 4) also support Interrupts and have a set of interrupts... The SPCR, SPSR, SPDR objects that...
    41 replies | 638 view(s)
  • KurtE's Avatar
    06-14-2019, 02:51 PM
    The ribbon is installed pointing toward the USB input plug. He did a hard bend down of the cable and then it runs back under the T4, where he has a matching connector on breakout board the front (usb connector). It...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-14-2019, 02:44 PM
    @mjs513 - Thanks. I guess the real question is should HardwareSerial stuff try to use the same settings as pinMode would give by default. Or should it go to some "Fast" mode? @PaulStoffregen and all... This...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-14-2019, 02:49 AM
    OK, I updated the serial port code to enhance the internal tables (structures) to allow two RX and two TX pins... The ports default to using the first one defined... It appears to work. While testing this with my...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-13-2019, 07:32 PM
    Easier - Maybe - But should not take me much time, to update the code/tables to make it work. I will try to get that done in the next few days.
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-13-2019, 05:17 PM
    @marcmerlin - Many of us have been there, done that... (more or less) - I have seen magic smoke more than once... Example try plugging in 12v wall wart into an UP board who want's 5v... (Same connectors on both wall...
    49 replies | 12504 view(s)
  • KurtE's Avatar
    06-13-2019, 01:29 PM
    Thanks Paul, Will try that if trying to solder on new connector fails... Found some reasonably cheap ones up on Amazon, which should arrive tomorrow. I figured if that failed, (too much of the pads gone?), would...
    2 replies | 116 view(s)
  • KurtE's Avatar
    06-13-2019, 01:21 PM
    @PaulStoffregen - Back side of card. Probably need the warning like T3.6, that no pins are 5v tolerant.... Also I noted: you put in the Serial5 alternate Tx/Rx pins... I suppose I should probably implement that...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-13-2019, 01:03 PM
    Comments to some of the other comments.. ili9341_t3 - Does not compile... I made a version of it that will run on T4..... I have a version that does run on T4... In Pull Request:...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-13-2019, 12:50 PM
    I was going to suggest doing something else with PWM pins as well. First suggestion was to simply mark with P instead of PWM... Or maybe just a PWM color band right next to the digital pin marking... ...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-13-2019, 12:26 AM
    Sorry, I know this is off topic... But yesterday we purchased new deck furniture... And one part had some crushed leg ends... So I thought I would get out my older Printrbot Metal 3D printer and and tried to hook it...
    2 replies | 116 view(s)
  • KurtE's Avatar
    06-12-2019, 02:08 PM
    Adding empty inline functions for T3 might not be bad idea... Will probably need to document this pretty well, as I am not sure how many places this will hit. If it were just DMAMEM - than user had already...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-12-2019, 01:47 PM
    @PaulStoffregen - I probably should just look ;) But I know one of the issues before was if you did something like: DMAMEM uint8_t frame_buffer; ... memset (frame_buffer, 0, sizeof(frame_buffer); do DMA to...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-12-2019, 01:39 PM
    Did quick check with Serial repeater test app, and reenabled the call to availableForWrite and it runs!
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-11-2019, 11:59 AM
    Unless there has been a very recent update, Paul has only implemented USB serial...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-10-2019, 12:48 PM
    Sorry, I am not sure what you are asking? Would really help to actually have an idea of which library or libraries you are having issues with? The Arduino build process has a set of directories it looks for...
    3 replies | 126 view(s)
  • KurtE's Avatar
    06-09-2019, 11:41 PM
    Hi @wwatson - It has been awhile since we played with it, but Mike does have the driver: https://github.com/mjs513/ILI9488_t3 Which I believe I tested on SPI2 of the T4 (I think it was with the T4B1...) maybe should...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-09-2019, 04:47 PM
    You might do a search on the forum: like __throw_bad_alloc You will find postings like: https://forum.pjrc.com/threads/53358-Undefined-Compiler-Errors-help-can-t-figure-out-why?highlight=__throw_bad_alloc
    2 replies | 118 view(s)
  • KurtE's Avatar
    06-09-2019, 02:37 PM
    @all I thought I would look at the loop timing, with how much time is being used, in particular how much time is added by calling yield() and where the time is used and how to make quicker... Right now playing with...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-08-2019, 10:58 PM
    Sounds good - Mine shipped From Seed on 6/4, but update says that today: Depart from facility to service provider. (USPS) Not sure how long it will take.... I probably should do a parts list and make an order to...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-08-2019, 07:28 PM
    @mjs513 and... I would have probably missed it as well, except my T3.6 board uses SPI1 and I tried to compile the edited version of the simple client/server I previously updated to run on SPI1... Edit: Will...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-08-2019, 07:18 PM
    I thought I might take a quick look at some of the avr_emulation code for SPI that is not currently implemented. I hope it is fine, but I am finding that some of this code is using some of the functions like: void...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-08-2019, 05:11 PM
    Probably not an issue. As many of us read most/all messages coming in. And for example I have not tried to answer this one as I have never done anything with midi nor some of the other libraries, so figured I would...
    8 replies | 235 view(s)
  • KurtE's Avatar
    06-08-2019, 04:42 PM
    RadioHead - Appears to work for RFM95 However did not allow SPI1 and SPI2 to be used, so updated code to allow this: https://github.com/PaulStoffregen/RadioHead/pull/31 I have the simple Client Server code...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-08-2019, 01:14 PM
    @mjs513 and ... Not sure how much help I can be with some of the Analog things... But will give my $.02 worth of comments :D Hopefully someone who uses it more, can give hopefully give at least $.03 ...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-07-2019, 09:25 PM
    @PaulStoffregen @mjs513, @defragster... In the previous program I posted, that did: void serialEvent() { Serial.println("serialEvent called"); uint8_t buffer; uint8_t cb = min (min((int)sizeof(buffer),...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-07-2019, 08:49 PM
    No should not be related as they use completely different sets of code. That is Teensy3 boards use the code in the cores\teensy3 and T4 code uses cores\teensy4... Once I get this simple test program to work, I...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-07-2019, 07:37 PM
    SerialEvent(s) and main() loop call yield... I have been playing with it today and trying to get all the SerialEvent(x) calls to work. This includes updating the main loop to not do debug prints, plus have it...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-07-2019, 06:39 PM
    Yep - I keep going back to my Excel document... But a Card would be Nice... Although I still go to my T3.6 document at times than card as to get more precise information like which CS pin is what... More Alternate...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-07-2019, 05:39 PM
    Hi @mjs513 - looks like it should work. Currently don't have any hardware to easily test... I did not install any Pogo pins on 26/27 - I think I have some still around here somewhere... But on test boards, I don't...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-07-2019, 02:25 PM
    @mjs513... Wonder in changes: in pins_arduino.h that now have: #if defined(__IMXRT1052__) || defined(__IMXRT1062__) Should just be removed from #if... As I think this file is only used for 1052/1062... Also I...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-07-2019, 01:20 PM
    Note: Page 482 was from first version of the 1052 reference manual. I believe that this is now page: 2457 in the current 1062 manual. Edit: I may be also missing it, but I think the analog.c code does need some...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-07-2019, 12:54 PM
    Hi @defragster (and others) - As I mentioned I thought some of these items could be removed or replaced (reworded). That is, there is code in place that is about 10 or do from the bottom of list #6 is (I think...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-07-2019, 02:02 AM
    SPI - There are several items in that first list, that I think we can remove/replace... Things like: minimal code works SPI minimal code in beta3 SPISettings not used, clock fixed at 12.5 MHz, #428 SPI1 &...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-07-2019, 12:43 AM
    Again with many things like this, it might help if you posted Photos and/or actual wiring diagrams, so maybe someone will see something obvious. For example it has been a long time since I have used any of the...
    4 replies | 125 view(s)
  • KurtE's Avatar
    06-06-2019, 10:09 PM
    The first thing I would probably do, is to try using your SPISettings to see if they help. That is: I would add a call to: beginTransaction... Something like: SPI.beginTransaction(SPISettings(30000000, MSBFIRST,...
    4 replies | 125 view(s)
  • KurtE's Avatar
    06-06-2019, 09:34 PM
    @defragster - And of course if all else fails... Reboot!
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-06-2019, 08:23 PM
    FYI - I updated to new beta and it looked like it updated the firmware in both the new T4B2R as well as the T4B2 brownout... Note: T4B1 I already have sitting on shelf. So far I have only done a few tests. Like...
    3403 replies | 367475 view(s)
  • KurtE's Avatar
    06-06-2019, 01:25 PM
    Sorry, many of the things I mentioned in my previous posting and questions in your last posting are things that probably only you can answer as only you know what your goals are, the form of the data, and the desired...
    5 replies | 179 view(s)
  • KurtE's Avatar
    06-06-2019, 12:57 AM
    Actually it can do multiple devices at same time: Again don't know which Teensy you are using: Hopefully a 3.x? Also don't know how you have Nano connected to Teensy? Maybe a hardware Serial port? But if your...
    5 replies | 179 view(s)
More Activity
About KurtE

Basic Information

Statistics


Total Posts
Total Posts
4,716
Posts Per Day
2.37
Last Post
Some troubles after changing Hard Drive Today 01:55 PM
General Information
Last Activity
Today 05:39 PM
Join Date
01-12-2014