Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • mjs513's Avatar
    Yesterday, 11:42 PM
    Oops -- heres the attachment. Do you have an example sketch that I can use as reference for the calls to library? Just curious. Ok sounds good - going forward i will push it up there.
    23 replies | 428 view(s)
  • mjs513's Avatar
    Yesterday, 07:28 PM
    Unfortunately there is not an exact mirror. To give you an idea check the driver for betaflight: https://github.com/betaflight/betafl...f4135c04afe3fd. It implements both ways.
    23 replies | 428 view(s)
  • mjs513's Avatar
    Yesterday, 07:26 PM
    @gotty101 - glad you got it working - looks good in the photos.
    263 replies | 6168 view(s)
  • mjs513's Avatar
    Yesterday, 05:29 PM
    @PaulStoffregen - Great explanation ! You can see some of what Paul is talking about if you look at the flexspi_ip_read, flexsp_ip_write and flexspi_ip_command functions in the sketch. Right now at least not getting...
    23 replies | 428 view(s)
  • mjs513's Avatar
    Yesterday, 11:01 AM
    @PaulStoffregen Thanks for getting back to me - know you are busier than a one-armed paper hanger right now. Gave me a lot to think about. Now to do some more reading and then back to playing - maybe I will have...
    23 replies | 428 view(s)
  • mjs513's Avatar
    Yesterday, 01:56 AM
    Ok playing around some more but think I am stuck on LUTs again. So anyone that is a LUT expert wondering if you all could help with a few things. In going through the existing code for PSRAM and FLASH I see...
    23 replies | 428 view(s)
  • mjs513's Avatar
    07-04-2020, 04:17 PM
    @gotty101 You may have to change the display timing settings in the registers.h file. Or just a quick look at your lib looks like may be something with vsynch or vsynch functions that i dont see in our lib. I ...
    263 replies | 6168 view(s)
  • mjs513's Avatar
    07-04-2020, 01:32 PM
    @KurtE and @Manu As far as I can see both libs are in sync. The master in my fork was updated with all the changes in the branch where @KurtE and I did all the updates. @KurtE thanks for the compliment but you...
    263 replies | 6168 view(s)
  • mjs513's Avatar
    07-03-2020, 07:57 PM
    Way from any expert here but from what I read and have reviewed the answer is no LUTs are used with regular Serial. That one lib I referenced lets you do either/or.
    23 replies | 428 view(s)
  • mjs513's Avatar
    07-03-2020, 07:55 PM
    Think that is one of the things we never got around too was checking all the examples sketches to see if they still worked. The lib was kind of overhauled. All the memory stuff was done by @morganS. Same thing for...
    263 replies | 6168 view(s)
  • mjs513's Avatar
    07-03-2020, 07:03 PM
    Ok it lives after a successful operation :) and some playing with LUTs, Raw Dump: Begin Init Status before Reset: * FLEXSPI2_RFDR0=00000000 Status 1: 00 Binary: 0 RESET ISSUED
    23 replies | 428 view(s)
  • mjs513's Avatar
    07-02-2020, 04:13 PM
    Quick status. Not sure I did this right, probably not or my chip is not on right :) Here is the start of using FLEXSPI with the NAND chip where the FLASH goes: #define LUT0(opcode, pads, operand)...
    23 replies | 428 view(s)
  • mjs513's Avatar
    06-30-2020, 03:56 PM
    @ecurtz Thanks for posting so I can at least do a verification that i did the soldering correct. Will also help when I try to use FLEXSPI :)
    23 replies | 428 view(s)
  • mjs513's Avatar
    06-30-2020, 02:45 PM
    Just by way of update and warning. Got my NAND chips from Digikey and just soldered up one to a T4.1. Soldering that chip is not easy, at least for me, it was a real challenge to get everything line up right. Lots...
    23 replies | 428 view(s)
  • mjs513's Avatar
    06-30-2020, 02:42 PM
    @KurtE Sorry was busy soldering up a couple more T4.1's. Was the hack we put for drawing from SD Card was in the sketch itself - we used drawRect for the scanline?
    47 replies | 2212 view(s)
  • mjs513's Avatar
    06-30-2020, 12:21 AM
    Just thought you should know. Couldn't find much on it.
    770 replies | 25573 view(s)
  • mjs513's Avatar
    06-29-2020, 10:16 PM
    Could very well be looking for a specific command. Someone identified it as "The dongle identifies as VID_0BDA&PID_8771" Someone else said its a "The adapter has a realtek rtl8761a". Probably start there. @KurtE will...
    770 replies | 25573 view(s)
  • mjs513's Avatar
    06-29-2020, 10:09 PM
    Received my 7in RA8875 display and hooked it up. Ran the ManyGauge example sketch with a T4.0 at 600Mhz without issue. Also ran benchmark.ino and FontTest4 with no problem at default SPI clock for the display. ...
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-29-2020, 08:12 PM
    Going to be interesting. Just reading the reviews and a few people complaint about it not pairing with the PS4 joystick. The very last review in the list was interesting. Seems you have to use there drivers otherwise...
    770 replies | 25573 view(s)
  • mjs513's Avatar
    06-29-2020, 07:57 PM
    Could be the dongle is ble?
    770 replies | 25573 view(s)
  • mjs513's Avatar
    06-29-2020, 05:02 PM
    The Rii keyboard/mouse may need to be paired with the keyboard object - remember that on my keyboard/mouse Rii i had to type "0000" on the keyboard then it would pair - man memory is getting tougher :) Think the new...
    770 replies | 25573 view(s)
  • mjs513's Avatar
    06-29-2020, 12:06 PM
    A simple solution to not checking the json is to go to "File => Preferences" and un-check the box that says "Check for updates on startup". That should prevent it from going to the internet to check the JSON.
    30 replies | 1162 view(s)
  • mjs513's Avatar
    06-29-2020, 12:01 PM
    @defragster Good Morning: May be the dongle itself. Reading the debug looks like it recognizes the dongle: *** Device Bluet bda:8771 - connected *** manufacturer: Realtek product: Bluetooth Radio Serial:...
    770 replies | 25573 view(s)
  • mjs513's Avatar
    06-28-2020, 12:45 PM
    mjs513 replied to a thread ILI9341 Speedup in General Discussion
    @KurtE implemented getTextBounds as well as using GFX fonts into his ILI9341_t3n library as well as having frame buffering support. Any potential of using that library in teensyduino instead of the ILI9341 library. If...
    8 replies | 439 view(s)
  • mjs513's Avatar
    06-27-2020, 10:16 PM
    mjs513 replied to a thread uNav INS in General Discussion
    Maybe this will make it a bit clearer, added some notes along the test curve:
    708 replies | 147136 view(s)
  • mjs513's Avatar
    06-27-2020, 09:56 PM
    Just saw b3 was released, right on schedule :) Noticed Adafruit GFX was not auto installed with Teensyduino so remember to install it from library manager. It will auto install Adafruit BusIO as well which it now...
    30 replies | 1162 view(s)
  • mjs513's Avatar
    06-27-2020, 05:24 PM
    @ftrias and @defragster Ok got it working. Just had the wrong file in the hardware/tools. Wasn't expecting another a GDB cmd window to pop open either, probably should read the readme better.
    70 replies | 1471 view(s)
  • mjs513's Avatar
    06-27-2020, 04:15 PM
    @ftrias Sorry for the delay in responding - keep getting sidetracked. Anyway I followed these instructions in the readme: Just for clarity the teensy_debug file I copy to 'hardware/tools' is teensy_debug.py or...
    70 replies | 1471 view(s)
  • mjs513's Avatar
    06-27-2020, 04:02 PM
    @ecurtz Thanks for starting this thread, kept meaning too but kept getting side tracked with other things :) Anyway @defragster posted a NXP Community question on using NAND: FlexSpi NOR and NAND Flash...
    23 replies | 428 view(s)
  • mjs513's Avatar
    06-27-2020, 02:49 PM
    @ftrias Ok since I also install via the zip file, so I ran the following from the command prompt ffter I downloaded and put all files in the Arduino Libraries folder.: teensy_debug -i=f:\Arduino-1.8.13 But I keep...
    70 replies | 1471 view(s)
  • mjs513's Avatar
    06-27-2020, 02:41 PM
    @gotty101 Ok lets start at the beginning. 1. You need to reinstall the RA8876 library from github: https://github.com/mjs513/Ra8876LiteTeensy. Then delete the RA8876Lite that you installed for Due. The two...
    263 replies | 6168 view(s)
  • mjs513's Avatar
    06-27-2020, 01:09 PM
    Thanks - missed the updates to MTP_T4 :) See the logger example now.
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-27-2020, 11:23 AM
    Thanks @mborgerson. Wouldn't be the first time I edited the some of the core files :) Oh if I can ask you one more question - can this be used with a T4.0 using an external card reader? Besides the SDConfig...
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-27-2020, 12:58 AM
    mjs513 replied to a thread uNav INS in General Discussion
    @brtaylor Well finally got the whole test bed set up with a simple logger and a button to end logging and close the file. Plot is a bit confusing but put a little plot of the lat/long from google maps. Basically...
    708 replies | 147136 view(s)
  • mjs513's Avatar
    06-26-2020, 10:03 PM
    Thank you for the updated zip. PS. I noticed that you had a custom MTP Responder Library for you logger when I was going through it. Like how you used the pointer for the file system instead of the default. Didn't...
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-26-2020, 09:55 PM
    Glad that worked but not sure why still the problem with i2c. Guess i will be buying for testing.
    6 replies | 147 view(s)
  • mjs513's Avatar
    06-26-2020, 08:31 PM
    Are you using the latest IDE/TD (1.83 and 1.53beta2)? At one point there was alot of work done to prove i2c comm? One of the things i did to debug I2C as a test was to put some delays after Wire.send etc, something...
    6 replies | 147 view(s)
  • mjs513's Avatar
    06-26-2020, 08:18 PM
    Just a glance at the library it seems all its doing is sending bytes through I2C using Wire which is pins 18/19. Would suggest that you leave the CPU clock at 600Mhz and edit the .cpp file to put a...
    6 replies | 147 view(s)
  • mjs513's Avatar
    06-26-2020, 02:11 PM
    @KurtE Very true. The only other place that I see the use of QuadTimers is when you do AnalogWriteFrequency: void analogWriteFrequency(uint8_t pin, float frequency) { const struct pwm_pin_info_struct *info; if...
    10 replies | 206 view(s)
  • mjs513's Avatar
    06-26-2020, 11:05 AM
    @janbbeck In the Teensy 4 core you will a file called startup.c, in there you will see that it calls pwm_init (which is in pwm.c) when the T4.x starts up. To save some time here is what pwm_init and quadtimer_init :...
    10 replies | 206 view(s)
  • mjs513's Avatar
    06-25-2020, 08:58 PM
    Very cool indeed. Oxygen and kerosene, reminds me of Goddard's first rocket, Liquid Oxygen and gasoline. Congratulations! Not sure if you have seen this guys efforts but its fun too: https://bps.space/about/
    2 replies | 176 view(s)
  • mjs513's Avatar
    06-25-2020, 05:52 PM
    Probably should start a new thread for NAND memory. as for MTP change = that mode wasn't put into the 1.53 core so we have to edit it each time.
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-25-2020, 01:22 PM
    @PaulStoffregen Was just using MTP responder with T4.0 and remembered an issue we were have with using MTP above 450 Mhz. Basically above 450Mhz MTP responder would not work. The fix was relatively easy but took a...
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-25-2020, 12:17 PM
    @PaulStoffregen Thanks for the info Paul. Website updates and documentation have to be first as the site does need some updating. That's going to be a job and a half. When you dangle little tidbits I get...
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-25-2020, 11:20 AM
    Good Morning - sorry i missed this last night. Sounds like a plan. Know its early but any thoughts on which NAND chips you are looking at or what FLASH Chips yet or should I just be patient. Think i know the...
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-24-2020, 11:50 PM
    @PaulStoffregen - are you playing on pulling in The spiff library. If so be careful which branch. If you want I can pull it into a separate repository.
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-24-2020, 09:37 PM
    SPIFFS are not set up for PSRAM, only for FLASH, never tested with 2 FLASH Chips though. I would be reluctant to use PSRAM for logging data though, if you were to loose power you would loose whatever data you saved. ...
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-24-2020, 08:25 PM
    @mborgerson - @defragster Just as a test I used the SDFat-beta BufferedPrint example and used it to log the data to the SD Card on SPI and it worked without a problem. So question is what really needs to be...
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-24-2020, 06:33 PM
    Makes sense for an on demand application to me. The issue I am having may be associated that I am trying to use an external card reader on SPI and SDIO.
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-24-2020, 04:56 PM
    I did make a couple of changes but right now its hanging on File open using an external Card reader on a T4.0 bool DataLogger::OpenDataFile(const char *filename) { Serial.print("Opening FIle ");...
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-24-2020, 04:24 PM
    @mborgerson Believe me I say I understand your fundamental rules. Been there and done that. In some cases though you need to process the data real-time so say an autonomous vehicle can make decisions on obstacles...
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-24-2020, 12:13 PM
    @mborgerson - Hope you enjoyed your camping trip and got some good data out of it :) Thanks for posting the additional examples. I have been using a modified Bolderflight GPS by Chirs O. Actually lets you set some...
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-23-2020, 07:23 PM
    Oops, my bad that version didn;t have the datalogger in it = my bad . sorry
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-23-2020, 07:09 PM
    I attached it in post #56 but here is the latest i am working with. You know you can just hard code the GPS lat, long etc instead of attaching a GPS.
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-23-2020, 07:01 PM
    @defragster Seems to hanging on this line: cptr((void*)collectPtr); // call data collection function in datalogger::TimeChore
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-23-2020, 06:13 PM
    @defragster -- seems to hang as soon as it trys to write the first pack. May have to do something else
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-23-2020, 03:27 PM
    @KurtE The only things that don't seem to work are Rumble and LEDs? Can't seem to break the code on that.
    770 replies | 25573 view(s)
  • mjs513's Avatar
    06-23-2020, 02:30 PM
    @KurtE Once I commented the println's in the rx_data section (right at the beginning), looks like its working without any changes necessary to the structure. Bottom line: looks like you got it resolved. Give it...
    770 replies | 25573 view(s)
  • mjs513's Avatar
    06-23-2020, 02:00 PM
    Ethernet both work. The NativeEthernet library does require an additional library to be installed. Its dependent on the FNET library. Seems relatively easy to work with. Used it for the temperature measurements with...
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-23-2020, 01:43 PM
    Yeah but seem to keep getting distracted with other fun stuff for some reason :)
    770 replies | 25573 view(s)
  • mjs513's Avatar
    06-23-2020, 01:18 PM
    @KurtE - @PaulStoffregen Merge Completed! No need for warning in the file - @KurtE removed references to extMem_t4 as well. Thanks Kurt
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-23-2020, 01:06 PM
    @KurtE - @Paul Just did the same thing and getting the same errors. Could have sworn we fixed those errors a while ago. Wil wait for the PR
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-23-2020, 12:52 PM
    Nice Paul. Mine is a bit more complicated since I set it up to be multi-purpose for all the displays we play with: But sometimes simple is better, i tend to get carried away I liked your little wired boards that...
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-23-2020, 12:45 PM
    Not a problem will do as soon as I get another cup of coffee :)
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-23-2020, 12:42 PM
    @KurtE Yep - early morning - guess i am a morning person :) Was thinking along the same lines as you, started doing the same thing. The one thing that will have to be adjusted is the structure for the data the...
    770 replies | 25573 view(s)
  • mjs513's Avatar
    06-23-2020, 11:58 AM
    Simple answer is yes. More complicated answer is that with one PSRAM chip extram_t4 reserves the lower 4 MBs for user to use for EXTRAM, etc and the upper 4MBs for other purposes. Also addresses if you have no PSRAM...
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-23-2020, 11:34 AM
    Morning @defragster Thanks for looking I will give it a try. BTW heres the latest piece of code I am using with Brian's updated uNavIns. Oh, think I figured out what the primary cause of yaw drift is - the GPS.
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-23-2020, 11:30 AM
    Morning @KurtE Was playing with your update this morning. Think I isolated the problem. Based on what you currently have the report id is 0x14 but the code only seems to accept rpt 0x01. If I look at the other...
    770 replies | 25573 view(s)
  • mjs513's Avatar
    06-23-2020, 02:25 AM
    Yeah was just playing with that a bit. Funny thing is that USBHost shield recognizes it as 360 and its working but cant see any differences from the xbox one s. Didnt try that ???? But my eyes are closing now.
    770 replies | 25573 view(s)
  • mjs513's Avatar
    06-23-2020, 02:23 AM
    @defragster Guess thats exactly what I am looking for: 'LogThisNow( _record_ )' - too bad
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-23-2020, 02:21 AM
    Yes they do from what I remember. Not sure if you want to pull that stuff in yet.
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-22-2020, 11:20 PM
    Ok going through the examples seems everything is based on a timer call back. Question is if I just want to log data every 200ms based on the data available test in a loop: if ((newIMUData == 1 && rtk.upDated ==...
    86 replies | 1685 view(s)
  • mjs513's Avatar
    06-22-2020, 11:14 PM
    Updated ILI9488, HX8357 and RA8876 with the GFX font changes.
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-22-2020, 09:10 PM
    @KurtE and @PaulStoffregen Went ahead and did the merge of the PR and added the GPIOX(true) for Adafruit displays in the "begin" function.
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-22-2020, 08:12 PM
    Just posted a response on Github
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-22-2020, 07:59 PM
    Ok fixed issue with GFX fonts - real easy: 1. substitute new font structure in glcdfont.h for what we have in RA8875.h /// Font data stored PER GLYPH typedef struct { uint16_t bitmapOffset; ///< Pointer into...
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-22-2020, 07:37 PM
    Sorry had to run out to the store. Needed to let the car run awhile - battery died yesterday today ok. Just tested probably the same board you have @Paul just to see if it works and no problems either. Just as a...
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-22-2020, 05:30 PM
    @KurtE Which display are you using? The 480x272 seems to be working. I will check out the new GFX issue
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-22-2020, 05:04 PM
    Reason I was saying about SPI Clock was because of the warning Sumotoy had in the file: I am going to pull out scope and see what it looks like with my setup out of curiosity.
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-22-2020, 04:47 PM
    I have the 4.3 inch one, https://www.buydisplay.com/4-3-tft-l...al-spi-i2c-mcu, setup for 5v, SPI 4-wire, resistive but capacitive works as well.
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-22-2020, 04:33 PM
    Have a 480x272. :) Have to order it quick - they close for awhile starting June 25th.
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-22-2020, 04:07 PM
    Just tried round gauges on the 480x272 and its been running at 600Mhz for the last 6 minutes. Something strange going on. I just ordered a 800x480 7inch display from BuyDisplay should be here end of the week. EDIT:...
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-22-2020, 03:39 PM
    I added this line to the end of "begin" function in the RA8875.cpp file: if(_displaySize == Adafruit_480x272 || _displaySize == Adafruit_800x480 ) GPIOX(true); Should work.
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-22-2020, 03:27 PM
    Don't have a 800x480 display, think Kurt has one, but i just ran it on a 480x272 display with 4 gauges (does clip the last one) but it looks like its working on a T4.0 without a problem. Can you try just 4 gauges to...
    75 replies | 2088 view(s)
  • mjs513's Avatar
    06-22-2020, 01:54 PM
    Don't think it will hurt. Looks like its used for turning on the display using PWM as opposed to just having the BL hooked up to a power pin. With BuyDisplay think the jumpers are set to use BL attached to a power pin
    75 replies | 2088 view(s)
More Activity
About mjs513

Basic Information

About mjs513
Location:
New York
Interests:
Robotics, Image Processing
Occupation:
Aerospace Eng (Retired)

Statistics


Total Posts
Total Posts
5,329
Posts Per Day
2.43
Last Post
NAND flash support in 1.54 Yesterday 11:42 PM
General Information
Last Activity
Today 12:26 AM
Join Date
07-01-2014