atmega

Testing Code for Embedded Application

倾然丶 夕夏残阳落幕 提交于 2019-11-27 17:36:15
问题 Background: I am developing a largish project using at Atmel AVR atmega2560. This project contains a lot of hardware based functions (7 SPI devices, 2 I2C, 2 RS485 MODBUS ports, lots of Analogue and Digital I/O). I have developed "drivers" for all of these devices which provide the main application loop with an interface to access the required data. Question: The project I am developing will eventually have to meet SIL standards. I would like to be able to test the code and provide a good