2025-08-04 2:41 AM
Dear all,
I'm currently trying to work with USART1 on my Nucleo-N6 board.
Here's how I attempted to initialize the board:
CPU Frequency: 600 MHz
Peripheral Bus (PB1, PB2, PB4, PB5): 50 MHz
GPIO Configuration:
PE5: Alternate function, push-pull — USART1_TX (AF7)
PE6: Alternate function, pull-up — USART1_RX (AF7)
I configured CCIPR13 to set the USART1 clock source to f PB2:
RCC->CCIPR13 &= ~RCC_CCIPR13_USART1SEL;
Here is my minimal USART1 initialization code:
RCC->APB2ENR |= RCC_APB2ENR_USART1EN;
USART1->BRR = 50000000 / 115200;
USART1->CR1 = (USART_CR1_FIFO_UE | USART_CR1_FIFO_TE | USART_CR1_FIFO_RE);
Unfortunately, I'm unable to send data. I verified with a logic analyzer and there’s no activity on PE5.
Any suggestions would be greatly appreciated.
Best regards,
Edo