I'm working on a project which must be used in an automotive application and act as a node into the multiplex CAN-BUS network. There are number of I/O that must be actuated and some of them had a level of safety critical attribute.
I developed my code using the STM32 HAL generic driver. And because the overall application and task are simple and latency is in lower priority so I decided not to deal with the register it self and using HAL driver instead, as the matter of speed and optimization of the code.
My question is that although the software seem to be working in prototype device, is it reliable to use HAL driver for safety critical application like automotive?
Best Answer
ST uC was tested to be compliant to ISO 16845 CAN conformance but ST have a disclaimer.
https://www.st.com/content/ccc/resource/technical/document/application_note/6d/41/b5/24/c1/4d/47/f5/CD00004125.pdf/files/CD00004125.pdf/jcr:content/translations/en.CD00004125.pdf