Following Application Note 196, I can get a running simulation with the ADC simulated however the interrupts are not generated even thought its "DONE" flag is set. I set a break point in the interrupt handler and it is never reached. I checked that if I trigger the interrupt from the system viewer by manually setting the pending bit in the NVIC then the break point is hit. So it seems that the simulated ADC is not able to generate interrupts.
In the simulator settings, the app note says to use DLM.DLL instead of the default DCM.DLL. I tried both with the same result.
This app note is rather old, could this be a version compatibility issue ?
IDE-Version:µVision V5.28.0.0Copyright (C) 2019 ARM Ltd and ARM Germany GmbH. All rights reserved.
Tool Version Numbers:Toolchain: MDK-Lite Version: 5.28.0.0Toolchain Path: C:\Keil_v5\ARM\ARMCC\BinC Compiler: Armcc.exe V5.06 update 6 (build 750)Assembler: Armasm.exe V5.06 update 6 (build 750)Linker/Locator: ArmLink.exe V5.06 update 6 (build 750)Library Manager: ArmAr.exe V5.06 update 6 (build 750)Hex Converter: FromElf.exe V5.06 update 6 (build 750)CPU DLL: SARMCM3.DLL V5.28.0.0Dialog DLL: DCM.DLL V1.17.3.0Target DLL: UL2CM3.DLL V1.162.16.0Dialog DLL: TCM.DLL V1.36.2.0