C
Reaction score
7

Latest activity Postings About

    • C
      I got some interesting samplerate from CD 44220Hz ? Serial Monitor: RX INPUT copy-restricted audio: bit is 0 TX OUTPUT copy-permitted audio: bit is 1 SampleRate: 44220 Test sketch: #include <Audio.h> CDTextAudioInputSPDIF3 spdif3_1...
    • C
      I can confirm Spdif IN to Spdif OUT works beautiful. :) Here is my DTS 5.1 (Digital Theater Systems) test setup. Todo: SAIx MCLK out test.
      • Teensy 4 SPDIF IN OUT TEST.jpg
    • C
      EDIT: I am reading this in the i.MX Forums: I have the SAI1 sub-system working, its used in master mode and it drives an ADC and a DAC. I have no issue with that, I use the audio pll (pll4) for root clock and all the clocks are fine. But we want...
    • C
      Yes. SPDIF_STCSCH = 1 << 21; // set copyright permitted bit in control channel. :D Hey check this out. i.MX Forums: Clocking SAI1 from SPDIF on rt1052
    • C
      I only need spdif to spdif for my best friend Technics SL-MC409 multi-disc CD changer. I just added Optical Toslink Out and I think I'm running into the copy permitted bit in the channel status. I'm also dealing with DTS CD Dolby Digital surround...
    • C
      Chris O. reacted to BitSeeker's post in the thread Teensy register manipulation with Like Like.
      Thank you. That seems to be the one I had already downloaded. @Chris O. , thank you for that list.
    • C
      Chris O. reacted to h4yn0nnym0u5e's post in the thread Modify audio on the fly, can do? with Like Like.
      Hmm ... looks like I must have worked from an old revision of the Reference Manual. Which might be why I was getting the occasional clicking, and the clock routing was removed from the Rev 3 manual But then the Rev 3 change list has I think I...
    • C
      Chris O. reacted to h4yn0nnym0u5e's post in the thread Modify audio on the fly, can do? with Love Love.
      Wow, that’s a blast from the past :D do let us all know if it works for you. I never did figure out why the SAI1 glitches when synced to S/PDIF… Maybe I should have another look. Odd about the data sheet difference.
    • C
      Chris O. reacted to Droptopz's post in the thread AES67 Audio Teensy 4.1 with Love Love.
      The 4.1 is a awesome development board. I have put together a AES67 Audio-over-IP implemented on the Teensy 4.1. Thank you to everyone for the Teensy creation and community. Awesome library's that made this possible...
    • C
      I'm about to test this but It took me awhile to figure out this piece of code: SPDIF_STC_TXCLK_SOURCE(2) 2 ??? if (syncToInput) { SPDIF_STC = SPDIF_STC_TXCLK_SOURCE(2) | // tx_clk input (from SAI1 / MCLK3 = SPDIF...
      • RT1060.jpg
      • community.nxp_RT1052 SPDIF_STC.jpg
    • C
      Ouch... sometimes I really don't see the obvious.
    • C
      Chris O. replied to the thread Teensy register manipulation.
      • GPIO6.jpg
    • C
      Chris O. replied to the thread Teensy register manipulation.
      Teensy 4.x use GPIO6 by default see --- cores\teensy4\startup.c. #if defined(__IMXRT1062__) // Use fast GPIO6, GPIO7, GPIO8, GPIO9 IOMUXC_GPR_GPR26 = 0xFFFFFFFF; IOMUXC_GPR_GPR27 = 0xFFFFFFFF; IOMUXC_GPR_GPR28 = 0xFFFFFFFF...
    • C
      Chris O. reacted to Anton2k's post in the thread Teensy 4.1 - no voltage on usb host with Like Like.
      Figured it out after cracking out my big thick glasses, I stupidly seen that I had the tinest bit of solder bridging the component circled in read, gently removed it and boom! voltage!
    • C
      Hey again @Chris O. , I've looked at this more deeply and I think you actually gave me a great suggestion! Apologies for dismissing it so quickly. I couldn't see it at first. Also, I don't want to have another board on top of the custom PCB I'm...
    • C
      Chris O. replied to the thread Teensy register manipulation.
      Just few notes: Teensy 4.x is only 3.3v max. I only use Open-Collector for control lines and SN74LVC4245A push pull for data lines. NOTE the LVS not LS (too slow) // SN74LS07 Hex Buffers and Drivers With Open-Collector High-Voltage Outputs //...
    • C
      You are right there are no secondary buffers, however if you are using the frame buffer mechanism within the library, you can set a clip rectangle, do all of your updates and then do updateScreen() and if the clip rectangle is still in place it...
    • C
      Chris O. replied to the thread Teensy register manipulation.
      Now I don't remember if I use these but just in case I am including it here: // Pin masks for direct port access Teensy 4.1 #define CS_MASK 0b00000010000000000000000000000000 // 0b0000 0010 0000 0000 0000 0000 0000 0000 -GPIO6-25 pin 23/A9...
    • C
      Chris O. replied to the thread Teensy register manipulation.
      I did one 8-bit bus back in 2021 for A t a r i ST/e ACSI (Atari Computer Systems Interfac) hard drive Emulator + Media Transfer Protocol (MTP) // 19 pin D-SUB male connector at the cable. // --------------------------------- // \ 01 02 03 04...
    • C
      Chris O. reacted to PaulStoffregen's post in the thread Teensy register manipulation with Like Like.
      5 of those registers are related to the pin's ability to trigger an interrupt. You don't need these unless you're using the feature where change on the pin causes an interrupt. If you do use the interrupt capability, hopefully it's easy to...
    • C
      TPS2113A Power Multiplexer Carrier with USB Micro-B Connector https://www.pololu.com/product/2596 Good for Teensy 4.1 with pogo pins under for usb data lines D+, D-.
    • C
      Chris O. replied to the thread Teensy register manipulation.
      Reference manual p.399 11.6 IOMUXC Memory Map/Register Definition Example: // SPDIF_IN CORE_PIN15_CONFIG = 3; // mux config registers control which peripheral uses the pin // or // // Select one of iomux modes to be used for pad...
    • C
      Not sure yet: For example I have a few different RPIs sitting around, like a 5 with an SSD on it, a couple of 4s... Most of the time they sit in a cabinet... Nice boards. Had: a Beagle Bone Black (when it first came out don't remember but...
    • C
      Yes, Arduino has wanted to marry a Linux SOC with microcontroller since at least 2013 when they announced Arduino Tre (which never came to market). Also yes to some degree, except we're using NXP iMXRT rather than STMicroelectronics STM32...
    • C
      I'm trying to keep an open mind about Arduino's future, but it's not so easy with a company like Qualcomm. Until just a couple weeks ago, I was feeling... well, going to hold my tongue. Good news is SparkFun made huge improvements starting...
    • C
      Well, I still don't know what I'm doing, but the following seems to work. You nailed it with the LVDS1_CLK_SEL bits. Luckily, CCM_CLK1_N is on the edge of the chip and I was able to sneak a wire in and tack it to the ball. It does look to be...
    • C
      Hi everyone, Here is a project I have been working on and off since covid, which I finally found some time to complete this summer... So I proudly present: S.A.R.C.A.S.M : a Slightly Annoying Rubik's Cube Automatic Solving Robot. Here is a...
    • C
      Chris O. reacted to strunx's post in the thread Uncanny Eyes is getting expensive with Like Like.
      my Halloween-project: picture frame hanging on the wall... as an inspiration for more projects... it features sound (music and speech), LED-animations, animatronic-lid, ultrasonic distance sensor, person sensor, light sensor and acoustic sensor.
    • C
    • C
      Chris O. reacted to strunx's post in the thread Uncanny Eyes is getting expensive with Like Like.
      Oh, while I was trying to remember my English and made a profile for this forum, Michael already wrote something about my question. Thank you, Michael for taking care of it right away. I didn`t see your post, when i was writing my post here.
    • C
      Finding this thread convinced me to get my first Teensy. I have been well rewarded! I have tested on these machines, using the 2 channel USB setup, with a pair of i2S microphones, (ICS43434): - Mac OS 10.15 - iMac, 3.4 GHz Quad-Core Intel Core...
    • C
      from ReadME: " Teensy User Interface This library is a simple touchscreen user interface for building Teensy applications. Adding buttons and menus to your sketch is as-easy-as filling in a table. The library also includes many functions for...
    • C
      Thanks for your message and kind words. It's always good to see past efforts going to good use. I have since these posts also developed a zero-delay version of the ladder filter. It's computationally more expensive than the filters I posted here...
    • C
      Chris O. reacted to Joulz's post in the thread X27 Stepper guidance with Like Like.
      PR is online, for anyone to use. https://github.com/clearwater/SwitecX25/pull/33
    • C
      Last week I tried to connect the Teensy's SPDIF output sinks to a cheap USB audio dongle (like this but from ebay and costing less than $10). It wouldn't pick up any sound, no matter if I used AudioOutputSPDIF, AudioOutputSPDIF2 or...
    • C
      @joepasquariello I find your modifications excellent for my project ( Audio I2S SAI1 SLAVE IN to S/PDIF OUT sync ). I can't believe how accurate the frequencies seems to be here :D I'm measuring WCLK (Word Clock) Master to Slave T4.0 on - LRCLK...
    • C
      You're welcome. You should be able to get 0.1 Hz resolution with FreqMeasureMulti. Try the changes below. The type of the "sum" variables should be uint32_t rather than float uint32_t sum1=0, sum2=0, sum3=0; double freq; and the frequency...
    • C
      I can't try this until tomorrow, but I think you'll get a better result by changing this line freq = (count1==0) ? 0 : freq1.countToFrequency( sum1 / (float)(count1*edgcnt/2) ); to freq = count1 * (edgcnt/2.0) *...
    • C
      When you call analogWriteFrequency(), you will only get the exact frequency requested if it divides evenly into the clock frequency of the timer that is generating the PWM signal. The pins used for PWM in Paul's sketch are 0,1,2,4,5, and those...
  • Loading…
  • Loading…
Back
Top