Can't connect to STM8L052C6
Hi,
I'm attempting to connect to STM8L052C6 with ST-link and receiving an error, "Cannot communicate with the device !"
I've read every forum post on google related to the issue and tried just about everything to connect.
Finally I found in the manual for SWIM entry sequence in reference to activation timing to make SWIM active the pin must be forced low during 16µs, next a sequence of four pulses at 1kHz (1ms), followed by four pulses at 2 kHz (500µs)
When I checked the pulses I found the initial low is 1.317ms, followed by four pulses of 1.334 ms, then four pulses of 0.667 ms
Could this timing be the issue why SWIM is not initiating?


