fagari,
ISIS simulates your code as expected. However it does not simulate the CCS serial eeprom example. Do you have anything special for this code?
ze_tr
My code use hardware (MASTER SYNCHRONOUS SERIAL PORT MODULE), CCS example use software. They are some difference between.
Some example ;
- Software use any free pin. Hardware use only specific pin only.
- Software need more CPU time when communication. Hardware not need any CPU time when communication.
- Software can't use interrupt when communication. Hardware can use interrupt when communication.
if you want to use software. You must some change source code.