Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pls answer some question #2

Open
Aether-yang opened this issue Jun 10, 2023 · 1 comment
Open

pls answer some question #2

Aether-yang opened this issue Jun 10, 2023 · 1 comment

Comments

@Aether-yang
Copy link

  1. What is the difference between this git and the following git project?
    https://github.com/sdima1357/stm32f401ccAudioNative
  2. can i connect dircetly to the earphone (resistance about 32R)? PA8 to left earphone and PA9 to right earphone? can it play normly?
    image
  3. Can I use stm32 adc to sample audio (3.5mm lined mic, resistance about 2.2K). any suggestion to the circuit?
@sdima1357
Copy link
Owner

1 stm32f401cdu6 and stm32f401ccu6 are not same chips
2 Сan i connect directly to the earphone? - You can't . You hear nothing. Currently output cascade configured in open drain mode.If you put stm32 output in push-pull mode, Stm32 can give only about 20 milliamper and You hear more noise.
3 You can, but you have to add some amplifier to map input signal to 0-3.3v. And you have only 12 bit signal. I suggest You use microphones with i2s output. Google for "Microphone I2S"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants