Dogbone06
Reaction score
176

Latest activity Postings About

    • Dogbone06
      Dogbone06 reacted to PaulStoffregen's post in the thread Teensyduino 1.60 Beta #3 with Like Like.
      Let's put newlib rebuild off until at least 1.61. After we wrap up the Black Friday Sale tomorrow, I'm going to go on a sprint to get MTP merged, and then a series of beta releases leading up to 1.60 release with MTP. Might merge some other...
    • Dogbone06
      Dogbone06 replied to the thread SAI3 Audio alternate pins.
      ...: SOLUTION :... Thanks to the good people of this community SAI3 for Audio is possible! 👏 SAI3 can be used by using the files below for Audio Output. Here's how to do it. NOTE: This uses the following pins for SAI3 Audio Output. SD_B1_01...
    • Dogbone06
      Dogbone06 reacted to jmarsh's post in the thread SAI3 Audio alternate pins with Love Love.
      You don't seem to be setting the selector registers (*_SELECT_INPUT_0) for all the pins? So some of them will still be trying to use the EMC_* pins instead of SD_B1_*. Setting the pre and post divider for the SAI3 clock needs to be done in...
    • Dogbone06
      Dogbone06 replied to the thread SAI3 Audio alternate pins.
      IT WORKS!!! The CCM_CS1CDR was the last caveat!! 😁
    • Dogbone06
      Dogbone06 reacted to h4yn0nnym0u5e's post in the thread SAI3 Audio alternate pins with Like Like.
      Getting a bit late here in the UK … then again, maybe sleep will cause inspiration! If I get a chance will look in more detail tomorrow, but time will be limited, family visiting. If this proves stubborn, do you have a way to get some hardware...
    • Dogbone06
      Dogbone06 replied to the thread SAI3 Audio alternate pins.
      If it proves stubborn, yes I could provide hardware. Thanks for checking, I hope this will also help others making custom stuff in the future. :)
    • Dogbone06
      Dogbone06 reacted to h4yn0nnym0u5e's post in the thread SAI3 Audio alternate pins with Like Like.
      Library mods look OK, though of course hard to tell without hardware… Your test code is incomplete, of course … the classic error here is to forget AudioMemory(<enough>) in setup(); 10 is usually <enough> for simple audio not using TDM etc.
    • Dogbone06
      Dogbone06 reacted to h4yn0nnym0u5e's post in the thread SAI3 Audio alternate pins with Like Like.
      Oh, and amplitude() takes a float from 0.0 to 1.0…
    • Dogbone06
      Dogbone06 replied to the thread SAI3 Audio alternate pins.
      Thanks for these pointers, I've changed that as well but still no audio. Maybe it's some other factor. Or other register that does not have the name to search for. I have now also created: input_i2s3.cpp input_i2s3.h I attach them below, same...
    • Dogbone06
      Dogbone06 replied to the thread SAI3 Audio alternate pins.
      This is what I have done: * Audio.h now also includes output_i2s3.h * Copied files: output_i2s2.cpp output_i2s2.h and made them into output_i2s3.cpp output_i2s3.h * Inside the new files I have renamed all names that contain: - SAI2 -> SAI3, a...
    • Dogbone06
      Dogbone06 replied to the thread SAI3 Audio alternate pins.
      That's actually very cool! I've made the I2S3 files for output, no success yet, but I will do the Input as well for the sake of it. And I added output_i2s3.h as include in Audio.h
    • Dogbone06
      Dogbone06 reacted to h4yn0nnym0u5e's post in the thread SAI3 Audio alternate pins with Wow Wow.
      I²S can do two channels with a single audio data pin - that's what LRCLK is for, to signal the switch from left- to right-channel data. Depending on how the /SD_MODE pin is wired on your amplifier(s), you could fit two MAX98357s and have stereo...
    • Dogbone06
      Dogbone06 reacted to h4yn0nnym0u5e's post in the thread SAI3 Audio alternate pins with Like Like.
      Depending on your hardware, you might need MCLK as well as BCLK (alt. pin on the next datasheet page...)
    • Dogbone06
      Dogbone06 replied to the thread SAI3 Audio alternate pins.
      I have other hardware where I use the original pins. Using a 3W amplifier (MAX98357) and only 3 pins. It works great, so I figure I can do the same here but with SAI3 instead. This would be for Mono audio I believe(?). If I want left and right I...
    • Dogbone06
      Dogbone06 reacted to h4yn0nnym0u5e's post in the thread SAI3 Audio alternate pins with Like Like.
      You probably could - not true the other way around, because the hardware initialisation is in output_i2s2.cpp. A full implementation would do both, add the objects to the Design Tool, including adding the clash markers with MQS, and edit...
    • Dogbone06
      Dogbone06 replied to the thread SAI3 Audio alternate pins.
      I'll give this a solid try by copying the i2s2 files and naming them i2s3. If I am successful I will share the files here to help others that want to use SAI3 on their custom setup.
    • Dogbone06
      Dogbone06 reacted to h4yn0nnym0u5e's post in the thread SAI3 Audio alternate pins with Like Like.
      The Audio library currently uses SAI3 to generate MQS audio. That being said, a very quick look at the datasheet suggests you could make modified versions of the I2S2 files, changing the registers from I2S2 to I2S3, and some of the pin...
    • Dogbone06
      Dogbone06 replied to the thread SAI3 Audio alternate pins.
      Thanks for your reply! As I'm not using a Microphone, I could skip the input file, correct?
    • Dogbone06
      Hey, nice work! This Teensy MM driver, is it something you can share?
    • Dogbone06
      Hey! I've been looking into the Teensy Audio library and it's very extensive. Many many files. The original Teensy Audio pins are (SAI2): I am using SAI3 and the following pins, which are alternates from the 1062 datasheet: Image from...
      • 1732911449292.png
      • 1732911504806.png
      • 1732911567135.png
    • Dogbone06
      Dogbone06 reacted to defragster's post in the thread Teensy and ESP32 - for WiFiNina with Like Like.
      Me too. Those pin numbers match what was found and marked to work on the prior page! p#6 What ESP32 variant is onboard?
    • Dogbone06
      Dogbone06 reacted to BriComp's post in the thread Teensy and ESP32 - for WiFiNina with Like Like.
      Yes please! EDIT: By the way what pins/connections did you bring out?
    • Dogbone06
      Dogbone06 reacted to wwatson's post in the thread Teensy and ESP32 - for WiFiNina with Like Like.
      I am interested:)
    • Dogbone06
      It features the chip antenna but that can be changed later on, the idea is to have something custom that works as WiFi for the Teensy. Once it does I will post the Gerber, schematic and all to ease other peoples development.
    • Dogbone06
      Dogbone06 reacted to defragster's post in the thread Teensy and ESP32 - for WiFiNina with Like Like.
      p#21 came together using this set of PIN GPIO ##'s in GREEN boxes on the DevKit PICO D4 board based on those shown here on the AdaF schematic - and wiring as shown above to the Teensy - just like the prior 4201 Breakout images.
    • Dogbone06
      Dogbone06 reacted to mjs513's post in the thread Teensy and ESP32 - for WiFiNina with Like Like.
      From what I remember when I was hacking it, no bluetooth support,
    • Dogbone06
      Dogbone06 reacted to defragster's post in the thread Teensy and ESP32 - for WiFiNina with Like Like.
      Finally got to the AdaF WiFina source spelling out and confirming the pins it is built to use: SPISClass::SPISClass(spi_host_device_t hostDevice, int dmaChannel, int mosiPin, int misoPin, int sclkPin, int csPin, int readyPin) : // ... SPISClass...
    • Dogbone06
      I made a custom WiFi module back in the day when this was current. I never ordered the board but I looked it over and I did all the work. I will order it, do you guys one to play with?
    • Dogbone06
      Dogbone06 reacted to Paul's post in the thread Black Friday Sale 2024 with Like Like.
      PJRC will have a Black Friday sale this year. Sweet discount on Teensy 4.0 and Audio Shield. Prices to be announced when the sale starts. Sale will run Nov 25 to Dec 2, or until inventory allocated to the sale runs out. Will limit to 50 per...
    • Dogbone06
      Dogbone06 reacted to Rezo's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
      I recall reading in the RM that the PXP can work async with the eLCDIFA bit on each of their control registers needs to be enabled. Then you can feed the PXP with to partial/full screen sized buffers, it will swap between them automatically and...
    • Dogbone06
      Hey all! I'm playing with a 5" 16 bit screen using eLCDIF together with LVGL which works nicely. Me and @Rezo are a little curious on how to use the Pixel Pipeline to rotate the screen. Seems that Mike made a library. Library...
      • 1731058739940.png
      • 1731058777066.png
      • 1731058853497.png
    • Dogbone06
      The FlasherX example programs parse HEX files, and they stop parsing at the first EOF record (:00000001FF), which is the end of the application image, so if you send an EHEX file they effectively ignore the Loader Utility that follows the first...
    • Dogbone06
      DISCLAIMER: When playing with EHEX there's always a risk if you are not careful! I can finally say with certainty that FlasherX does work fine with EHEX. I've been talking back and forth with @joepasquariello who is the creator of FlasherX, me...
      • 1730060713943.png
    • Dogbone06
      Dogbone06 replied to the thread Teensyduino 1.60 Beta #3.
      Support for EHEX in PIO is a great addition, great work! I wish FlasherX could have EHEX support as well, it would bring it all together nicely!
    • Dogbone06
      Dogbone06 reacted to mjs513's post in the thread Teensyduino 1.60 Beta #3 with Like Like.
      @kd5rxt-mark gave me an idea. I deleted all things teensy from packages and staging and reinstalled 0.60.3 and then did a generate key and it started working. @defragster you might want to give it a try Generate Key and key location: Fuse...
    • Dogbone06
      Dogbone06 reacted to defragster's post in the thread Teensyduino 1.60 Beta #3 with Like Like.
      As shown in p#6 the Teensy Secure is present, but not found an option that results in anything showing activity. TaskMan shows "Arduino IDE (10)" tasks - nothing adds one - unless it is once momentarily. NOTE: Machine shutdown for UPDATES after...
    • Dogbone06
      Dogbone06 reacted to defragster's post in the thread Teensyduino 1.60 Beta #3 with Like Like.
      With Ctrl+Shift+P and : "Teensy" There it is Except nothing pops open as a sketch here on Win 11.
    • Dogbone06
      Dogbone06 reacted to mjs513's post in the thread Teensyduino 1.60 Beta #3 with Like Like.
      Morning - still on first cup of coffee. Installed on Win 11 - IDE 2.3.3 no issues. Looks like Loader buttons are working again: Now to wake up some more and figure teensy-secure - been awhile since I last used it
    • Dogbone06
      I suggest that you read through this thread. Sure it may take a little time but there's a ton of information and knowledge in here that has gathered over the course of time when we developed this. There's code and pin mappings. Which you will...
    • Dogbone06
      As far as I can remember, I never said they were ordered from JLC, what's that?
    • Dogbone06
      Dogbone06 reacted to Harry888's post in the thread Teensy 4.1, FlexCAN_T4, Filtering with Like Like.
      I solved it. First enable FIFO then SetFilters.... Here is the solution #include <FlexCAN_T4.h> FlexCAN_T4<CAN1, RX_SIZE_256, TX_SIZE_16> Can1; CAN_message_t rxMsg; void setup(void) { Serial.begin(115200); Can1.begin()...
    • Dogbone06
      Dogbone06 reacted to cgeber24's post in the thread RTC Clock Trim with Love Love.
      Thanks Dogbone06! I will give this a try! And my dog Roscoe approves of your user name!
    • Dogbone06
      You definitely can update the Teensy firmware over a serial link. Whether it can be the same one you use to update the Nextion, I don't know. I suggest you try the FlasherX examples first, to get a sense of how it works. Try the examples of...
    • Dogbone06
      That warning was put in by the original author of Flasher for the T3.2. I extended it to support all T3 and T4, thus the X,and always left in that warning. For T4, there is no way that you can brick the device, so it’s “safe” in that sense. If...
    • Dogbone06
      There are a lot of FlasherX discussion on this forum.
    • Dogbone06
      Have you looked at FlasherX?
    • Dogbone06
      Dogbone06 replied to the thread RTC Clock Trim.
      Not sure if this will work but this is what I can find. void adjustRTCTrim(int8_t coarseTrim, int8_t fineTrim) { // Disable the RTC before making adjustments RTC_CR &= ~RTC_CR_OSCE; // Clear the RTC oscillator enable bit // Set the...
    • Dogbone06
      I've never played with filter ranges. Only message ID filters. But I want to help you so this is my guess of what would work. Can't guarantee anything. #include <FlexCAN_T4.h> FlexCAN_T4<CAN1, RX_SIZE_256, TX_SIZE_16> Can1; CAN_message_t rxMsg...
    • Dogbone06
      Continuting work at a very slow pace (in between kids works wife home stuff) and I am now able to also detect BPM as part of my audio track pre analysis At first, I was going to try port queen-mary dsp tempo detection to the Teensy, but I came...
    • Dogbone06
      Is that display retail available? Or is that the one @Dogbone06 had engineered?
  • Loading…
  • Loading…
Back
Top