This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GPIOHigh Drive Mode is not working properly

Hello Everyone

I am trying to configure the two GPIO in High Drive mode 5mA but after compiling the program it does not seems like congifured to High drive Mode because the loudness of the buzzer is not increased so can anyone suggest me what went wrong in my GPIO configuration any ideas or suggestions will be helpful for me

main.c

Parents
  • standard drive = no high drive (pin can supply lower current).

    I am not an expert, but as far as i know to increase loudness of buzzer you should increase voltage to supply suitable ammount of current. If your buzzer needs more current than standard drive can supply, gpio in standard drive will probably lower it's voltage to the ammount of current that it can supply (or it will just burn, i am not sure). When you set gpio to high drive, gpio will BE ABLE to supply more current to the buzzer.

    To sum up - if your buzzer doesn't take more current than standard drive can supply, you wouldn't notice difference in loudness between standard and high drive because both of them will set to the same voltage level when current draw is small.

Reply
  • standard drive = no high drive (pin can supply lower current).

    I am not an expert, but as far as i know to increase loudness of buzzer you should increase voltage to supply suitable ammount of current. If your buzzer needs more current than standard drive can supply, gpio in standard drive will probably lower it's voltage to the ammount of current that it can supply (or it will just burn, i am not sure). When you set gpio to high drive, gpio will BE ABLE to supply more current to the buzzer.

    To sum up - if your buzzer doesn't take more current than standard drive can supply, you wouldn't notice difference in loudness between standard and high drive because both of them will set to the same voltage level when current draw is small.

Children
No Data
Related