I'm currently using an STM32F407ZGT6 to control a TLV320ADC5140 using SPI communication to receive audio using I2S, but I'm unable to capture the audio data. Acquisition method: analog dual channel input。
1) The SHDNZ_CFG (P0R05 has one of the fields written to a reserved value – per the script, this register is written to 0x3C)
2) Is the device expected to operate in master mode, with a 12.288MHz MCLK input being provided? Because it looks like MST_CFG0 register has two writes, one of which seems to be commented out.
3) Register 0x15 is a status register, hence read-only.
4) Can you share the redback status of DEV_STS0, DEV_STS1 and ASI_STS (registers 0x15, 0x76 and 0x77) when trying to record on I2S output?
TRANSLATE with x
English
Arabic
Hebrew
Polish
Bulgarian
Hindi
Portuguese
Catalan
Hmong Daw
Romanian
Chinese Simplified
Hungarian
Russian
Chinese Traditional
Indonesian
Slovak
Czech
Italian
Slovenian
Danish
Japanese
Spanish
Dutch
Klingon
Swedish
English
Korean
Thai
Estonian
Latvian
Turkish
Finnish
Lithuanian
Ukrainian
French
Malay
Urdu
German
Maltese
Vietnamese
Greek
Norwegian
Welsh
Haitian Creole
Persian
TRANSLATE with
COPY THE URL BELOW
Back
EMBED THE SNIPPET BELOW IN YOUR SITE
Enable collaborative features and customize widget: Bing Webmaster Portal
Back
,
? ?:
I read the registers you mentioned and the following results:Register address:ASI_STS , register state:ffRegister address:DEV_STS0 , register state:0Register address:DEV_STS1 , register state:c0
,
Links:
Hi,
ASI_STS = 0xFF indicates invalid FSYNC rate and BCLK-to-FSYNC ratio. Can you also help confirm the other queries listed above?
Thanks and Regards,
Links
TRANSLATE with x
English
Arabic
Hebrew
Polish
Bulgarian
Hindi
Portuguese
Catalan
Hmong Daw
Romanian
Chinese Simplified
Hungarian
Russian
Chinese Traditional
Indonesian
Slovak
Czech
Italian
Slovenian
Danish
Japanese
Spanish
Dutch
Klingon
Swedish
English
Korean
Thai
Estonian
Latvian
Turkish
Finnish
Lithuanian
Ukrainian
French
Malay
Urdu
German
Maltese
Vietnamese
Greek
Norwegian
Welsh
Haitian Creole
Persian
TRANSLATE with
COPY THE URL BELOW
Back
EMBED THE SNIPPET BELOW IN YOUR SITE
Enable collaborative features and customize widget: Bing Webmaster Portal
Back
,
? ?:
1. what should be the value to be written, do you have any suggestion?2. the TLVADC5140 needs to be run in slave mode, with the STM32 as the host, and the ADC is connected to the STM32 with the I2S pin BCLK WS SD no MCLK. 3. I have commented out the 0X15 register.3. I've commented out register 0X15.4. I have read the registers you mentioned and the results are as follows:Register address: ASI_STS , register status: ffRegister address: DEV_STS0 , register status: 0Register address: DEV_STS1 , register status: c0
Translated with www.DeepL.com/Translator (free version)
,
Links:
Hi,
ASI_STS = 0xFF indicates invalid FSYNC rate and BCLK-to-FSYNC ratio. Can you also help confirm the other queries listed above?
TRANSLATE with x
English
Arabic
Hebrew
Polish
Bulgarian
Hindi
Portuguese
Catalan
Hmong Daw
Romanian
Chinese Simplified
Hungarian
Russian
Chinese Traditional
Indonesian
Slovak
Czech
Italian
Slovenian
Danish
Japanese
Spanish
Dutch
Klingon
Swedish
English
Korean
Thai
Estonian
Latvian
Turkish
Finnish
Lithuanian
Ukrainian
French
Malay
Urdu
German
Maltese
Vietnamese
Greek
Norwegian
Welsh
Haitian Creole
Persian
TRANSLATE with
COPY THE URL BELOW
Back
EMBED THE SNIPPET BELOW IN YOUR SITE
Enable collaborative features and customize widget: Bing Webmaster Portal
Back
,
Links:
The SHDNZ_CFG has valid value of either 0, 1 or 2, so these can be written. 3 is a reserved value, and hence invalid for this field
Regarding 2-4, the ASI_STS is reading as " Invalid sample rate" and "Invalid ratio". Can you confirm the BCLK frequency and sampling rate given from the host? It needs to be as per these conditions.
TRANSLATE with x
English
Arabic
Hebrew
Polish
Bulgarian
Hindi
Portuguese
Catalan
Hmong Daw
Romanian
Chinese Simplified
Hungarian
Russian
Chinese Traditional
Indonesian
Slovak
Czech
Italian
Slovenian
Danish
Japanese
Spanish
Dutch
Klingon
Swedish
English
Korean
Thai
Estonian
Latvian
Turkish
Finnish
Lithuanian
Ukrainian
French
Malay
Urdu
German
Maltese
Vietnamese
Greek
Norwegian
Welsh
Haitian Creole
Persian
TRANSLATE with
COPY THE URL BELOW
Back
EMBED THE SNIPPET BELOW IN YOUR SITE
Enable collaborative features and customize widget: Bing Webmaster Portal
Back
,
z x:
Of course, my sample rate is 48k and BCLK is 1.536MHZ.
,
z x:
Of course, my sample rate is 48k and BCLK is 1.536MHZ.