adafruit / Adafruit_WICED_Arduino

Adafruit WICED Feather Arduino BSP
https://www.adafruit.com/products/3056
27 stars 19 forks source link

Resolve PWM config conflict on A15 #32

Closed microbuilder closed 8 years ago

microbuilder commented 8 years ago

There is a conflict with the PWM output on A15 (TS_CH1), possibly caused by SPI3_CS (HW CS for SPI slave mode). The CS slave pin may or may not be the problem, though.

This pin is not used as CS on the SPI flash connected to SPI3, but the HW/Slave CS functionality may be getting configured or set by the multiplexer with the SPI flash code.

In any case, the config or multiplexing issue should be resolved to enable PWM on A15 again. Further investigation required.

hathach commented 8 years ago

some findings:

Timer1 is 32 bit, there is possibly some wrong register config