can any one help me how to receive data from matlab output to lpc2148 micro controller using uart serial cable. Im using keil software to run the micro controller code. i need to u use the output values of matlab in keil software as inputs. please help me with the code.
Do you think the code in the processor that is handling the UART care much about what program that is running on the other side?
Shouldn't you: 1) Fix some code that operates the UART? 2) Fix some code that understands the protocol that Matlab might use to allow you to understand the contents of the characters your code in 1) did receive? 3) Fix some code that can drive outputs? 4) Make the decoded data from 2) inform your code in 3) exactly what output states that are expected?