Skip to main content
Matt.Dash
Associate II
November 26, 2022
Solved

what does the ADC "Bulb sampling mode" can do?

  • November 26, 2022
  • 3 replies
  • 2263 views

Hi, experts

May you have a nice day!

Recently, I am learning RM of STM32G474. I am a little confused about the bulb sampling function. It seems that this function cannot shorten the ADC sampling time, so what is the use of this function? hoping anyone can explain that. Thank you very much!

best wishes!

This topic has been closed for replies.
Best answer by waclawek.jan

BULB. It's somewhat surprising naming and I don't know its origin.

My reading of the RM and AN5346 is, that normally, the sampling capacitor is connected to the selected input at the moment of trigger. Then, after the set sampling time, the sampling switch opens and conversion starts.

If BULB is set, the sampling capacitor is connected to the selected input at the end of the previous conversion. After that, when trigger occurs, the the sampling switch remains to be connected to input for further time given by the sampling time setting, and after that it opens and conversion starts.

The Bulb mode timing diagram figure in RM illustrates this quite well.

In both cases, the total time during which the sampling capacitor is connected to selected input, has to be sufficient to allow proper charging of the sampling capacitor.

JW

3 replies

AScha.3
Super User
November 26, 2022

bulb ?? 8) or bulk ?

If you feel a post has answered your question, please click on " Best Answer ".
waclawek.jan
waclawek.janBest answer
Super User
November 26, 2022

BULB. It's somewhat surprising naming and I don't know its origin.

My reading of the RM and AN5346 is, that normally, the sampling capacitor is connected to the selected input at the moment of trigger. Then, after the set sampling time, the sampling switch opens and conversion starts.

If BULB is set, the sampling capacitor is connected to the selected input at the end of the previous conversion. After that, when trigger occurs, the the sampling switch remains to be connected to input for further time given by the sampling time setting, and after that it opens and conversion starts.

The Bulb mode timing diagram figure in RM illustrates this quite well.

In both cases, the total time during which the sampling capacitor is connected to selected input, has to be sufficient to allow proper charging of the sampling capacitor.

JW

Matt.Dash
Matt.DashAuthor
Associate II
November 26, 2022

thank you very much, I will study AN5346 later.

its a good explaination and I get it.