I want to config PWM peripheral clock rate usinng VC mailbox. I use set clock rate set clock rate (0x00038002) VC mailbox tag. However it looks like it is impossible to set rate differ than 5KHz.
When I want to set, for example 10KHz, ioctl with 0x00038002 finishes without error, and get clock rate (0x00038002) returns 10000, however get clock rate measured (0x00030047) returns 0.
Only setting clock rate to 5KHz makes 0x00030047 return 5000.
How can I find out why I can't set, for example 10KHz clock rate?