hello sir,
I am student doing project by using LPC2148. i want to run dc motor with varying speed, with MATLAB via LPC2148. please guide me, how to make interface between MATLAB and LPC2148.
Serial cable?
Or implement ethernet support for the LPC2148?
by serial cable(RS232)
Then there is lots of sample code how to implement serial communication using your processor. You can find code on this site. You can find code installed with the Keil tools. You can find code on NXP:s product page for the processor.
sir.
i searched but i didn't find. i am new to matlab(basic idea only). will u give some more clear information.
Then you are going to have to spend time studying Matlab until you are sufficiently familiar with it!
Matlab is not a Keil product - so this is not the place for Matlab support or training.
As far as the LPC2148 is concerned, Matlab is irrelevant. The LPC2148 neither knows nor cares that it is talking to Matlab.
As far as the LPC2148 is concerned, it just transmits and receive bytes via its UART - it makes no difference where they go to, nor where they come from.