Latest activity

  • J
    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...
  • mjs513
    That was an interesting forum post especially if you read all the way through it. The fix they recommended was basically to change both BCMRX registers to 0x81...
    • IMG_1160.jpg
  • mjs513
    mjs513 reacted to KurtE's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    @mjs513, looks interesting. Wonder what the differences are from the DMA and non-dma? Other than the obvious. Like when we are not using DMA operation, the new data is written to the cache, and only later, when necessary, it flushes it out to...
  • mjs513
    mjs513 reacted to Rezo's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    I find it odd that SDRAM is not working well with FlexIO & DMA.. On the original version of the devboard, @Dogbone06 has just standard T4.1 PSRAM, and I was able to use a frame buffer in there with my Micromod 8080 library without any issues...
  • mjs513
    mjs513 reacted to wwatson's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    We finally have DMA working properly on the MicroMod and presumably the SDRAM Dev Board (not tested yet). My MicroMod quit while testing the 8080 mode for the ER-TFTM101-1 display. Had to reposition the MCU board in the connector. It's working...
  • C
    ChrisT replied to the thread ShiftPWM library compile error.
    Thanks for the quick response. I can see the code is now using the right (?) library, but the error is still the same: C:\Users\*****\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\libraries\ShiftPWM\CShiftPWM.cpp: In destructor...
  • A
    Hello Paul, thanks for taking the time to answer my question. I have reviewed all the libraries and their respective licenses. For those under the MIT license, everything seems straightforward. However, with libraries licensed under LGPL 2.1...
  • T
    Here is the mnimal code (using the original i2s objects) reproducing the problem: #include <Audio.h> #include <arm_const_structs.h> #include <utility/imxrt_hw.h> #include <SD.h> #include <SPI.h> File dataFile; const int...
  • M
    Switching back from platform teensy 5.0.0 to older platform with: platform = teensy@4.18.0 does the trick. But why does teensy 5.0.0 rise this problem?
  • W
    Thanks for reminding me about that example. I had already looked at it could not work out what it actually did! I will go back to and rejig it for platformio.
  • C
    TLDR: https://mongoose.ws/wizard/ This is more like a framework announcement rather than a question. Some explanation: this is a visual tool for building networking functionality with no experience in network and frontend programming. The tool...
    • Screenshot 2024-04-25 at 08.01.36.png
  • R
    I find it odd that SDRAM is not working well with FlexIO & DMA.. On the original version of the devboard, @Dogbone06 has just standard T4.1 PSRAM, and I was able to use a frame buffer in there with my Micromod 8080 library without any issues...
  • M
    Hi, I get this message building my project under PlatformIO for Teensy3.6 after some package updates. Project worked before but now build shows: .platformio\packages\framework-arduinoteensy\cores\teensy3/Print.h:118:62: error: 'vdprintf' was not...
  • C
    Update regarding this: Further review of the board showed some left over flux on pins 5 & 6 of the BAS40-05V. (Potentially shorting these pins out) Measuring the button cell battery attached it is dead (<1v but cannot sustain any load)...
    • 1.png
  • defragster
    defragster reacted to wwatson's post in the thread Call to arms | Teensy + SDRAM = true with Love Love.
    We finally have DMA working properly on the MicroMod and presumably the SDRAM Dev Board (not tested yet). My MicroMod quit while testing the 8080 mode for the ER-TFTM101-1 display. Had to reposition the MCU board in the connector. It's working...
  • R
    revati replied to the thread Freertos with teensy 4.0.
    vice versa also I tried. but it is not working can anyone help me in this.
  • R
    Rezo reacted to wwatson's post in the thread Call to arms | Teensy + SDRAM = true with Love Love.
    We finally have DMA working properly on the MicroMod and presumably the SDRAM Dev Board (not tested yet). My MicroMod quit while testing the 8080 mode for the ER-TFTM101-1 display. Had to reposition the MCU board in the connector. It's working...
  • wwatson
    We finally have DMA working properly on the MicroMod and presumably the SDRAM Dev Board (not tested yet). My MicroMod quit while testing the 8080 mode for the ER-TFTM101-1 display. Had to reposition the MCU board in the connector. It's working...
    • DMA_FlexIO_MM.jpg
  • J
    Sounds a bit like the same thing I saw when I tried using SDRAM with FlexIO VGA output, using DMA to feed the shifter registers - DMA was too slow to keep up with the higher pixel clocks. Yet somehow the eLCDIF module (which has its own bus...
  • KurtE
    @mjs513, looks interesting. Wonder what the differences are from the DMA and non-dma? Other than the obvious. Like when we are not using DMA operation, the new data is written to the cache, and only later, when necessary, it flushes it out to...
  • D
    Once I figure out how to do all that in Arduino code, I'll be sure to keep that little gotcha in mind 😅 I might end up using both the GPTs and quad timers, ideally I'd like to have eight different trigger pulses, but with each GPT having only...
  • KurtE
    KurtE reacted to mjs513's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    Ok folks got the SDRAM adapter board setup and running with a OV5640 @VGA with a few caveats. When I first hooked it up the camera clock is was set at 10Mhz which works nicely with a regular Micromod. However, with SDRAM and using SDRAM...
  • mjs513
    Ok folks got the SDRAM adapter board setup and running with a OV5640 @VGA with a few caveats. When I first hooked it up the camera clock is was set at 10Mhz which works nicely with a regular Micromod. However, with SDRAM and using SDRAM...
    • Image_20240424_152117.jpg
    • Image_20240424_152148.jpg
    • Image_20240424_202032.jpg
  • J
    The quad timers can also run off an external signal, up to a frequency of bus clock / 2 (typically 75MHz). They're 16-bits, but multiple timers can be cascaded to get 32-bits.
  • T
    thebigg replied to the thread ShiftPWM library compile error.
    Seems like its using the "wrong" library. (Temporarily?) get rid of C:\Users\*****\Documents\Arduino\libraries\ShiftPWM and retry the build
  • PaulStoffregen
    To configure the input pins, you'll need to write to the mux registers and also the select input registers. IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_02 IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_03 IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_04...
  • PaulStoffregen
    One small gotcha... before you access any of the GPT2 registers, enable its clocks by setting the CCM_CCGR0_GPT2_BUS and CCM_CCGR0_GPT2_SERIAL bits in the CCM registers.
  • D
    It indeed appears that they will do exactly what I'm looking for. That is a tremendously helpful feature. I was just about to start searching for this information. Thank you for the quick, very helpful answer Paul. Now I need to do some...
  • T
    Hi, it was the same issue as stated by others , i didnt know wich page was everyone reffering to Thanks for your reply! :)
  • T
    Hi Paul , yes i figured out wich page where you referring , everything is functioning now Thanks
  • PaulStoffregen
    Some pin mapping info which might help: GPT2_CLK is on pin 14 (AD_B1_02 mux = ALT8) GPT2_CAPTURE1 is on pin 15 (AD_B1_03 mux = ALT8) GPT2_CAPTURE2 is on pin 40 (AD_B1_04 mux = ALT8) - Teensy 4.1 only
  • PaulStoffregen
    Quick answers I believe the GPT timers might able to do this. In the reference manual, see Figure 52-2 on page 3015, and section 52.3.1 on page 3016. The GPT timers are also 32 bits wide, which is much simpler than dealing with only 16 bits...
  • B
    Thanks so much for the quick reply, Paul. I'm embarrassed by the first drawing I posted, so I made a new and accurate one below. Both power supplies are connected to mains earth, but I'll double check all the connections to make sure they're ok.
    • Screenshot 2024-04-24 at 7.00.15 PM.png
  • PaulStoffregen
    I don't see any connection in this diagram between Teensy and the dual motor driver. Assuming there is indeed a connection for Teensy to control the motors, check the GND wire. Perhaps GND is not properly connected between them? And maybe that...
  • D
    Can any of the timers within the Teensy 4.1 be incremented using an external clock signal, rather than the internal oscillator clock? My goal is to have a timer running off an external 10MHz square wave signal. I could then have a pulse on a...
  • B
    Hello! I've found this forum incredibly helpful in the past, but this is my first time reaching out with a question. I'm working on a project that seems like it should be simple, but I'm being deviled by a problem that I think is electrical...
    • Screenshot 2024-04-02 at 5.47.06 PM.png
  • C
    I'm trying to use the ShiftPWM library to control 13 LEDs with 795 shift registers. I'm pretty sure I had this working a few months ago, so I suspect either I've done something wrong or an update to something has broken it. The compile error I...
  • D
    I'm looking for suggests on how to proceed here: A few seconds after boot I may find an I2C device connected to the Teensy 4.0 and it would be great if I could add a new device to the USB descriptors. The device is a variant of a HID device - a...
  • ninja2
    Still looking for help with this ... perhaps if I re-word: To re-use my proven code with lots of "Wire." entries on Wire2 on my T3.6 I am using: #define Wire Wire2 but only in the RTC and EEPROM tabs, leaving the SSD1306 OLED on Wire0 This is...
  • mjs513
    mjs513 reacted to KurtE's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    I slightly updated @mjs513 copy of it he sent recently. In that I filled in more information about the newer pins I Hid most of the columns, which shows: The ones in Yellow are the ones we do not have. 3 are critical for CSI (D3-D5) The...
  • PaulS
    This example perhaps? Paul
  • M
    Connecting a motor direct to pin 8 of the Teensy? That doesn't sound safe, back EMF, burn out the pin through overcurrent, ESD through handling the motor - several ways this could be bad news.
  • M
    Yes, its an unmodified Audio adapter D that I've had for a while but only just soldered headers too and started using. Since the QA403 has high input impedance the caps distortion should be relatively low. I hope they are C0G/NP0 type...
    • ceramic-cap-residual-2.png
  • KurtE
    I slightly updated @mjs513 copy of it he sent recently. In that I filled in more information about the newer pins I Hid most of the columns, which shows: The ones in Yellow are the ones we do not have. 3 are critical for CSI (D3-D5) The...
    • 1713990709528.png
    • 1713990458500.png
  • M
    Yes I think 80kHz for the measurement bandwidth - which may be a little unfair. Well you could measure it directly by sending to USB and capturing the raw data without using any DAC for a definitive answer - the SGTL DAC is clearly dominating...
  • A
    You would need use Teensyduino 1.59 and unfortunately you have to change your Teensy 4 core file in cores/Teensy4 for that. (Maybe first make a copy of that folder.) Copy the content of...
  • A
    The above is designed to use the CapacitiveSensor library not the native touch pins of the Teensy LC, 3.0, 3.1, 3.2 & 3.6, it is a completely different beast that is why I started this thread.
  • mjs513
    Pin 2 is going to T_IRQ. I switched RST from 3.3v to pin 3, per the test sketch (D'OH!), and my Hello World message appeared. Thank you very much for the second set of eyes!
  • M
    Hey blazini36, I'm the author of this project and I just came across your work. Nice work on creating an updated PCB. Feel free to contact me via direct message, and I can help getting the configuration UI running. The UI is needed, at least...
  • PaulStoffregen
    Usually when that happens to me its the wiring. On quick review looks like you have RST got to 3,3v so either have RST set to 255 or hook it up to pin 3. Looks like you have pin 3 going to one of the touch pins? I would start by not hooking up...
Back
Top