Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • KurtE's Avatar
    Yesterday, 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...
    9 replies | 120 view(s)
  • KurtE's Avatar
    Yesterday, 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...
    3343 replies | 361154 view(s)
  • KurtE's Avatar
    Yesterday, 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 | 14588 view(s)
  • KurtE's Avatar
    Yesterday, 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...
    9 replies | 120 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...
    232 replies | 5349 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 | 86 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...
    4 replies | 108 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 | 14588 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 | 185 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 | 185 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 | 185 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 | 14588 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 | 185 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 | 14588 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 | 86 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 | 78 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 | 86 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...
    32 replies | 565 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...
    3343 replies | 361154 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,...
    3343 replies | 361154 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 | 185 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...
    3343 replies | 361154 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 | 108 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...
    3343 replies | 361154 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); ...
    3343 replies | 361154 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...
    3343 replies | 361154 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:...
    38 replies | 385 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...
    38 replies | 385 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...
    3343 replies | 361154 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...
    3343 replies | 361154 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...
    3343 replies | 361154 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.
    3343 replies | 361154 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 | 12286 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 | 86 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...
    3343 replies | 361154 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:...
    3343 replies | 361154 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... ...
    3343 replies | 361154 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 | 86 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...
    3343 replies | 361154 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...
    3343 replies | 361154 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!
    3343 replies | 361154 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...
    3343 replies | 361154 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 | 103 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...
    3343 replies | 361154 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 | 103 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...
    3343 replies | 361154 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...
    3343 replies | 361154 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...
    3343 replies | 361154 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...
    3343 replies | 361154 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 | 182 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...
    3343 replies | 361154 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 ...
    3343 replies | 361154 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),...
    3343 replies | 361154 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...
    3343 replies | 361154 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...
    3343 replies | 361154 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...
    3343 replies | 361154 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...
    3343 replies | 361154 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...
    3343 replies | 361154 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...
    3343 replies | 361154 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...
    3343 replies | 361154 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 &...
    3343 replies | 361154 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 | 104 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 | 104 view(s)
  • KurtE's Avatar
    06-06-2019, 09:34 PM
    @defragster - And of course if all else fails... Reboot!
    3343 replies | 361154 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...
    3343 replies | 361154 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 | 149 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 | 149 view(s)
  • KurtE's Avatar
    06-06-2019, 12:15 AM
    Hi and welcome, I guess the first question would be, is what do you mean by HID commands? That is a Teensy can output HID data like several different HID devices, such as keyboard, mouse, joystick... There are...
    5 replies | 149 view(s)
  • KurtE's Avatar
    06-05-2019, 05:50 PM
    Just an FYI - Saleae does have a discount for hobby people... https://blog.saleae.com/saleae-discounts/ Example you can get a logic 8 for: $199
    16 replies | 405 view(s)
  • KurtE's Avatar
    06-05-2019, 05:43 PM
    Note: many of these clones would actually direct their customers to use the Saleae software on their clones. Or in some cases they themselves copied down older versions of the Logic software that they would then...
    16 replies | 405 view(s)
  • KurtE's Avatar
    06-05-2019, 05:37 PM
    There is actually most of the information about what will be the new board contained within this thread: Examples: https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=200758&viewfull=1#post200758 Where...
    3343 replies | 361154 view(s)
  • KurtE's Avatar
    06-05-2019, 02:48 PM
    You should look at the first page, to get a summary of information. Also note in the first posting of this thread:
    3343 replies | 361154 view(s)
  • KurtE's Avatar
    06-05-2019, 01:18 PM
    Again always hard to answer questions like this without enough details, like seeing the code. Could be hardware incompatibility or software bug or... Example: I don't remember if some of the ST7735 boards have...
    6 replies | 133 view(s)
  • KurtE's Avatar
    06-05-2019, 12:39 PM
    Depending on what it is you wish to do, having a Logic Analyzer can help a lot in understanding things and debugging stuff. I too am a hobbyist, and I personally own a couple of the Saleae logic analyzers and they...
    16 replies | 405 view(s)
  • KurtE's Avatar
    06-05-2019, 12:16 PM
    Again not sure what it is you are needing to do to set the registers.... In my earlier case it was for the above, it was to setup to use half duplex to support Robotis Dynamixel servos. At the time I punted on T3.5/6...
    12 replies | 295 view(s)
  • KurtE's Avatar
    06-04-2019, 02:54 PM
    About the only place I know of is, ordering a breakout board from tall dog on Tindie: https://www.tindie.com/products/loglow/teensy-3536-breakout-revision-a-standard/ You can order an assembled with sockets board.... ...
    1 replies | 125 view(s)
  • KurtE's Avatar
    06-04-2019, 02:49 PM
    Nope, you did not miss something :D yes on T3.5 all of them are the same and T3.6 the 6th is the LPUART
    12 replies | 295 view(s)
  • KurtE's Avatar
    06-04-2019, 01:42 PM
    Maybe try the math: Arduino typical code for map: return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; return ) Y = map(127,0,127,3,0) return (127-0)*(0-3)/(127-0) + 3 = 127*-3/127 +3 = 0. ...
    6 replies | 196 view(s)
  • KurtE's Avatar
    06-04-2019, 01:20 PM
    EEPROM side note - probably not worth investigating... With eeprom_read_byte - it always scans the complete used part of the sector to find the last time a value was set: uint8_t eeprom_read_byte(const uint8_t...
    3343 replies | 361154 view(s)
  • KurtE's Avatar
    06-04-2019, 12:57 PM
    I am glad that fixed it! I was wondering, which is why in the last test run, I printed out LUT60-63 and that was going to be my next thing to try but got hit by another diversion... What made me wonder about this...
    3343 replies | 361154 view(s)
  • KurtE's Avatar
    06-03-2019, 08:09 PM
    @PaullStoffregen - Sounds good, again not sure if any of this data is interesting or not, but test program that I am trying right now is still like ones earlier: #include <EEPROM.h> void setup() { ...
    3343 replies | 361154 view(s)
  • KurtE's Avatar
    06-03-2019, 04:54 PM
    Not that it matters, but I don't think ESP32 is 5v tolerant either. For example if you look at the different places on net, like: https://learn.sparkfun.com/tutorials/esp32-thing-hookup-guide/hardware-overview It...
    49 replies | 12286 view(s)
  • KurtE's Avatar
    06-03-2019, 03:10 PM
    I don't see any obvious ways. It is interesting that with the i2c_t3 library the default sizes are 259 bytes and wire it is 32... Wonder if maybe we should make the default in wire maybe depend on which processor...
    2 replies | 87 view(s)
  • KurtE's Avatar
    06-03-2019, 01:38 PM
    I think you need someone who has retropie experience? Have you tried running it with some other type joystick? Do you still have it available? Again I am only guessing on some of this stuff. But if it were...
    15 replies | 195 view(s)
  • KurtE's Avatar
    06-03-2019, 12:39 PM
    @manitou @Paul - I reread that thread posting... Looks like a whole can of worms, and will probably need someone (Paul) who understands the inner workings to figure out what is different with the FlexSPI configuration...
    3343 replies | 361154 view(s)
  • KurtE's Avatar
    06-02-2019, 05:54 PM
    @mjs513 - So I moved around my digitalWriteFasts... static void flash_wait() { digitalWriteFast(8, HIGH); FLEXSPI_LUT60 = LUT0(CMD_SDR, PINS1, 0x05) | LUT1(READ_SDR, PINS1, 1); // 05 = read status FLEXSPI_LUT61...
    3343 replies | 361154 view(s)
  • KurtE's Avatar
    06-02-2019, 05:33 PM
    @mjs513 - Sometimes I see hang other times it just does not do the write... Will try to localize... Edit: Put digitalWriteFast calls at start and end of flash_wait and flash_write, when new program loaded it...
    3343 replies | 361154 view(s)
More Activity
About KurtE

Basic Information

Statistics


Total Posts
Total Posts
4,698
Posts Per Day
2.37
Last Post
8 x 1.44/1.8'' inch 128x128 128x160 TFT Full Color SPI LCD Display Modules over SPI Yesterday 06:41 PM
General Information
Last Activity
Today 04:09 AM
Join Date
01-12-2014