I have a project which I will need two 8051 microcontroller on a board. I want to reduce its size and cost, so I tried to use one crystal for two microcontroller, but just connect them parallel doesn't work.
One of my friend said that I can try connect normally on one of the chip (chip A), and short the xtal2 from chipA to xtal1 from chipB. (Not connecting anything on the xtal2 from chipB)
Is this the right way to do it? Do I need to change any code? I've tried but I failed, so I need some suggestion.