I have used STM32F405RG for a long time, but decided to switch to STM32G series and upgrade some of my PLC modules. This shows STM32G491RE simply because I managed to buy a series of these. These are more capable than the F4 with upgraded IO + 2 FD CAN ports. I have earlier used SPI for communicating with Raspberry PI, but will from now on use CAN FD as IPC supported by an UART for RPI communication. With 5Mbps on CAN FD and 2-3 ports I believe that is sufficient for all signals except voice/video that we can special process.
This module XPortHub3 is mostly identical to XPortHub2. The main difference is the STM32G491RE that cost a bit less than the STM32F405RG.
CAN-FD uses up to 64 byte payload @ 5Mbps, but still support arbitration, so it is perfect as IPC for a stack of boards with short cables between.
- 1 x 10/100 Mbit Ethernet
- 1 x USB
- 2 x CAN HS/CAN-FD
- 6 x Serial
I have extra pins for 10 analogue and 5 PWM, but I doubht I will have connector space for the pins – lets see.