I am currently working with silabs C8051F120 Microcontroller(Crystal Freq:22.1184Mhz).
i want to have ETHERNET interface to my board.
My requirement is i need to transfer 120Bytes of DATA to PC. Sample rate is 1second.In this 1 second time i need to acquire the sensors, convert to digital and transfer to PC.I Think this is not possible with RS232 interface.
So i want to go with Ethernet.
am i correct?
I am thinking to use Microchip ENC28j60 Ethernet controller IC.
How to know what is the maximum speed i can achieve with this IC.
Hi i think you could use the serial port to acomplish that task. You can configure the serial port baud rate to have 115200 bps, and if you plan to send blocks of 8 bits then you would have plenty of time, but it will depend of course in the other part of the logic. Sometimes the conversion process take a long time comparing to other stuff. So depending on what logic do you intend to do, you will se how much time available do you have for the transmission task. But i think you should try using the serial port. Put your data in RAM memory cause it is faster.
Thanks for your suggesions. i will look in to the solutions you have given.
Hi mago,
at present we are working with RS232(@115200 baudrate) only.But we are not able to read all the data in that sample rate.
Sometimes we may also want 1msecond samplerate.
That is the reason we want to move to ethernet communication.