2023-08-21 12:24 AM - last edited on 2023-08-30 09:40 AM by Amel NASRI
Hello,
I would like to know how to retrieve the acquisition values : INPUT -> ADC -> SAI -> µP like the diagram below :
I have a program that works for this : DMA -> SAI -> DAC But this is not the way I would have wanted to make my CODEC work. Do you have any idea how should i proceed ? Thanks in advance
2023-08-31 11:57 PM - edited 2023-09-01 12:20 AM
Hi,
So I'll try if it works. Thank you. I use this headphone jack for samsung (I'm not sure is the CTIA type) for recording :
I can hear the examples on the evaluation board (art of gard.wave and riding.wave). But when I select rec.wave to listen to what I recorded and I hear nothing. In the evaluation board, a white earphone is provided in the kit, do you know if it is compatible with the card for recording ?
2023-09-01 03:58 AM
Hi,
After trying with the headphones provided in the kit, it does not work either.
I don't know if I need to put a jumper somewhere on the board for this to work ?
2023-09-01 07:00 PM
The later one, white headphone, should be the CTIA type headphone with microphone - as I remember, white join between points is CTIA type headphone.
I suppose the white headphone provided in the kit should support the board demonstration. You may plug it to your mobile phone to check if it can record voice.
about jumper setting, you may refer to readme file already shared at github.
2023-09-02 02:36 AM
@jiangfan wrote: You may plug it to your mobile phone to check if it can record voice.
Now phones no longer have a headphone jack, only with bluetooth. And about the readme file there is nothing special :
In principle this should work but it doesn't. Where is the error ?
2023-09-02 02:45 AM
in case you don't have phone to verify the earphone, you may check earphone signal with oscilloscope when plugging headphone to the audio jack of board.
Did you verify the jumper setting?
@note Jumpers setup on MB1372_L552ZEQ-C02: JP1 : OPENED / JP4 : 1-2 (LEFT) / JP5 : 1-2 (LEFT) / JP6 : CLOSED JP7 : 1-2 (RIGHT) / JP8 : 1-2 (LEFT) / JP9 : 1-2 (DOWN) / JP10 : CLOSED JP11 : 1-2 (LEFT) / JP12 : 1-2 POT / JP13 : 2-3 OPAMP / JP14 : OPENED JP15 : 1-2 (VDD) / JP16 : 5V-STLK / JP17 : 1-2 (RIGHT) / JP18 : OPENED JP19 : OPENED / JP20 : OPENED / JP21 : OPENED / JP22 : OPENED JP23 : OPENED / CN12 : OPENED / CN23 : OPENED
2023-09-02 03:02 AM - edited 2023-09-02 04:10 AM
The earphone is ok and, really and I think there is no problem with headphones + microphone.
@jiangfan wrote:Did you verify the jumper setting?
@note Jumpers setup on MB1372_L552ZEQ-C02: JP1 : OPENED / JP4 : 1-2 (LEFT) / JP5 : 1-2 (LEFT) / JP6 : CLOSED JP7 : 1-2 (RIGHT) / JP8 : 1-2 (LEFT) / JP9 : 1-2 (DOWN) / JP10 : CLOSED JP11 : 1-2 (LEFT) / JP12 : 1-2 POT / JP13 : 2-3 OPAMP / JP14 : OPENED JP15 : 1-2 (VDD) / JP16 : 5V-STLK / JP17 : 1-2 (RIGHT) / JP18 : OPENED JP19 : OPENED / JP20 : OPENED / JP21 : OPENED / JP22 : OPENED JP23 : OPENED / CN12 : OPENED / CN23 : OPENED
With the STM32L552E-EV Evaluation board, we have the µP : STM32L552ZET6QU and not MB1372_L552ZEQ-C02. Right ?
But in doubt I've checked and all jumpers are ok.
2023-09-03 01:49 AM - edited 2023-09-03 06:55 PM
as not clear if microphone of headphone OK or not, I think it should be possible to manually connect 1kHz or 2kHz sine or square waveforms to microphone pin of audio jack connecter, and record should be functional.
2023-09-04 12:28 AM - edited 2023-09-04 05:07 AM
@jiangfan wrote:as not clear if microphone of headphone OK or not.
Now I'm sure that both microphone of headphone (white and black) work, I recorded sound (microphone of headphone) with his headphones via VLC+Laptop and it works. So how does the demo program work ? It's not necessary to connect a 1kHz or 2 kHz sine to the microphone, it's not very clean DIY.
Otherwise, I can connect GBF(+) to PIN 2 of the CN21 connector and GBF (-) to PIN 3 of the CN21 connector.
For a microphone input, I think it is a -60dBV level or 1mV. I'll check if I can get 1mV with my GBF. what do you think ? Is this reasoning correct ?
2023-10-15 04:16 AM
I'm designing a custom board with the WM8994 audio codec. I noticed that 'G2' pad (CS#/ADDR) is pulled up to VDD through a 10k resistor. However, on some other evaluation boards, the resistor was NC (omitted). I wonder what was the correct setting on this pad?
2023-10-15 06:36 AM - edited 2023-10-15 06:37 AM
...depends on interface , you want to use. -> cifmode setting !
if only I2C , then addr function, set 1 or 0 , selects address. (if internal pullup...leave open - but i didnt see spec for this ! so better pull to 0 or 1 . )
just see ds .