cancel
Showing results for 
Search instead for 
Did you mean: 

Using CTS and RTS signals connected to the mcu's NBLx pins

genisuvi
Associate III

The schemes of a production circuit are given to me from another designer for being analyised. PCB board is a STM32F103VC based circuit.

When I was looking at the bootloader circuitry scheme I saw how RS232 bus seems to be connected to the UART1 microcontroller port.  

This circuitry implements BOOT1 and BOOT0 connections. These pins are two bit combination that allows different boot option, depending of logic levels there. "There is one of the boot option, known as embedded bootloader, that allows FLASH reprograming using UART1 port", datasheet says.

Up to here, seems to be clear and correct. 

But diving a bit more I looked for what pins where exactly connected here, and they were these by one side (RX and TX on P9:P10:(

 

genisuvi_1-1706108265072.png

And these by the other side:

genisuvi_2-1706108860217.png

But if you look at datasheet tables you can see how PE0 and PE1 pins can only be GPIO floating inputs or they can be FSCM NABLx pins.

genisuvi_3-1706109154437.png

I think they should be here (PA11 and PA12) instead; because datasheet doesn't show any remap for USART1 anywhere else:

genisuvi_4-1706109279056.png

So I asked to my colleague whether the connection of RTS and CTS to PE0/1 where intentional. He told me that he was using the same solution as an old STM demo board, some years ago. I don't know what board is.

Rapidly I thought, if ST and my colleague are using this solution without problem, this means it works. But I'm unable to understand how the bootloader could program the flash using uart1 with CTS and RTS not being connected to UART1 corresponding pins. I don't find any explanation, not on datasheet neither googling. 

I don't work with this peripheral (FSCM) before, I only know that NBLx pins they are used for enabling 8 bit access to SRAM or something like that. 

Can anyone help me with this? 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

It looks as if we are currently only talking about the bootloader via UART, right? The AN2606 gives detailed explanations in section 15, according to which only PA9 and PA10 are used by UART1, RTS/CTS are not used.

Hope that answers your question?

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
Peter BENSCH
ST Employee

It looks as if we are currently only talking about the bootloader via UART, right? The AN2606 gives detailed explanations in section 15, according to which only PA9 and PA10 are used by UART1, RTS/CTS are not used.

Hope that answers your question?

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
genisuvi
Associate III

So, acording to you RTS and CTS signals on my scheme are surelly used for another kind of things. 

It's using flux control signals for FCSM control.. 

Peter BENSCH
ST Employee

Correct. For a better assessment, you would need to know the relevant circuit components and the function of the overall system.

Good luck!
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.