One of the challenges is how to visualize ECU in BSA. The symbols below are highly exprimental and mostly added to drive the discussion about how to do this in a system diagram if you have an ECU with sub-modules. How do I visualize this in a diagram creating code for that ECU?
The “PWM Out” is intended for my 4 x DO module that has 4 PWM signals out. I can set PWM with parameters into the module using the example above, but for each PWM signal it will be multiple methods and events (not just the single method illustrated). I could have one symbol for the ECU itself and then one symbol for each resource available. The example “Analogue In” would generate an analogue signal at configured frequency that then is sent as an event into the application…
This could work, but I need to work on the idea a bit.
It will be a lot of modules on my ECU, but the current list is:
- Mainboard
- PWM Out module
- Digital In Module
- Analogue In
- Analogue Out
- CAN
- RS485
- Ethernet
Those highlighted already exist.
I also need to think about system diagram that is a diagram showing how ECU’s are virtually/physically wired – I will get back on that.
