Hi all,
I recently started a project to make improvments to one of our old products containing an ethernet module controlled by an Atmel T89C51RD2. The ethernet interface is unfortunately hardwired to auto- negotiate, which has caused some problems due to the fact that the selected speed is thus 100MBit/sec....quite a lot for the MCU to content with.
The crystal used at present is 16MHz, and the MCU is used in X2 mode (divide by 6). Not being familiar with this processor I was hoping that someone would confirm that the machine code execution speed is thus:
16MHz / 6 = 2.67MHz in X2 mode and 16MHz / 12 = 1.33MHz when X2 mode is disabled.I don't find the datasheet that clear, could just be me though.
Is there any reason why my previous co-worker would not have selected a faster crystal (serial baud rate generation?) What is the maximum machine code instruction frequency that can be attained with the T89C51RD2?
Thanks for the help in advance.