2016-04-28 06:16 AM
Hi, we are surveying microcontrollers for a new product where we need at least 2 SPI interfaces and 2 uart interfaces. All of these 4 interfaces will have to be able to operate concurrently.
I have some trouble understanding if e.g. the STM32F401VB will suffice. It is listed with 4 SPI interfaces and 3 USART interfaces. Are all of these actually independent serial bus controllers, or are some of these the same?In short: Requiring communication on 2 UART lines and 2 SPI lines, all in concurrency, will the STM32F401(VB) meet my demands?//Audun Knudsrod #!stm32f4-!stm32f401-!spi-!usart2016-04-28 06:25 AM
The USART and SPI peripherals are independent. You would need to review the Data Manual for the specific part and identify the pins you need for the RX, TX, MISO, MOSI, CLK, etc
I'd expect the part to be able to escape pins for 2x SPI and 3x USART, but you'll need to do the due diligence work on that.2016-04-29 12:17 AM
The STM32CubeMX tool from ST will allow you to choose the microcontroller and select the peripherals you want and map them to pins graphically. It's a useful sanity check even if you don't want to use the code generation features.
2016-04-29 12:17 AM
Thanks.
I am used to SPI controllers being extensions to USART controllers, so I was a bit uncertain about how that actually added up2016-04-30 02:25 AM