UART2 on STM32F215RET6

Hi,

I’m running a STM32F215RET6 on a CW308T target board connected to a CW313. My firmware uses two UARTs:

  • USART1 (PA9/PA10) for SimpleSerial communication with the ChipWhisperer
  • USART2 (PA2/PA3) for a second serial channel in my custom firmware

Since the CW313 doesn’t seem to have a labelled GPIO header that exposes PA2/PA3, I ended up soldering thin wires directly to pins 16 (PA2) and 17 (PA3) on the STM32F215 LQFP-64 package to connect a USB-UART adapter.

My questions:

  1. Is there a better/intended way to physically access arbitrary GPIO pins (like PA2/PA3) on the CW313 setup? Did I miss a header?
  2. Can you confirm that USART2 on the STM32F215RET6 (LQFP-64) is indeed on physical chip pins 16 (PA2/TX) and 17 (PA3/RX)?

Thanks!

No. The schematic is here. We don’t break out all the pins; in general only what’s needed for our standard ChipWhisperer communication is broken out (although there are exceptions where we’ve added headers to the target board for additional signals).

That appears to be the case, though I’ve not used USART2 on these.

Thank you for the answer. Quick follow-up question. I’ve just found schematics of the CW308:

Looking at this:


It seems PA2/PA3 are not connected to anything and only PA8/PA9 are connected to UART. Do I understand correctly that UART2 may actually not work at all?

Thank you again for the answer.
Kris

Correct, PA2/3 are not connected.

I didn’t realize that you were trying to connect to the J2 header: as the schematic shows, these connect to PB8/9.

There is no reason why UART2 wouldn’t work- it’s just not easy to access, and unfortunately it doesn’t look like you can route it to our J2 header.

1 Like