I am new in programming a Wixel and i still have some Problems with it ;O)
I would like to generate 3 PWM output to drive some Motors.
I need a base frequency of 1 to 5 kHz to drive the Motors smooth and would like to use e Duty from 0 to 100%. But I have no idea how to Programm it !!
I tried to generate the frequency by switching a digital out on/off by countig programm-loops. But the fastes Puls I reach (2 Programmloops), has a time of 120µs which is 12% of 1kHz.
The Example “example_servo_sequence” is not fast too, and I have no idea how to tune it, to get Higher Duty Cycles.
is there any PWM Example or is it just not possible with the wixel?
The Core runs @ 24MHz, so i thought it would work.
I hope anybody can give me a tip!