Rezo
Reaction score
181

Latest activity Postings About

    • Rezo
      Rezo reacted to SamiH's post in the thread Teensy 4.1 CAN bus with Like Like.
      The motors that i bought, it uses can 2.0, for my application I need the feedback, the feedback from the motor doesn't contain the sender ID only the recipient ID, so I am limited to one motor per bus. Hence looking ways to expand busses on the...
    • Rezo
      You HAVE to purchase the bootloader chips from PJRC. This is their business model and the core to the Teensy product - if he open sources the bootloader code they will have no reason to exist as anyone could copy the Teensy and sell it as their...
    • Rezo
      Rezo replied to the thread Diy teensy sdram solder yourself.
      Could you share the codebase for this test? I have 7” 800*480px display with the same driver and will be hooking it up to my Devboard V5 when the adapter PCBs arrive, and have been considering use of the PXP to write rectangle clips to the main...
    • Rezo
      Continued follow-up, it works! I foolishly also flipped the collector and emitter on MOSFET Q1 in the schematic, but was able to whitewire a fix. In hopes of contributing back to the community, below are images of the project and some lessons...
    • Rezo
      Rezo replied to the thread Hurt Alert - Performance Gauge.
      Thanks Kris! I can understand the fear plugging in some wires and homemade PCBs into an expensive car. But with the CAN transceiver in place and using the universal OBD CANH/CANL signals, there is not much place to go wrong, and the possibility...
    • Rezo
      Rezo reacted to KrisKasprzak's post in the thread Hurt Alert - Performance Gauge with Like Like.
      What a great project. The UI is a work of art and the idea is stellar. I was about to do the same for my car--capture performance parameter and GPS and log to an SD card so driving/racing can be played back. I was going to build and sell...
    • Rezo
      Rezo reacted to mjs513's post in the thread Teensy 4.x H/W Quadrature Encoder Library with Like Like.
      @Rezo Know this is probably overkill but this might help. Let us know what you come up - I am interested as well
    • Rezo
      Rezo replied to the thread Quad Encoder interrupt detection.
      @mjs513 can I set compareModePosition to 1 and get an interrupt every count?
    • Rezo
      This sounds like a problem with your USB port/traces rather than anything to do with the bootloader. You say USB1 is the host usb, so USB2 is the port you're trying to connect to the PC? That looks backwards: USB1 has pulldowns on the CC pins so...
    • Rezo
      Rezo reacted to KurtE's post in the thread Has anyone used Zephyr on the Teensy boards? with Like Like.
      Note: There is a webpage that shows some of the information about the Teensy boards on zephyr: https://docs.zephyrproject.org/latest/boards/pjrc/teensy4/doc/index.html Yes and No... That is for example with the MicroMod Teensy... I had to add...
    • Rezo
      So what is the actual benefit of running Zypher on a single core MCU? Task management?
    • Rezo
      Someone with more hardware knowledge will have to answer this one.
    • Rezo
      Sorry, seems Mike answered that for me Appreciate the offer! For now I will just have a go with the interrupt on pin #2 with the signal from Phase A When doing this bridge between pin 0 and pin 2, should I add in any passive components, such as...
    • Rezo
      Rezo reacted to mjs513's post in the thread Teensy 4.x H/W Quadrature Encoder Library with Like Like.
      Assume its a Teesny MicroMod
    • Rezo
      There are two ways to measure speed using an encoder. One is to count pulses over a known time period (pulse counting). The other is to measure the time for a known amount of rotation (period measurement). The choice of which to use can depend on...
    • Rezo
      @joepasquariello thats for the detailed response! I specifically need the time delta above, so I will use the quad encoder HW to detect if there is rotation, and what the direction of rotation is, and I’ll use an interrupt on pin 2 to count time...
    • Rezo
      Coming back to this now that I know exactly how to count the "speed" of the encoder; I need to count the time passed between each pulse on Phase A Now, I've done this using a simple IRQ method as the standard encoder lib would use I store the...
    • Rezo
      Thought it was time to share this project-turned-product with the community A small, personal gauge project of mine that started in 2019 when I had begun engine modifications on my Golf GTI brought me to realize that there was no plug and play...
    • Rezo
      Rezo replied to the thread Teensy 4.1 CAN bus.
      You can extend with SPI bases CAN controllers
    • Rezo
      Rezo reacted to Dogbone06's post in the thread Diy teensy sdram solder yourself with Like Like.
      Happy to see that you were successful in making your own SDRAM board after me and @Rezo started the endevour to make it happen, and managed to get a full list of people (you know who you are) to join in and make it reality. This is what a...
    • Rezo
      Rezo reacted to Dogbone06's post in the thread Diy teensy sdram solder yourself with Like Like.
      And the rest of the wonderful people who focused on the software side, list below. Hoping to see more of your SDRAM boards as you go along!
    • Rezo
      Rezo replied to the thread Diy teensy sdram solder yourself.
      Very very cool project! What have you done with it so far? Anything interesting with the additional GPIOs and SDRAM?
    • Rezo
      Rezo reacted to theboot900's post in the thread Diy teensy sdram solder yourself with Love Love.
      I've designed a DIY Teensy 4.1 based board with Sdram with the idea of being able to solder it yourself. (It requires a stencil and solder paste as well). I don't have a hot plate, so i have been heating them with hot air from underneath. It...
    • Rezo
      Rezo reacted to PaulStoffregen's post in the thread FlexIOSPI with DQS with Like Like.
      Now I'm confused. Is Teensy supposed to be the SPI master (transmits SCLK and CS) or the SPI slave (receives SCLK and CS)? I'm pretty sure FlexSPI (chapter 27 in the reference manual) can only work in master mode. GPIO_EMC_11 isn't routed...
    • Rezo
      Rezo reacted to JoCaGoVi's post in the thread FlexIOSPI with DQS with Like Like.
      I just noticed my error in the title MCUs FLEXSPI not FLEXIOSPI with DQS. Im using FLEXIOSPI Master now as a way to learn the PlatformIO IDE. If FLEXIOSPI also supports slave mode that is another was to do it as shown on the figure above
    • Rezo
      Rezo replied to the thread FlexIOSPI with DQS.
      Don’t confuse FlexSPI with FlexIO, which the latter is a module that can emulate several protocols and has an SPI emulation library available by @KurtE You might be able to emulate some form of 4-bit SPI with the FlexIO module, but it won’t...
    • Rezo
      Rezo replied to the thread Non-blocking SPI/SPI via DMA.
      Do you need the Teensy to be the master of the slave? Regardless, here are two examples, one for master and one for slave, on the T4.x...
    • Rezo
      Rezo reacted to Mcu32's post in the thread SparkFun To Manufacture Teensy with Like Like.
      Looks nice!
    • Rezo
      Rezo replied to the thread SparkFun To Manufacture Teensy.
      The only “new” developments to the hardware have has been the SDRAM DevBoard - But thats an open source members project sponsored by @Dogbone06 and not an official PJRC development. Some of us have done some cool things with the added SDRAM and...
    • Rezo
      Rezo replied to the thread DMAMEM? MEM2?.
      U’s are for Unsigned, its a suffix to tell the compiler that the value is a constant unsigned int. I still urge to use the lv memory monitor. I used it to identify a memory leak a few years back that happened each time I navigated between screens.
    • Rezo
      Rezo reacted to Bewing's post in the thread DMAMEM? MEM2? with Like Like.
      Rezo WINS!!! I changed LV_MEM_SIZE from (32U * 1024U) ... to ... (128U * 1024U) -- (why the "U"s?) and everything works and is solid as a rock!! (I see the simulator uses (256 * 1024U) -- (no first U?) (I'm clueless about lv mem monitor...)...
    • Rezo
      Rezo replied to the thread DMAMEM? MEM2?.
      Have you tried to increase LV_MEM_SIZE from the default 64k, to say 128k in lv_conf? Can you confirm as well that you don’t have a memory leak in your lvgl app? Is lv mem monitor enabled in the simulator? Is it enabled on your T4 build?
    • Rezo
      In that case you'd have to borrow the code from AudioFilterBiquad class to do the work off-line. (Second-order digital filter sections aren't that complicated really!) Thinking about it retrospectively it might have been more flexible to define...
    • Rezo
      Yes, the AudioPlaySdWav is only in there because you said you were starting from a WAV file, so it seemed the easiest and most relevant way to put the demo together. If you're starting from an existing buffer of samples, you'd probably replace...
    • Rezo
      Thanks for the response! Is there any way to run this without the direct patch to the playSdWave()? So I can just directly feed it from a small buffer with several hundred or thousand of samples at a time? Im planning on analyzing at 48khz...
    • Rezo
      I have a need to do some analysis on a PCM data stream from a WAV file, to create a 3-band waveform of an audio track. I'm reading the data directly from the SD card, and looping though samples. I am not playing the audio back during this...
    • Rezo
      Rezo replied to the thread Fast Data Logger.
      You can also increase data rates by increasing the SDIO clock speed from 25/50Mhz to 99Mhz on fast cards. @beermat has had good results in doing this
    • Rezo
      You’re opening and closing the file each time you call readFile - not best practice, and possibly the root cause of your app’s slowdown as it progresses Open the file once and read/write to it in your loop. When you are finally done, close it.
    • Rezo
      Rezo reacted to beermat's post in the thread RA8876 Performance Improvement. with Like Like.
      It doesn't result in an overflow. That line you get the compiler warning on is guarded by: else if((DRAM_FREQ>=32)&&(DRAM_FREQ<=39)) so that code will not be executed unless DRAM_FREQ is between 32 and 39 inclusive, so the overflow situation...
    • Rezo
      Reviving this thread on some new findings that I’ve made recently while trying to integrate flexio8080 with an RA8889 display controller. Testing a block transfer of 480*320px (307200 bytes), one byte at a time At 20Mhz bus speed the polling...
    • Rezo
      Rezo replied to the thread RA8876 Performance Improvement..
      My biggest issue with the RA8889 (and previous versions) is they have this wait/busy pin and register indicator, and if you write too fast, the RA/SDRAM can’t handle the speed and it will assert the wait pin until it’s ready. With polling...
    • Rezo
      Rezo reacted to Dogbone06's post in the thread SparkFun To Manufacture Teensy with Like Like.
      if this is true or not is something I have to stay out of. But I’ll tell you this: SparkFun founder Nathan Seidle is a great dude. I’ve had a lot of direct contact with him. Trust me when I say that he’s invested directly in electronic design...
    • Rezo
      Rezo reacted to toyosm's post in the thread External Memory Chip Select with Like Like.
      Just for development speed. I used PSRAM before and had more information about it. So just to get this working asap (product release is behind schedule) I chose the PSRAM. As soon as the production is set I'll surely start the road to the SDRAM
    • Rezo
      Rezo replied to the thread External Memory Chip Select.
      Out of curiosity, with a custom board, why did you choose PSRAM over faster SDRAM?
    • Rezo
      Rezo reacted to toyosm's post in the thread External Memory Chip Select with Like Like.
      I made it work!. Changed the startup.c to pass the check of the first chip and go directly to the second one and adjusting the memory size to 8 all the time. Then on the Linker script changed the memory origin to 0x70800000 (not 0x78000000...
    • Rezo
      Rezo reacted to Dogbone06's post in the thread add ethernet to a micromod format teensy with Haha Haha.
      1170 *coff* :rolleyes:
    • Rezo
      The boards work great!
    • Rezo
      Rezo reacted to jdnle's post in the thread Maximizing External RAM DMA Speed with Like Like.
      Solved it through intense guesswork. I modified the MEMORY section to the following: MEMORY { ITCM (rwx): ORIGIN = 0x00000000, LENGTH = 224K DTCM (rwx): ORIGIN = 0x20000000, LENGTH = 224K OCRAM (rwx): ORIGIN = 0x20280000, LENGTH =...
    • Rezo
      Rezo reacted to beermat's post in the thread Maximizing External RAM DMA Speed with Like Like.
      This looks awesome, I'd like to try it soon on the T41, if you're willing to share once you've got all the gremlins out! eLCDIF has been working on a custom Teensy made by @Dogbone06 with 32MB SDRAM, and @Rezo made a library for this, I believe...
    • Rezo
      Rezo replied to the thread Maximizing External RAM DMA Speed.
      A. This is very cool - well done! If you need some structure for a lib (which only compiles for a Teensy Micromod, but with changes will support the T4.1) then have a peek here B. Regarding RAM - if you use the PXP, with some tricks you could get...
  • Loading…
  • Loading…
Back
Top