Are you using the Eclipse provided with the MCU SDK?
Are you using the Arduino expansion board or the mini breakout board? If you are using the Arduino board you can see a guide on how to load MCU SDK scripts to your board here Installing the MCU SDK | Intel® Developer Zone . You can download the scripts in the download page here IoT - Intel® Edison Board Download | Intel® Developer Zone .
I checked the code and it seems to be correct. Is there any chance you can upload the sample code for UART Using the MCU SDK and API: Code examples | Intel® Developer Zone and follow steps 3 through 7?
Let me know your results.
Thank you, Sergio.
I use the MCU SDK Eclipse, and the Arduino breakout board. My SDK had been downloaded from the link you recommended. I remember, had tried the sample code too, but now I retested it again. If I installed the original source, it would work, and the hello mcu messages would appear on the operator consol.
However if I changed uart number from 2 to 1, nothing would appear on the arduino edison shield connector 1TX-> . (Checked with an oscilloscope.)
Here is how I have modified the above sample code to uart 1, and one second (only to see it does not work):
* This program sends a string to UART2 every 3 seconds
/* your configuration code starts here */
uart_write(1, (unsigned char*)"hello mcu\r\n", 11);
I think the problem is about uart1. I may misunderstand what pins it belongs to, but from the bits and pieces it all seems to me it should be connected to shield connector 0 and 1.
I must admit, I couldn't find solid documentation in this regard, so this is where I might be wrong. I got stuck here.
Are there any means to access these uart pins by mcu? If not, is there any TTL level serial connection accessible by mcu at all?
Unfortunately due to the strict timing I cannot use an USB-RS232 converter.
Setup the muxing using the attached script. The script from http://downloadmirror.intel.com/24910/eng/init_UART1.sh is missing the setup of gpio214.
Let us know your results.
init_uart1 (1).sh 757 bytes
Did you find our last suggestion helpful? Do you still need assistance with this thread?
In the meantime I had to apply an extra MCU (AVRxmega), because the project had to proceed. I need another chance to return back to my original installation, but I am about to test this feature all the way down.
Sorry for being idle, but work is first.