mrehkopf / sd2snes

SD card based multi-purpose cartridge for the SNES
http://sd2snes.de
GNU General Public License v2.0
590 stars 114 forks source link

Mk.II/III regressions #196

Closed mrehkopf closed 1 year ago

mrehkopf commented 1 year ago

Use correct alternate function number for LED PWM on LPC

AF number was set to 2 for all LED outputs; however, on Mk.II, the "Ready" and "Read" LEDs are connected to a different GPIO which has PWM mapped to AF number 1.

Fix: wrong video mode in SuperCIC pair mode

In pair mode, CIC data lines are supposed to be outputs from the POV of the MCU. During operation they could be switched back to inputs by the SysTick handler, resetting the video mode/region back to NTSC regardless of settings.