Hi
I got the SAM L11 X PLAINED PRO devboard with the QT7 touch module to evaluate the platform.
I need to make a demo, for which I need fancy fading leds and some timers.
I got the examples to work no problem, but I'm going nuts trying to figure out how to get it to do anything else.
For the PWM I took the PWM example code, and went copy-pasting the useful bits into the touch example, but all of the include files would fail to build saying its an unknown library.
I don't know how to set up the compiler to build them.
Later I found that I could add them in advance when building the project, which I did, but now the issue is I can't figure out the pin mapping.
I just have a empy function called void PWM_0_PORT_init(void). In the PWM example I have this line in it: gpio_set_pin_function(IO1_LED, PINMUX_PB12F_TCC0_WO6); but when I copy paste that
PINMUX_PB12F_TCC0_WO6 is marked as unknown.
Googling leads nowhere, there is very few material about this MCU family, and the only thing I found is about the ASF Wizzard, which does not work. The project is not ASF, and the tool for making it ASF is just missing in the IDE.
I did not even try to set up a periodic timer yet, and I can't even find an example code on how to set it up.
Where can I find info on how to set up things in this MCU?