I would like to build a project based on STM32 that interfaces with a CAN network. The CAN network has a 250 kbit/s baud rate.
On this network I have to:
- Log messages from 127 nodes with IDs between 0x381 and 0x3FF (each node transmits one message per second).
- Transmit messages to nodes with ID between 0x581 and 0x5FF.
- Receive responses to these messages that will have IDs between 0x601 and 0x67F.
I was thinking of using an STM32 with two CAN channels. My intention is to set up two different filters on IDs and limit interruptions. Is that a good choice? Can it be done with only one CAN?
I have doubts about the kind and the speed of processor to use. Can an STM32F1 be sufficient? Or do I need an F4?