I already have a 100 Ω series resistor on the MCLK line. You can see it in the codec schematic that I posted in the previous chats.
When I tested my codec custom board with a Teensy, all the connections were made using jumper wires, and the...
Update: MCLK testing results
The RT1064 board and the codec board are two separate boards, connected with jumper wires. I tested the codec using MCLK from two different sources, with the same RT1064 I2C firmware.
Test 1: MCLK from the RT1064...
this is my updated code
/*
* Minimal SGTL5000 bring-up for i.MX RT1064 (custom board)
*
* Base project : SDK example "hello_world" for evkmimxrt1064
* What it does : 1. sets up audio PLL -> SAI1 MCLK = 12.288 MHz
* 2. muxes...
This is the code i am using in teensy with my custom board codec
and i am getting 0x0A correctlly
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
// --- Audio objects ---
AudioInputI2S i2s_in; // I2S1 input from SGTL5000 ADC...
Thanks for the reply. To clarify: 10 MHz is the LPI2C peripheral's functional clock inside the i.MX RT1064, not the SCL frequency. The bus is configured with baudRate_Hz = 100000, so SCL runs at 100 kHz, well below the 400 kHz limit.
Current...
On the MCLK pin I am getting 1.6 V.
Now, as output, I am getting this:
=== SGTL5000 bring-up test ===
Audio PLL = 786432000 Hz
SAI1 mux=2 prediv=3 div=15 -> MCLK = 12288000 Hz (expect 12288000)
LPI2C clock = 10000000 Hz (expect 10000000)
SLOW...
Hi,
I have designed a custom PCB using the MIMXRT1064 processor and the SGTL5000 audio codec.
For the SGTL5000 circuit, I followed the standard/reference SGTL5000 schematic.
The connections between the RT1064 and SGTL5000 are as...