Forum Rule: Always post complete source code & details to reproduce any issue!
-
Older Activity
-
06-10-2022, 12:48 PM
If I would like to change frequency of the signal to precisely 8 MHz where should I look?
My understanding is that peripheral clock is used for driving pwm/quad timer and other modules. Unfortunately it uses 150MHz...
7 replies | 3472 view(s)
-
06-09-2022, 11:10 AM
Mux should be configured for pin which will be used as PWM.
extern "C" {
#include "pwm.c"
}
void pwm_config_pin(int _pin)
{
*(portConfigRegister(_pin)) = pwm_pin_info.muxval;
}
7 replies | 3472 view(s)
About megagame
- Location:
- Poland
- Occupation:
- Software developer