Electronic – Using ST-link for 1.8V target voltage

jtagmicrocontrollerstst-linkswd

I'd like to program a LIS331EB which is an ST product with an integrated cortex-M0 core. ST says it can be programmed with ST-link even though it is neither an STM32 nor STM8. The lis331eb's core and SWDIO- SWCLK pins run from 1.8V.

When I'd like to program my device I can see on the oscilloscope that the SWDIO and SWCLK io levels are 3V, only the reset line got the core's 1.8V IO level.

Do you think it is OK? I did not find anywhere that the SWDIO/SWCLK pins would be 3V tolerant, so it seems like a problem to me…

(I use ST-link/V2 which should be able to program down to 1.65V target voltage.)

Best Answer

The ST-LINK/V2 has a dedicated pin TVCC (target VCC) to detect the voltage of the application board and to ensure that the right voltages are used.

Usually the detected voltage is reported by the utility used for programming and can be inspected before the programming is initiated.

So it should be safe to connect this pin and try to see if the target voltage is detected correctly.