Hi all and @alex6679
Thanks for all the helps again, I have tested my teensy 4.1 and CS42448 on a PC and its working all great, now back to Mac and capture my USB packets. I have found a way to capture USB packets with Wireshark on Mac, hope...
I can give more details about what we tried:
At our tests we set the number of channels to 2, we chose 44.1kHz as sample rate and 16bit resolution. We used the simple usb input example from my repository. There were no buffer over- or underruns...
Ah you are right, yes it’s maybe not so relevant and better to disconnect the cs42448 during USB wise testing. It’s just I can only testify it with the board without you.
@Weiweiweiwear I thought the Teensy is powered by the usb connection to the Mac? If you are talking about the power supply of the audio codec: I think it's best to disconnect the audio codec from the Teensy. For debugging it's normally best to...
@AntiLoop Thanks for the idea, I will test it later today. Actually I have been testing with 3.3V power supply not 5V, because I only know the two 2.2k pull up resistor works with the 3.3V, maybe that’s an issue too? And do you know what are the...
Big thanks to @alex6679 for all the helps, we have met twice for last two saturdays, unfortunately we still could not spot the reason why my Mac could not work with teensy 4.1 for USB multi-channels. In the beginning I was on OS Ventura (13.x.x)...
Hi @h4yn0nnym0u5e, thank you for answering some basic questions from me in private conversation, as you suggested some of them should go to public.
May I know is your PCM library support USB audio multichannel? I am not experienced enough to...
For those who are curious about Weiweiweiwear's problem: We had a long video call this afternoon/evening and tried to find out what the problem is. Unfortunately we were not successful yet. In the end we compared the original usb input with my...
When I asked you to make a test in stereo, I meant you should select only two number of channels in the Tools menu as described in the 'In use' section of the README.md and connect only channel 0 and 1 with audio connections in the example code...
Hi @alex6679
Do you mean just to cut the outputs to two? I did and I still get the same repeated cut-off tone when I send a sine wave from Mac to Teensy.
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include...
@AntiLoop: You are right, the cs42448 needs to be initialized. However, this can easily be fixed for sure and I am much more concerned about the problem with the usb input at the moment. I asked @Weiweiweiwear to do use the simple example just to...
@AntiLoop It seems you want to send 8 sines from CS42448 to the PC, I have uploaded the code successfully and I have received the correct signal in Mac, just with the same repeated cut-off (regular repeating on and off). But what I want now is...
sorry I re-edited my question.
Ok so if this works for you then it must be the configuration settings? Did you check my video? can you guess what could be the cause?
I think the code I was using the example test code which Alex mentioned in...
Hey I couldn't post pic in private conversation with @alex6679 (i don't want to bother people with low level debugging), but I am having this in plotter, however, as said, it only lasts for 0.5 second and then it goes back to 0 when the...
Hello, I have modify the contents under the teensyduino app according to the instruction in the readme file in the repo. (I am on Mac and I didn't find suitable old teensyduino installer so I am running everything under the standalone teensyduino...
It got configured well after I added two 2.2k pull-up resistors to 3.3V as @h4yn0nnym0u52 suggested here. I will go to the related thread for the rest of the work, sorry for the noise & thanks for all the helps!
My bad: This remark from me was silly:
Look at that:
//cs42448_1.enable();
//cs42448_1.volume(0.7);
try to uncomment those lines,sure that the volume has to be set,for the enabling i think the enabling function is enough
All of this is...
Based on many years of experience, I would say this: Do What The Data Sheet Tells You To Do. In no particular order:
Unconnected does not mean ground - it means unconnected. It may work sometimes, or never, or until you're setting up for the gig...
I'll leave it to you to check that...
The French Alibaba listing doesn't seem relevant to the CS42448 board, apart from it being mentioned in the title. The board is totally different, and as usual there appear to be no links to proper...
I think all answers should be appreciated, one of the greatest thing about open source is the collective troubleshooting, but of course I will try to reduce my newbie attempts here as much as i can.... its a great forum!
Ok, so I think I've...
Hey Weiweiweiwear,
from my experience return,when only one cs42448 is used,don't need pullups resistors,nor AD0 & AD1 setup,just leave it free
and don't need :
//cs42448_1.setAddress(0x48);
//cs42448_1.enable();
I use the setAddress only when...
You're absolutely right that i2c pull-ups are good practice for any design but the OP has already confirmed they don't have the parts for external pull-ups and we're just trying to get a basic result from their breadboard lash-up.
I've used this...
Hi Paul, thank you to clarify this!
I took exactly the same code as you posted in the earlier post in this thread, just I didn't wire the AD0 and AD1 to GND, should I solder them manually? I didn't because I didn't see you solder or wire the AD0...
Hey! so sorry I found this thread is more related to my question but i couldn't delete my post in another thread. (I also just realized I post it to a wrong page).
I did some reading and I think it's I didn't wiring the address. (yes I found I...
Now I don't have 4.7k or 3.3k at my hand, tried 1k, also didn't work.... but why I don't see people use pull-up resistor here and it still works? I thought there's inbuilt pull-up resistors.
Hi, @houtson, I've tried to connect to the CS42448 board with and without pull-up resistors (two 9.7k ohm, I don't have 4.7k atm) between 3.3v and SDA, 3.3V and SCL, still couldn't talk to the CS42448, any idea why? thank you so much.
Hello! sorry for the too beginner question, I am connecting one CS42448 board and teensy 4.1 according to here, but the configuration is always failed, should I add pull-up circuit as you did? I checked my wiring several times and it should be...