Simulation errors with atmega16

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have made the following circuit where I have interfaced RFID reader and GSM module with the UART of atmega16 through a MUX.

But during simulation on proteus, I get the error "Logic contention detected" at T1out and T2out of MAX232.

I am not able to understand the problem.

Can anyone help me with this problem 

Attachment(s): 

This topic has a solution.

Last Edited: Tue. Oct 21, 2014 - 07:00 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I can't see a problem.

 

I would guess that Proteus has seen two outputs connected.   i.e. scenario for a big fight.

 

Ask Labcenter.    After all,    you (or your University) paid lots of money for your Proteus licence.

 

I presume that your two RS232 sockets are irrelevant.    Either connect your Terminals through the sockets or remove the sockets from the schematic.

 

David.

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Did you realise that a mega164P is effectively a (modern) atmega16 with two UARTs? It'd be a LOT easier to use than trying to operate one UART and a multiplexer!