R
Reaction score
74

Latest activity Postings About

    • R
      Rezo reacted to Dogbone06's post in the thread Call to arms | Teensy + SDRAM = true with Angry Angry.
      Updated Todo: * Add the missing AD_B1_XX pins * Top left of the board in the spreadsheet image in this thread, there are many GND pins. I will replace a few of them with 5V pins. * 4.5 already has USB Host and USB-PD (Power Delivery) on that...
    • R
      Yeah we did that on the very very first dev board (had PSRAM, not SDRAM) as @Dogbone06 didn't want to mess with the exisiting traces. But I agree it should be placed in it's natural order and not at the end.
    • R
      Rezo reacted to jmarsh's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
      I'd like to see B0_13 in its natural place (between B0_12 and B0_14) instead of relocated to the bottom, it can be a trap if you're absent-mindedly plugging in a bunch of wires without paying complete attention.
    • R
      I've little experience with the Audio library, just getting into it now. So this will scrub a raw audio file which is mono. So to support stereo, you'd need two classes and two pointers? As mentioned, an example of implementing this would be great
    • R
      Rezo reacted to defragster's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
      The single 5V pin on current Teensy boards always causes fright here when putting wires in headers ... and it is isolated to a fixed corner Having them intermixed? Of course, re-routing all the GND out and shifting/layering in the new pins would...
    • R
      @KurtE this is great!I guess this won't affect current implementations of mapIOPinToFlexPin(uint8_t pin)? I'll be happy to have a go at it when I get a new ILI9488 display in (current 9486 is dead)
    • R
      With the currently released version of this library. Each time PJRC releases support for another Teensy 4.x board, the tables within this library (like many others) needed to be updated. This also has issue if someone wishes to make a custom...
    • R
      Oh okay, thanks!
    • R
      Do we currently have enough pins on Devboard V4 to hook and an audio shield? Or are we missing any crucial signal?
    • R
      I have a T4 dev board with SDRAM, wondering if the entire audio track can be copied to a buffer in SDRAM, then scrubbed from there. Is there is a sample sketch I can test?
    • R
      Rezo reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
      using the non_camera sketch (another_pxp_test.ino) which just loads images from progmem I did some more timing tests. Based on using 198Mhz for SDRAM clock: Using flexio_teensy_mm image from @Rezo...
    • R
      This is very cool! Do you have a demo of it on Youtube or some other platform? Have you tried to scrub through using a jog wheel of some sort?
    • R
      Rezo reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
      Thanks. Been at it again. Since its the set of functions I am using all the time I just created a new one that I am testing. This way don't have to keep copying and pasting code PXP_ps_output(tft.width(), tft.height(), /* Display...
    • R
      Rezo reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
      Right now this is all on internal buffers on the T4.1 and Micromod. The T41 is using EXTRAM running at 132mhz with a ILI9488 on SPI At some point soonish going to try on SDRAM board.
    • R
      Rezo replied to the thread T4 Pixel Pipeline Library.
      @mjs513 are you using SDRAM buffers or internal RAM buffers for the PXP source and destination?
    • R
      Rezo reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
      Ok just managed to get do a color conversion from Y8/Y4 to RGB565. That will address issues with HM01B0 and HM0360 cameras - so everything can be done from PXP now. Image from conversion:
    • R
      Let's be clear: You CAN NOT collect and plot data faster than about 300 samples per second and plot it in real time. Neither the IDE plotting routines nor the human visual system can respond to more than about 30 data frames per second. You...
    • R
      Perhaps to keep the USB transfers as efficient as possible, create two 2D buffers Each buffer will store timestamps and readings. You can read as fast as needed using the ADC libraries built in quad timer, then just switch buffers when one is...
    • R
      I can only assume here: Your function gen is generating a sine wave that goes from +3v to -3v The teensy ADC cannot read negative voltages, the pin can go as low is -0.5v from what I recall. You need some conditioning circuit on the input of A0...
    • R
      Rezo 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...
    • R
      Rezo reacted to KurtE's post in the thread New Camera Library for Teensy Micromod/4.1 with Like Like.
      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...
    • R
      Rezo reacted to KurtE's post in the thread New Camera Library for Teensy Micromod/4.1 with Like Like.
      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...
    • R
      Rezo 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).
    • R
      Rezo replied to the thread T4 Pixel Pipeline Library.
      Amazing work Mike! Now get the touchscreen to work and try to scale in-out using a gesture ;)
    • R
      Rezo reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
      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...
    • R
      Rezo 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...
    • R
      Rezo replied to the thread T4 Pixel Pipeline Library.
      The only real problem with on-screen rotation such as the ILI9341/9488 is that while we can rotate by changing the MADCTL register on the display, the actual pixels are still displayed in portrait mode, top to bottom (bottom being where the...
    • R
      Rezo replied to the thread T4 Pixel Pipeline Library.
      @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...
    • R
      Rezo 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) {...
    • R
      Rezo replied to the thread T4 Pixel Pipeline Library.
      So what was it? 😅
    • R
      Rezo 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)...
    • R
      Rezo replied to the thread T4 Pixel Pipeline Library.
      I had a very had time with the rotation. But eventually got it working using a frame sized destination buffer and two 1/10th source buffers - not a standard implementation at all. With SDRAM can go full sized frame buffers and let it do its...
    • R
      Rezo reacted to mjs513's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
      Trying to figure out how PXP works but it is giving me a headache - I posted something on the PXP thread. Trying to figure out how scaling works to say downsize an image. But all in good time - examples are few and far in between
    • R
      Rezo reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
      Know this is more than a year later but started playing with the PXP library using a OV5640 camera. The basic setup is: 1. ILI9488 on SPI using ILI9488_t3 library 2. Framesize = 480x320 (HXGA) yes this works. 3. Framebuffers setup in the...
    • R
      Rezo reacted to mjs513's post in the thread T4 Pixel Pipeline Library with Like Like.
      Here's the problem For Rotation 0 - seems to be working but image is not centering as specified in the writeRect function Rotation 1 - notice it draws it on the top have of the screen as what looks like a wrapped image: Rotation 2 - see...
    • R
      Rezo reacted to wwatson's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
      Well it's pretty much finished. Modified the SDRAM Dev board /RD signal to use manual pulse generation. Bus speeds are about the same as the T4.1:D The FlexIO /RD signal generation seems to have been the main issue for stability. It kind of makes...
    • R
      Rezo reacted to jmarsh's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
      Just realized pin AD_B1_03 isn't routed so the board doesn't have SPDIF_IN... could we add that to the list for gen5? With Kurt's additions that would complete all of the AD_B1_XX pins which make up consecutive halves of GPIO1 / FlexIO3.
    • R
      You will get a faster WR pulse if you use direct port manipulation and some NOPs to delay, but, it won't be easy to control the speeds. That's where the FlexIO timers and shifters have the advantage.
    • R
      Rezo reacted to mborgerson's post in the thread T4 ADC high speed sampling - how to? with Like Like.
      Unless you have a WFI (Wait For Interrupt) instruction somewhere in your code, adding or removing interrupts shouldn't change power dissipation significantly. Adding more peripheral devices to your program can increase power dissipation if...
    • R
      @mborgerson that's not a bad idea at all. I can also spare the interval timer and just add an else{} to if(fftindex < FFTBUFFERSIZE) and change the histogram buffer in the ADC interrupt The only real reason I was thinking of going DMA route is...
    • R
      Rezo reacted to mborgerson's post in the thread T4 ADC high speed sampling - how to? with Like Like.
      I'm not sure you need to add the complexity of DMA to do this. If 25000 samples (what you get at 250K sampling for 1/10th second), you only need 50KBytes for the ADC samples. You could put those in DMAMEM, standard ITCM or in EXTMEM, if you...
    • R
      So I am looking at more options on signal analysis and I have some code that fills a histogram buffer and calculates mean, standard deviation and kurtosis It works well, but its all interrupt based, and I also want to do some FFT on the samples...
    • R
      Rezo reacted to KurtE's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
      I think which new pins could/should be added to support has been shown now in a few threads including: Question, what do you mean by complete? That is I have not seen what I would consider a complete one for DB4 or DB4.5. That is one that...
    • R
      Rezo reacted to wwatson's post in the thread Call to arms | Teensy + SDRAM = true with Love Love.
      I received my 74LVC245 chips and had some fun wiring this rat's nest up: This took care of the bad image when loading from FLASHMEM. Both FLASHMEM and SDRAM are working using 8-bit DMA. The image is correct and repeatable at 20MHz. I only...
    • R
      @mjs513 I think the PXP can help you with the color conversion, and it might be faster as well. But either way it will be done async and won’t require any CPU for it.
    • R
      Rezo reacted to mjs513's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
      Was playing around jpegdec library and did a comparison of using PROGMEM vs SDRAM (running at 198Mhz) FLash TEST full sized decode in 28350 us half sized decode in 21260 us quarter sized decode in 7320 us eighth sized decode in 6104 us SDRAM...
    • R
      Rezo reacted to defragster's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
      Merged: https://github.com/Defragster/EVKB_1060/blob/main/docs/DogBoneSDRAMv1.xlsx
    • R
      Rezo reacted to KurtE's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
      Sorry, I did not go all the way up on the SS to those pins... I have now... Exactly. Pushed up current version to fork of defragsters github project and issued PR https://github.com/Defragster/EVKB_1060/pull/1
    • R
      @KurtE here is the full list. Need to update B0_00 through B0_03 accordingly
      • IMG_0333.jpeg
    • R
      Rezo reacted to jmarsh's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
      LCDIF, CSI, and PXP all have their own masters. Their priorities (against each other) are controlled by the SIM_MAIN NIC registers. The documentation hints that LCDIF has a bunch of cache memory tucked away inside of it, that isn't directly...
  • Loading…
  • Loading…
Back
Top