Hi, I’m designing a micro system on an ADuC842 with I2C communications between ICs. I using Keil to design and debug my code but I’m having trouble interpreting the display from the I2C interface window. I wrote code for a slave device and used Keil I2C interface to communicate with it successfully but I can’t tell if my master code is working or not because the interface window confuses me. I would be very grateful if someone could help me out and explain how to verify that my master code is working, as in what does the window do when you successfully communicate with it? Thanks, Donagh
there are 1000's of examples of "special hardware interfaces" for the 1000s of '51 derivatives.
to expect Keil to simulate them all is unreasonable.
Keil produces and sell a compiler and provide a simulator as a service.
use JTAG debug or whatever in that line your chip has.
if you chip does not have JTAG or similar, switch to a SILabs chip (temporarily during development)
Erik
This was not a usfull reply
that Keil rarely (never?) simulate drivativge specific I/O
I2C is a standard IEEE communication protocol. Keil uVision 4 has an I2C simulation function. I was merely asking for advice on interpreting its response to my I2C master code (assembly).
Please don’t respond if you don’t have something useful to say
Is it??
View all questions in Keil forum