KurtE's latest activity

  • KurtE
    KurtE reacted to mjs513's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    Thats exactly what I mean. Route a couple to the 1x40 header so a shield can get access. As for a todo list. As far as I know @KurtE gave it to you in post #1009: New T5 15/A1 AD_B1_03 USB_OTG1_OC QTIMER3_TIMER3 LPUART2_RX SPDIF_IN...
  • KurtE
    This is less of a question and more of a comment in case someone else finds it helpful.. But if like me you've modified the usb_desc.h file to change the name of a device or you've changed something in the usb.desc.c file, but Windows isn't...
  • KurtE
    Just a quick update on this, I managed to get it to work as I wanted. Removed 3x axes and the HAT switch. I amended usb_desc.h to reduce the Joystick size to 10 (I didn't quite need that many bytes, but it wouldn't compile with anything less...
  • KurtE
    It really helps to see the actual code: If that file is actually like: #include <SdFat.h> ... class SNFileRW { private: SdFat sdEx; ... } int SNFileRW::SN_SD_setup() { // returns 0 if successful, else error code #ifdef ARDUINO_TEENSY35...
  • KurtE
    With all that said you can actually mix and match SD and SDfat commands. Take a look at the SdFat_Usage example in the SD library. Note: SD is linked to the SDfat library that is installed with Teensyduino (either for 1.8.19 or 2.2.0 IDE's)...
  • KurtE
    Try putting #define BUILTIN_SDCARD 254 before you #include SdFat.h. There is code inside that header that depends on it being defined, so if you put it after the file is included (like in your first post) it's not going to work. (The fact that...
  • KurtE
    As mentioned, there are port. GPIO1-5 (they are also known as GPIO6-9), The pins on GPIO1 in normal mode are on GPIO6 in fast mode. The Teensy startup code sets all of the pins into fast mode. If you have not already done so, would recommend...
    • 1715643895701.png
  • KurtE
    KurtE reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
    Thanks for checking :)
  • KurtE
    KurtE replied to the thread T4 Pixel Pipeline Library.
    Looks like it runs on my MMOD with ILI9488 :D
  • KurtE
    KurtE reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
    Quick update: Pushed latest changes to repo: https://github.com/mjs513/T4_PXP/tree/pxp_t4_mods fixed a minor bug when image_width > image_height. added some comments. theoretically you should just be able to drop the PXP functions into your...
  • KurtE
    KurtE reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
    Ok folks. While testing what I had with different size images than the flexio_teensy_mm found that there were several issues with rotation and scaling. So for the past few days been working on resolving those issues and finally found the...
  • KurtE
    Not sure, might be interesting to try... Although my goal here is to use the same wiring to support as many of the Arduino/Arducam/Adafruit/Waveshare cameras that have the same breakout pinout. If my main goal is to support the 4 bit HM01b0 on...
  • KurtE
    KurtE reacted to jmarsh's post in the thread New Camera Library for Teensy Micromod/4.1 with Like Like.
    Couldn't you just connect each input pin twice (in the order 32103210) and pretend it's regular 8-bit?
  • KurtE
    KurtE reacted to mjs513's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    Oh just one more thing, Would be nice if you could maybe substitute a couple 5v pins for the 3.3v pins. Would make it easier when creating a shield.
  • KurtE
    Soon I will be out again doing more yard/garden work... But thought I would mention that I wanted to get all of the cameras to work on T4.1 on the CSI pins, that worked on the Micromod with FlexIO. The main problem child is the Arducam HM01b0...
    • 1715526069318.png
  • KurtE
    KurtE reacted to Dogbone06's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    The idea is to make the gen5 to have the pins needed, then from that I have already planned to make a shield for the two screens that @Rezo has in his possesion. Other shields can be done by you guys as well. And of course the Gerber files and...
  • KurtE
    You might look at @luni library: https://github.com/luni64/TeensyTimerTool/wiki For most of these things, I end up looking at the Reference Manual for the processor. There are links to this on the product pages. Potentially PWM might for your...
  • KurtE
    KurtE reacted to mjs513's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    Would agree as long as the edge pin connectors are suitable to add a adapter on top it would be better. This is the adapter I made for the sdram board (note positions are off for the display and camera - have to move them fo the next iteration).
  • KurtE
    I totally agree with @BriComp that it would be great. However, if that is not feasible or too many options. As long as the boards are reasonably laid out and preferably as I mentioned earlier, I would create a quick and dirty shield that does...
    • 1715383161713.png
  • KurtE
    You might try adding userial.flush(); after the writes To see i it helps
  • KurtE
    KurtE reacted to BriComp's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    I would like to add my two-penneth. As I see it groups of pins have many particular functions. Might it not be a good idea to also route the pins to functional connectors. It is likely that some connectors will have an overlap of pins. That does...
  • KurtE
    Quick update, I am now actually capturing some of the JPG images using DMA :D More or less along the line I mentioned. A few wrong turns here and there but the MATCH shifter finds the match, and it's callback enables the main shifters Interrupt...
  • KurtE
    KurtE reacted to mjs513's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    I agree from what I remember and posted before.
  • KurtE
    Sorry, from my standpoint, not much I can add, I think those of you who are using these boards to potentially create some new products or the like need to finalize. But: if it were me, I would probably continue with your existing pins plus fill...
  • KurtE
    Thanks, Have not had much time today to play... Too nice of a day to be inside. Right now, I am trying to figure out what to do, now that I can detect the JPG end. Mostly mumbling to myself 😆 That is, in continuous capture mode, in normal...
  • KurtE
    Sorry, with the EHCI implementation stuff, was done by @PaulStoffregen , I only know enough to be dangerous. With the USB Serial, I believe it is setup that it does 2K writes, but receives 512... As for the USB Host, I don't remember if he...
  • KurtE
    KurtE reacted to jmarsh's post in the thread New Camera Library for Teensy Micromod/4.1 with Like Like.
    Maybe the ENABLE signal deasserts as soon as the ending sequence is sent, so the timer stops and the final values never get moved into the matching shifter (since its contents are one "tick" behind the receive register's contents) ? Try using...
  • KurtE
    The pin is most likely not in digital mode... If you are transitioning between fast and slow, you probably need to change the IO MUX register to mode 5... Easiest way is to call pinMode(pin, OUTPUT); You can probably short cut some of the...
  • KurtE
    KurtE reacted to jmarsh's post in the thread New Camera Library for Teensy Micromod/4.1 with Like Like.
    The way I understand it, the SHIFTBUF register isn't where the actual work gets done. Each shifter has an internal state where the shifting happens, and it's only when the timer "store" event occurs that the internal state gets copied to/from...
  • KurtE
    Starting to have some success with the match :D I changed: _pflexio->SHIFTCFG[_fshifter_jpeg] = FLEXIO_SHIFTCFG_PWIDTH(31) | FLEXIO_SHIFTCFG_INSRC; To PMOD to transfer 32 bits instead of 16 and things started to work. Although it...
    • 1715105160131.png
  • KurtE
    First again thanks for the input. So far I am not having much luck. probably something stupid I am doing and even more likely probably in some of the things I don't understand properly. When I setup the initial FlexIO, the main shifter is...
  • KurtE
    KurtE reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Wow Wow.
    Ok all been at it some more with trying out scaling and rotation took most of yesterday to figure out. Did find that just using a macro to set the corners never changed the actual registers so initially things were screwy, so added a function to...
  • KurtE
    Note: I edited the previous post to show the SerialX objects that the DB4.5 plus the 6 pins suggested to be added (all of the missing AD_B1_xx pins). For Arduino SPI objects: SPI is setup to use the LPSPI4 object: With the pins as mentioned...
    • 1715044932346.png
    • 1715045270969.png
    • 1715045506694.png
  • KurtE
    Sorry, yes the read code was implemented with KISS to get it up and running. I meant to at some point potentially go back and do the memcpy version. At the time we were chasing other bugs and so did not add the complexity of dealing with the...
  • KurtE
    I just pushed up a slightly updated Excel document, where I moved the AD_B1_03 pin down into the new pin area at the end of the list. Also fixed some of the color coding, but I know that some more work on this can be done. I already fixed a...
    • 1715015072331.png
  • KurtE
    Have you tried using the bigbuffer version of the Serial objects? And see if that helps? For higher speeds, we might need to update the code to have more than two USB buffers at a time. For example, the RAWHID code was updated for 4 RX and...
  • KurtE
    You are right, that the bigbuffer was setup to handle USB High Speed devices, which typically have transfers of 512 bytes instead of 64 bytes, as well as higher speeds. the ,1 was a hack as by default it will only claim high speed serial...
  • KurtE
    KurtE replied to the thread T4 Pixel Pipeline Library.
    Thanks, There are a lot of great stuff shown in your video! At some point it will be interesting to play with some of these more advanced features!
  • KurtE
    KurtE reacted to mborgerson's post in the thread T4 Pixel Pipeline Library with Like Like.
    The PXP can be very useful for some applications. A little over 3 years ago, I used it to manipulate images for a slide show app. The PXP made possible things like fade-in, fade-out, moving transitions, and Ken Burns effect (combination of...
  • KurtE
    KurtE replied to the thread T4 Pixel Pipeline Library.
    Thanks, will take a look. At this point, I think I will defer for now. If the main issue is simply to rotate by 90, 180, 270 with most of our displays, we can simply tell the display to set their rotation and the rest is taken care of. If I...
  • KurtE
    KurtE reacted to Rezo's post in the thread T4 Pixel Pipeline Library with Like Like.
    @KurtE the partial output buffers only work with the eLCDIF handshake. The only way to use this on a non SDRAM Teensy is to use one screen size source buffer and two partial destination buffers I was able to rotate a landscape frame generated...
  • KurtE
    KurtE reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
    @KurtE - @Rezo here is a working sketch using a OV5640 or OV2640. Tested with QVGA, QQVGA and 240x240 framesizes
  • KurtE
    KurtE replied to the thread T4 Pixel Pipeline Library.
    @mjs513 - glad you have it working! Will have to play with it some more. (All) But I am wondering how/where I might use it on a normal Teensy, where I don't have external memory and I am not using eLCD? That is are there examples on how one...
  • KurtE
    KurtE reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
    Have to swap the values for the OUT_LRC register - didn;t register (pardon the pun) that this was different than PXP_OUT_PS_LRC. PXP_OUT_LRC appears to set the display LRC, hence the need for: if(r == 0 || r == 2) {...
  • KurtE
    KurtE reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
    Got it !!! Found it by accident: solution: void pxp_rotation(int r) { if(!pxpStarted) { Serial.println("You forgot to start PXP, use 's' to start....."); } else { memset((uint8_t *)d_fb, 0, sizeof_d_fb); PXP_rotate_position(0)...
  • KurtE
    KurtE reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
    Will give it a try - but question on lrc/ulc - do these change with rotation
  • KurtE
    KurtE reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
    Thanks for joining the fray here. Right now I am using QVGA with a ILI9341 so using 2 full size buffers: DMAMEM uint16_t s_fb[320*240] __attribute__ ((aligned (64))); uint16_t d_fb[320*240] __attribute__ ((aligned (64))); Right now I have just...
  • KurtE
    Sorry, I don't believe that is possible. AFAIK - it is only implemented within HardwareSerial, (and maybe FlexIO Serial)... My guess is you can probably edit the source code, to allow for larger count of buffers: like usb_serial.c Where you...
  • KurtE
    KurtE replied to the thread T4 Pixel Pipeline Library.
    Sorry @mjs513, I am not much help on this one. I keep meaning to learn more about the PXP stuff. As there might be places it could come in handy. For example with the ILI9488_t3 code, we typically store the pixels in 16 bit 565 format, but the...
  • KurtE
    KurtE reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
    Made a little progress - but out image is always a square. Kind of giving up on rotations - ps it easier to set the display to do the rotation if thats all you are doing on an image - probably not good to do it with video unless display doesn't...
Back
Top