Latest activity

  • S
    Anyone used an ATmega4808? https://www.digikey.co.uk/en/products/detail/microchip-technology/ATMEGA4808-XU/10444924 Cheap as chips and 'possibly' good enough as a slave processor to do nothing but spit out Fastled data
  • E
    My teensy felt down from table and the port is broken it doesnt reads it in the IDE. Is there any way to program teensy from another teensy or something else. Or should i dump it.
  • D
    Perhaps better to first ask, does the hardware truly need cache disable? Seems hard to believe. The effect of the cache isn't even visible outside the ARM core, other than fewer actual accesses to memory. That's why arm_decache_flush_delete()...
  • D
    Dogbone06 reacted to Rezo's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    As I mentioned, I tried to flush the cache but it had no affect at all. I can't confirm nor dismiss that the hardware needs a region with cache disabled, but from all the code examples I have observed (NXP, LVGL) and application notes, they all...
  • D
    Dogbone06 reacted to jmarsh's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    It's relatively simple to walk through all the MPU regions and add a new one at the end. Shouldn't need to disable/enable the data cache as long as it's done before the SDRAM/SEMC initialization. I agree that it should not be necessary though as...
  • D
    Dogbone06 reacted to Rezo's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    Ugh… I should have multiplied the screen resolution by sizeof(uint32_t) in the flush call.. 🤦🏻‍♂️ How did I miss that one? Will test in a couple of hours - I'm sure that’s going to fix it. But regardless, the L1 Cache application notes does...
  • D
    Dogbone06 reacted to jmarsh's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    I don't think that's always accurate, especially for non-sequential writes - tile / character based rendering for example, would greatly benefit from writes to separate lines being collected in the cache before being flushed to RAM.
  • D
    Working without cache attention seems called for and beneficial. And only reads suffer with cache not covering that region that is only used for writes? Posted twice the note from NXP reads go to ~1/4 speed without cache - writes drop 1 MB/sec...
  • D
    Interesting - that case in use here would be easy to test.
  • PaulS
    PaulS replied to the thread Serial Plotter / IDE / Teensy 4.0.
    Hi Jordan, Thought about a brute force method to see whether we can get any reaction from the HVH. The following code writes 4 times to the "write power" register, with different adresses and different LIN checksums. Then it tries to read from 4...
    • SDS00092.png
  • h4yn0nnym0u5e
    Glad you got it working. It’s possibly worth pointing out that you don’t have to assign all 95.1 seconds of EXTMEM to a single delay object, as your sample code does. You can have multiple objects each with their own maximum delay time, up to a...
  • P
    PeerT replied to the thread Uncanny Eyes is getting expensive.
    Hi again, here again is the current error code, even though the file ST7789_t3.h exists: C:\Users\Peer\Documents\Halloween\UncannyEyes_4.1\TeensyEyes\ST7789_t3.cpp:21:10: fatal error: TeensyEyes/ST7789_t3.h: No such file or directory 21 |...
  • defragster
    Interesting - that case in use here would be easy to test.
  • B
    The bus could support video cards which accept up to 255 commands. Lines, boxes, whathaveyou may be drawn using the commands, and passing parameters using the DAT 0-7 lines. Perimeters may then be passed. screen captures could be addressed...
    • 1708509818863.png
  • E
    I see you asked about this a couple of years ago, and were told about fastTouch then. So I wrote a little benchmark to see how fast it really was. I have a box with 12 fastTouch pins and a T4. Here's the code:#include <FastTouch.h> void setup()...
  • J
    I don't think that's always accurate, especially for non-sequential writes - tile / character based rendering for example, would greatly benefit from writes to separate lines being collected in the cache before being flushed to RAM.
  • R
    OK - please delete this post. Appears to work for me now, whereas before it did not. https://forum.pjrc.com/index.php?threads/float-in-sscanf-on-teensy-3-1.27827/
  • R
    As I understand it, by default the STL scanf() family of functions does not support floating point values due to the obvious limit of 8-bit processor architecture. However, I have also found that there is a way to extend the standard...
  • defragster
    defragster replied to the thread Help with Teensy Loader.
    Seemed I had seen it - thanks for confirming details! And good to know the .eHex process is otherwise doable. It just might be that @rvh could make use of a custom app if a single program allowed his process to complete.
  • MichaelMeissner
    Well maybe it can handle it, maybe not. But I suspect it may be a lot of work. If you aren't interested in doing the work and learning stuff, etc. it may be better to buy something off the shelf that already has most of the functionality you want.
  • defragster
    Working without cache attention seems called for and beneficial. And only reads suffer with cache not covering that region that is only used for writes? Posted twice the note from NXP reads go to ~1/4 speed without cache - writes drop 1 MB/sec...
  • luni
    luni replied to the thread Help with Teensy Loader.
    I have successfully worked on a proof of concept to upload ehex files with TeensySharp. However, I haven't integrated it into the library yet. Anyway, the purpose of TeensySharp is to allow users to integrate Teensy detection and firmware upload...
  • T
    toyosm reacted to dangelo's post in the thread Teensy Audio Library Scrubber Object with Like Like.
    Heyo everyone, So I've been working on implementing live scrubbing through audio on the teensy for a large project I'm creating. Think scratching vinyl or scrubbing through a tape machine. I was trying to implement it with the queue object, but...
  • R
    Ugh… I should have multiplied the screen resolution by sizeof(uint32_t) in the flush call.. 🤦🏻‍♂️ How did I miss that one? Will test in a couple of hours - I'm sure that’s going to fix it. But regardless, the L1 Cache application notes does...
  • M
    Hi, this is kind of stupid, and I hope it's allowed here... but I'm trying to source a Teensy 3.6 or two. I used them as a basis for a simple measurement circuit in academic research back in ... well, at some point in the blur of the pandemic...
  • R
    Rezo reacted to jmarsh's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    It's relatively simple to walk through all the MPU regions and add a new one at the end. Shouldn't need to disable/enable the data cache as long as it's done before the SDRAM/SEMC initialization. I agree that it should not be necessary though as...
  • I
    ishotjr reacted to rwalters's post in the thread PGA2310 2x1 Mixer Project with Like Like.
    I decided I wanted to build a mixer where the signal paths are entirely analog but all of the control is digital so that I could use less expensive trim pots and still get really good linearity and noise performance... I am about to submit the...
  • I
    ishotjr reacted to rwalters's post in the thread PGA2310 2x1 Mixer Project with Like Like.
    I finished the first pass on this project today. I think it came out very nicely and it looks and sounds better than the Rolls mimimix 2 it replaced. A couple of lessons learned: - I should have optimized my potentiometer voltage divider...
  • M
    For now, let me get this... 15 channel at 225 led..works fine https://github.com/FastLED/FastLED/wiki/Parallel-Output Now I'm going to start programming simple animations.Does anyone have a tip for these crazy 3D waves?
  • J
    You can only put uninitialized objects in RAM2 / DMAMEM.
  • C
    Ok, so this might be a slightly weird one... I have a very large program that uses a whole lot of RAM. If I don't move some things to RAM2 then RAM1 overflows and the program dies. But, it seems when I use the below lines: DMAMEM...
  • N
    Hello all, I am trying to make my arduino mega communicate with my teensy 4.1 through wire1 and lcd print the output. I am using Pins 20 and 21 from arduino mega to Pins 16 and 17 in teensy. Since it is 5v, I pulled up two 1k resistors from 3.3v...
    • Teensy.jpeg
    • Arduino.jpeg
    • Momentary Switch with Disp.jpeg
  • J
    jmarsh replied to the thread Recording video in Teensy.
    The Teensy does have a CSI peripheral, but not many of the pins for it are broken out as I/O pins. Alternatively you could connect it to a FlexIO port and access it that way but it requires a fair bit of coding work.
  • J
    It's relatively simple to walk through all the MPU regions and add a new one at the end. Shouldn't need to disable/enable the data cache as long as it's done before the SDRAM/SEMC initialization. I agree that it should not be necessary though as...
  • D
    Drodru replied to the thread Recording video in Teensy.
    Ok, I see. I think I'm gonna buy the AMB82, a microcontroller that has a full HD 30 fps camera, and I'll control by a digital output from teensy. I thought that teensy could handle it well, but doesn't matter. I think for a (long long) future, a...
  • J
    Paul, thank you for getting this equipment and testing it. When you run the heater code, would you see anything on the oscilloscope?
  • defragster
    defragster replied to the thread Help with Teensy Loader.
    Okay - that makes sense. It seems that @luni (?) has made a version that can push .eHex? Someone did (??) - so that could be incorporated into TyComm if so - not sure of @Koromix having bandwidth to do that ... @KurtE has made some builds/edits...
  • h4yn0nnym0u5e
    Thanks a lot for your help. I just saw your reply after I figured it out. Thanks again.
  • D
    Thanks a lot for your help. I just saw your reply after I figured it out. Thanks again.
  • h4yn0nnym0u5e
    Fixed it. Should be AUDIO_MEMORY_EXTMEM not AUDIO_MEMORY_PSRAM64
  • D
    Fixed it. Should be AUDIO_MEMORY_EXTMEM not AUDIO_MEMORY_PSRAM64
  • J
    My pleasure! 🙂
  • h4yn0nnym0u5e
    OK, a few things ... it's really helpful to post code in the </> code tags, makes it easier to read! Not vital for this short piece of code I have to assume you're using Teensyduino 1.59 - this is pretty important, a couple (?) of the previous...
  • M
    mic-hasch replied to the thread cube 15x15x15.
    it was so easy... parallel output 15 channels each with 225 LEDs.. no more problems https://github.com/FastLED/FastLED/wiki/Parallel-Output The WS2811 LED is too slow and the Octows is the next brake With Teensy 4.1 I have enough pins and...
  • R
    rvh replied to the thread Help with Teensy Loader.
    p.s. note that I'm referring here to stand-alone Teensy Loader use, without Arduino running. When called from within Arduino (after compiling), Teensy Loader starts the uplaod automatically, and with the extended 45 sec time-out I get no errors...
  • K
    Never mind Copilot is quite good on answering those questions. "The USB device descriptor is a static piece of information that is set during the device’s initialization and remains constant throughout the device’s lifetime. It cannot be changed...
  • PaulStoffregen
    Quick update to this very old thread. Some time ago, the audio system was updated to automatically assign a timer for updates, if none of the hardware I/O with "update responsibility" were used. The SGTL5000 control was also improved to just...
  • R
    rvh replied to the thread Help with Teensy Loader.
    Yes, after I load an ehex file into Teensy loader, it doesn't automatically start the upload to the Teensy. It shows the notice to press the physical button on the Teensy, and disables both Program and Reboot options (regardless of whether Auto...
  • D
    Hi folks I've been playing around with the PCM3168, a near-alternative to the CS42448 which is now shown as discontinued on Cirrus Logic's website. From a functionality point of view, the PCM3168 doesn't have the ability to add another pair of...
  • D
    I should add that I have run the ext memory test and it executes without errors. (https://github.com/PaulStoffregen/teensy41_psram_memtest/blob/master/teensy41_psram_memtest.ino)
Back
Top