Latest activity

  • N
    I know there is a post on the forum where pjrc has described the limitations on using Pin 13. I need to see it because I'm trying to use every pin on my T4.1 and I need to check that my usage of 13 will not break the rules. So my question is...
  • P
    Pio replied to the thread Stereo guitar/bass cabinet emulation.
    There is a way to add/use different impulse responses, but i haven't gotten to test it thoroughly yet. I have made a python script that converts the wav files into c arrays. Will be added in the foreseeable future. If you want to play with it...
    • TeensyGuitarAmp_v1_3.gif
  • D
    domingo replied to the thread LED PWM without resistor.
    Thank you @sndsgd, I'll take a deeper eye into neopixels but now I want to keep it really simple and I'm struggling with the code. I need some 'delays' because otherwise blinking goes too fast. I want the LED combination to stay ON for a while...
  • R
    We copied the Micromod pin pad labels, that's why it says BATT_IN - it's a Micromod label. It is wired to 3.3v on the ATP board and any other MM carrier board with a voltage divider. But it's just a GPIO, so can be used for anything else on the...
  • R
    Hi everyone, I am trying something seemingly simple, yet I can't seem to get it working reliably. What I want: - receive external trigger via hardware pin, this defines our t0 timepoint - send delayed by synchronized output signals (flashing...
  • E
    Smartled shield uses a low profile reverse entry socket mounted on the bottom of the board. The teensy is on the top of the board with the lowest profile available. The thin sockets I use are custom made in China, but I know thicker ones are...
  • K
    This is very impressive! I was looking for those impulse responses but I could not find them and wondered if they could be changed? I would like to try using impulses I created for my acoustic guitar when I get missing parts to my Teensy 4.1...
  • PaulS
    Or short press-fit header pins? Link. Paul
    • 1710831911516.png
  • M
    Definitely not. For one thing, the exception would remain active and could not be triggered again (along with any other lesser priority exceptions).
  • M
    M.K. reacted to AndyA's post in the thread 100 MHz parallel bus control with Teensy 4.1 with Like Like.
    Any reason you didn't look at using the FlexIO interface to reduce the CPU loading slightly? If you pick the correct pins you can get 16 bits wide that way. I've used that to run an 8 bit parallel bus at 120 MHz without any issues, in theory it...
  • M
    My gut feeling is the timing difference you're seeing is indeed "innate black magic of the processor", also called "branch prediction".
  • M
    You don't need to refill all the registers at the same time. You could keep refilling only the "top" register after every two transfers which would hide any variable latencies.
  • h4yn0nnym0u5e
    Use a nutsert instead of the “closest overhead part” steel nut?
    • 1710830728773.jpeg
  • PaulS
    In combination with these kind of pins for the Teensy? Link. Paul
    • 1710830266748.png
  • h4yn0nnym0u5e
    Yes, that’s right, you can use both TDM channels at once. Can’t claim to have checked the pin numbers you gave though :) Doesn’t matter whether they’re CS42448 or PCM3168. There’s also this thread and linked pull request which suggests that it...
  • PaulS
    Are these an option? 2.11 mm clearance. Specification here. Paul
    • 1710829279876.png
    • 1710829412442.png
  • Y
    If two PCM3168As were connected to TDM and TDM2 of a Teensy 4.1, will it be able to receive a total of 12 audio inputs? When using two CS42448, which were connected to TDM and TDM2 of a Teensy 4.1. TDM was "7:OUT1A, 8:IN1, 18:SDA, 19:SCL...
  • defragster
    Somewhere in history back @mjs513 posted these images of the bare DevBoard I got and scanned associated with the pin names. These are in the DOCS folder of the original github by @defragster that got abandoned when the lib was forked ... not sure...
    • DevBd_v4_XLrighy.png
    • DevBd_v4_XLleft.png
  • Gefu
    Sorry for the type errors. For people learning to write Chinese/Japanese characters, the order and of brush or pen strokes is very important to the production of legible and elegant characters. So when the photosensor array detects the...
  • Gefu
    Hello Mark, I will respond to the questions I am able to from your post. First: Sample rate, I have no idea but I suppose it does not need to be very fast as the photosensors are not responding to audio. The sensor signals work in...
  • R
    Rezo reacted to jmarsh's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    Finally got around to sitting down and mapping out all the exposed pins properly and found something odd - there's a pin labelled BATT_VIN/22/A8. My first thought: "how can this pin be both BATT_VIN and an I/O pin?" The answer is it can't/isn't...
  • Gefu
    Aesthetics indeed takes precedence over all for me. Your message is very kind. I'll show you when it's all in order!
  • J
    Finally got around to sitting down and mapping out all the exposed pins properly and found something odd - there's a pin labelled BATT_VIN/22/A8. My first thought: "how can this pin be both BATT_VIN and an I/O pin?" The answer is it can't/isn't...
  • ishotjr
    ishotjr reacted to pgi's post in the thread Midi Foot Controller with Teensy LC with Like Like.
    Hi to all, I've made a midi foot switch controller based on the Teensy LC. Features: 8 assignable footswitches Bank selection 2 expression pedals connectors with TRS/RTS switch USB Midi input and output Midi DIN output (TODO) LED feedback...
  • ishotjr
    Piccolo 4C Black is a stochastic MIDI sequencer developped since a few years ( around 2016) in solo I decided in 2023 to make its code and the schematics public, so here is is : https://github.com/SylvainVanIniitu/Piccolo-4C-Black...
  • D
    DrM replied to the thread T4 interrupt latency and etc.
    @PaulStoffregen Yes, it was the attachInterrupt() that I was concerned about. In interrupt.c, at line 89 it invokes NVIC_ENABLE_IRQ(IRQ_GPIO6789); Does that mean that interrupts become enabled again while I am still in my ISR? I thought...
  • PaulStoffregen
    Try detachInterrupt() and then attachInterrupt() again.
  • D
    DrM replied to the thread T4 interrupt latency and etc.
    @PaulStoffregen Hi Paul, it works! Thank you. I have one question though, how do we restore the generic interrupt handler? Trying to load it with attachInterruptVector() gives an undefined reference. Another strategy, actually the one I...
  • B
    Ends in a Q. Thanks Paul.
  • L
    ladansedesdamnes replied to the thread Teensy usb midi problem.
    Ok, so for anyone coming to this thread in the future with a similar problem, here's the sequence of steps that seem to have resolved my issues: make sure midi ports are closed in midi host application close serial monitor upload sketch open...
  • PaulStoffregen
    First quickly check if your CM used the correct flash part. The Winbond parts with "Q" at the end do not work and will give this 3 blink error. Only the "M" parts work.
  • ishotjr
    Hi everyone! I've been experimenting with Teensy for a few years now, and I'm excited to share my latest project with you. I built a drone synth pedal using a Teensy 4.1 with the audio board. The forums here were an amazing repository of...
  • Davidelvig
    I found this post in the forum and it's helpful, but not conclusive in my case. I'm now mounting a "Teensy 4.1 Pins" to my daughterboard as pictured I'd like to use pluggable sockets instead (to allow testing a daughterboard without soldering a...
    • IMG_0817.JPG
    • 1710798059591.png
    • IMG_0816 copy.jpg
    • 1710800056460.png
  • PaulStoffregen
    3 blinks means a problem with the flash memory. Blink code are on the T4 bootloader chip page. Scroll down to "Troubleshooting & Diagnostic Blink Codes" near the end,
  • I
    Hi everyone, it's been a long time since I used the teensy board and the forum in general. Lately I accidentally saw the M8 project and it gave me a new desire to dig out my old Teensy 3.2 with sound card. (I already ordered a 4.1, it's on the...
  • J
    Ok, got it kinda working on pin 8. As in, sound plays when I try combining sounds in the setup() section. However, when I combine it in the loop() section, where everything comes together, I do not hear any sound. This setup used to work with a...
  • J
    That is the GPIO handler that I mentioned. It doesn't apply to ISRs in general, e.g. ADC, timers, FlexIO...
  • R
    I purchase boards for max485 from aliexpress (15 for about $8) https://www.aliexpress.us/item/3256804762205952.html?spm=a2g0o.order_list.order_list_main.23.c7c41802QfPTzK&gatewayAdapt=glo2usa It seems to work fine for my test of about 30 feet of...
    • max485 transceiver circuit.jpg
  • B
    When I press the prog button, i get 3 red blinks.
  • J
    You don't need to refill all the registers at the same time. You could keep refilling only the "top" register after every two transfers which would hide any variable latencies.
  • PaulStoffregen
    This sort of error can be caused by missing or wrong connections between the bootloader and RT1062, or between the RT1062 and flash memory. Is the red LED giving any of the blink codes? Blinking twice or 4 times would be the likely errors.
  • L
    ladansedesdamnes replied to the thread Teensy usb midi problem.
    Some days gone by, @PaulS ' solution drastically reduced hanging, but it still happens from time to time with midi ox being unable to close the midi port, forcing me to reboot the computer. I believe this is tied to Serial monitor being open.
  • S
    Hi, I am building a full size BB8 robot for a university project that uses an Arduino GIGA and I need to drive it with a wireless controller. I have a wireless Xbox360 controller and receiver that I have been trying to use but I've been having...
  • D
    DrM replied to the thread T4 interrupt latency and etc.
    Okay, with that ado, and pending comments, I'll give it a try, on labrat hardware, and see what happens.
  • D
    DrM replied to the thread T4 interrupt latency and etc.
    @PaulStoffregen P/S - further thought on the previous. I think i need to restore the previous interrupt handler when I am done, so that external triggers will be recognized again. That would mean doing something like this before i leave the...
  • B
    Also, when the prog button is pressed briefly, the image on the teensy loader program briefly changes to the MIMXRT chip when normally it would show the "erasing, reprogramming" dialog.
    • Capture.PNG
  • B
    i built an audio sketch on a box running x86-64 using arduino ide 2.2.1 and followed the instructions at https://www.pjrc.com/teensy/td_download.html to get the teensy library installed from https://www.pjrc.com/teensy/package_teensy_index.json...
  • B
    We just received our custom chip down 4.1 boards from our CM, but have not been able to initialize them yet. The first 2 would not respond to the 15 second PROG button procedure. There is a brief flash, but then no solid red on release. The...
  • S
    sndsgd replied to the thread LED PWM without resistor.
    Regarding Domingo's recommendation to use neopixels, I'd also highly recommend them, especially if you have one of the pins that Paul's WS2812Serial library utilizes. It allows you to control n RGB leds using a single serial tx pin. So if you...
  • S
    I have an update on this: the pcb I ordered from my first pass at the schematic appears to work correctly! I ended up adding some jumper pads for IM* pins in case I had chosen the incorrect interface mode, but it seemed to work when I soldered it...
    • render-back.png
    • render-front.png
    • 2024-03-18-103357-screenshot.png
    • 2024-03-18-104342-screenshot.png
    • render-front-cutout.png
Back
Top