DC motor on I2C Motor Driver(L298): PWM is 25Hz and can’t be changed

I’m sorry, I made a serious mistake. It’s frequence not frequency! I’ll change the part above where i made a mistake