Latest activity

  • A
    antovsky replied to the thread 60Hz+ display refresh rate?.
    Thanks that's exactly what I was looking for! :D
  • defragster
    Yes, QNEthernet retrieves the Teensy's stored MAC.
  • mjs513
    Every Teensy 4.1 comes with a unique mac address. It's stored in the non-volatile fuse memory of the IMXRT1062 processor, not the PHY chip. The mac address is written into fuse memory by PJRC during product testing. The upper 24 bits are an...
  • h4yn0nnym0u5e
    Great - I'll probably wait for that before re-testing. I think there are severe difficulties catering for all possible combinations of interface, due to the lack of available PIDs. I don't believe Paul documents which ones he has available, and...
  • B
    Hi, Mark! Thanks a bunch for posting this. I am new to Teensy and beginner level with electronics, c, c++. I am going to give this a try! 73 Pete W7PMA
  • S
    In case anyone finds it helpful I've put together a guide on how to create a custom joystick interface for the Teensy 4.1. The guide includes adding a custom USB Type to the Teensy boards list for the Arduino IDE, creating your own custom...
  • R
    Great stuff, I am playing with it and looks like most things compile. I have tried to reenable the frame buffering in the fb and clip test and the screen is not changing color... Will debug. Maybe easier to restart it from another copy of that...
  • D
    danielmtzz replied to the thread DSP between 0.1 Hz - 500 Hz.
    Great! I will try that! Thanks again!
  • J
    You can control the amplitude, either keep it the same or make it whatever you want. Consider the identities below from the trusty Wikipedia page. sin ⁡ ( α ± β ) = sin ⁡ α cos ⁡ β ± cos ⁡ α sin ⁡ β cos ⁡ ( α ± β ) = cos ⁡ α cos ⁡ β ∓...
  • D
    danielmtzz replied to the thread DSP between 0.1 Hz - 500 Hz.
    One last question: Will the variable phase delay approach you describe also change the amplitude of the signal? If I'm adjusting corner frequencies in filters, I will unavoidably also affect the magnitude response of the desired signal? I'm...
  • D
    danielmtzz reacted to joepasquariello's post in the thread DSP between 0.1 Hz - 500 Hz with Like Like.
    We use MCP4922, but check specs
  • J
    We use MCP4922, but check specs
  • D
    danielmtzz replied to the thread DSP between 0.1 Hz - 500 Hz.
    Thanks for the response Joe. Which SPI do you recommend?
  • J
    The simple and clever way that I have seen to generate a sinusoidal signal with a variable phase delay is as follows: signal A --> band-pass X Hz --> signal B --> low-pass X Hz --> signal C this results in B being in phase with A, and C being 90...
  • J
    My "cheat sheet" for identifying the FlexPWM signals is FreqMeasureMultiIMXRT.cpp. Pin 33 is FlexPWM 2.0.B I can't tell from your code what you want the relationship of CS to be to the PWM edges, but I think you should be able to do what you're...
  • wwatson
    Good luck:)
  • P
    Thanks Paul. And am I correct in assuming the code I posted in the original post above will retrieve that MAC? (using the QNEthernet.h)
  • P
    Every Teensy 4.1 comes with a unique mac address. It's stored in the non-volatile fuse memory of the IMXRT1062 processor, not the PHY chip. The mac address is written into fuse memory by PJRC during product testing. The upper 24 bits are an...
  • PaulStoffregen
    Every Teensy 4.1 comes with a unique mac address. It's stored in the non-volatile fuse memory of the IMXRT1062 processor, not the PHY chip. The mac address is written into fuse memory by PJRC during product testing. The upper 24 bits are an...
  • D
    Hello! I'm new here and don't have a lot of background with microcontrollers. Detailed explanations would be greatly appreciated :) I have an application where I need to read sensor data that's primarily composed of discrete tones between 0.1 Hz...
  • A
    Hi! I am new to microcontrollers and i am not used to create high performance code. Looking at the library source code, the AudioSynthWaveformSine class, i have noticed that values of phase_accumulator and phase_increment class members are...
  • C
    Ok, after I quite excessively tested the new version, I pushed the changes. Even if I mostly only moved code around, I was worried that I messed something up. Indeed it did not work at the beginning and I found a bug that was not related to my...
  • A
    Hey wwatson, thanks to point me that,i will try now the alex6679 tweaks (y)
  • A
    Ok, after I quite excessively tested the new version, I pushed the changes. Even if I mostly only moved code around, I was worried that I messed something up. Indeed it did not work at the beginning and I found a bug that was not related to my...
  • wwatson
    Look in "arduino-1.8.19/hardware/teensy/avr/cores".
  • P
    Maybe Shawn can help me? I want to use a unique ID on the Teensy. Does the PHY chip on the T4.1 have a unique MAC address? I see one can get the MAC as follows: uint8_t mac[6]; Ethernet.macAddress(mac); // This is informative; it retrieves...
  • A
    Hi to all, i would like to replace files in the teensy core,like alex6679 wrote in his github fork: https://github.com/alex6679/teensy-4-usbAudio "Tested with Teensyduino 1.59In order to use it, copy the files of 'changedCorefiles' into...
  • C
    @h4yn0nnym0u5e: This are good news. Thanks also for fixing the include of AudioStream.h in usb_desc.h. I am currently testing some changes I made to the AudioInputUSB and AudioOutputUSB (not pushed yet). To understand my changes some background...
  • h4yn0nnym0u5e
    That sounds a very useful approach. I should probably consider something similar for my filesystem streaming updates, which currently only support 16 bit WAV but would be more useful if they allowed for higher bit depths. Especially the case if...
  • wwatson
    Great stuff, I am playing with it and looks like most things compile. I have tried to reenable the frame buffering in the fb and clip test and the screen is not changing color... Will debug. Maybe easier to restart it from another copy of that...
  • mjs513
    Great stuff, I am playing with it and looks like most things compile. I have tried to reenable the frame buffering in the fb and clip test and the screen is not changing color... Will debug. Maybe easier to restart it from another copy of that...
  • KurtE
    Great stuff, I am playing with it and looks like most things compile. I have tried to reenable the frame buffering in the fb and clip test and the screen is not changing color... Will debug. Maybe easier to restart it from another copy of that...
  • KurtE
    @KurtE well done on the chages to the FlexIO library as well as the display driver. I think this brings us closed to one library that supports all boards, be able to automatically detect which instance to use as well. Eg 8-bit with DMA on a...
  • P
    Just to disambiguate some terms: The Teensy 4.1 has support for “native Ethernet”, meaning there’s a PHY chip on-board for interfacing with Ethernet ports. There’s also a library called “NativeEthernet” that happens to be included with the...
  • A
    alex6679 reacted to toyosm's post in the thread Ticking Noise with USB with Like Like.
    Tried this today, so far works like a charm!!. Replaced the core files (made a backup just in case) and worked. It does consume more AudioMemory than the stock usb. In my program used 20 blocks before (mostly to pass samples between blocks) and...
  • A
    @h4yn0nnym0u5e: This are good news. Thanks also for fixing the include of AudioStream.h in usb_desc.h. I am currently testing some changes I made to the AudioInputUSB and AudioOutputUSB (not pushed yet). To understand my changes some background...
  • PaulS
    PaulS replied to the thread Connect Mulitplexer and Teensy 4.0.
    You're welcome. Feel free to share your schematic (preferably in PDF format) and code for review when you come to that point. There is also a ready-to-go library for the ADG731: here. Paul
  • N
    thanks! appreciate it alot
  • N
    nikimee reacted to PaulS's post in the thread Connect Mulitplexer and Teensy 4.0 with Like Like.
    A lot of information can be found at https://www.pjrc.com/store/teensy40.html. The ADG731 multiplexer information can be found here. It is controlled by SPI. More info on SPI and Teensy can be found here. Teensy 4.0 Eagle library here. Paul
  • P
    Thanks Shawn. I used your QNEthernet and the Ethernet kit from PJRC, and it works a treat! I am gobsmacked at the speeds I am getting. Revolutionised my project TBH.
  • S
    Just to disambiguate some terms: The Teensy 4.1 has support for “native Ethernet”, meaning there’s a PHY chip on-board for interfacing with Ethernet ports. There’s also a library called “NativeEthernet” that happens to be included with the...
  • S
    Just some feedback, I used the following code with the QNEthernet library char url[300]; sprintf(url, "POST /xxx.php HTTP/1.1\r\nHost: lexxatrexxa.co.za\r\nontent-Type: application/octet-stream\r\nConnection...
  • M
    Hi, I am revisiting an old project where a T4.1 is controlling ancient IC's on an 8-bit parallel bus with 1MHz clock generated by a PWM on pin 33. So far I have toggled the CS asynchronous to the clock. This works, but sometimes waste write...
  • J
    jvphotog reacted to toyosm's post in the thread Ticking Noise with USB with Like Like.
    Tried this today, so far works like a charm!!. Replaced the core files (made a backup just in case) and worked. It does consume more AudioMemory than the stock usb. In my program used 20 blocks before (mostly to pass samples between blocks) and...
  • C
    chrisk replied to the thread Teensy 4.1 Debug Mod Project.
    I took the trip down the Teensy debug rabbit hole by following Spencez'e excellent guide and Kicad files. I purchased several Teensy 4.1's from Amazon to serve as my guinea pigs. I converted the Kicad PCb files to Gerber using the instructions on...
  • jim lee
    jim lee replied to the thread tone() question...
    IS this what I'm looking for? https://github.com/PaulStoffregen/Audio
  • jim lee
    jim lee replied to the thread tone() question...
    Ok, so to start. I have MIDI file on SD card, how do I play it on my piezo speaker using these libraries? What do I need to grab? -jim
  • jim lee
    jim lee replied to the thread tone() question...
    Yeah, it is. I always suspected this kind of stuff was in my little 3.2s but never was in "the area" to learn about it. This all started with writing a silly game for my handheld and wanting short tunes to play on the piezo speaker when stuff...
  • PaulStoffregen
    PaulStoffregen replied to the thread tone() question...
    Something else you might consider when writing code using tone() is almost every Arduino compatible board has a slightly different implementation. Behavior of tone() differs when you suddenly stop the output with noTone() rather than letting it...
  • PaulStoffregen
    PaulStoffregen replied to the thread tone() question...
    You can also of course use the audio library. Teensy 3.2 can synthesize and mix dozens of waveforms and Teensy 4.0 can handle hundreds of voices. You can output the final mixed result using the DAC pin on Teensy 3.2 or MSQ on Teensy 4.0. Or...
Back
Top