Community
cancel
Showing results for 
Search instead for 
Did you mean: 
jsayy
Novice
1,748 Views

how to use uart receive interrupt in FreeRTOS for galileo

i am using FreeRTOS on galileo board i can send and receive data using uart but i want used receive interrupt for receiving data from user input.

uint8_t ucGalileoGetchar()

{

uint8_t c = 0;

if (bGalileoSerialPortInitialized)

{

while((mem_read(UART_MMIO_Base, R_UART_LSR, 1) & B_UART_LSR_RXRDY) == 0);

c = mem_read(UART_MMIO_Base, R_UART_BAUD_THR, 1);

}

return c;

}

this is just a character reading function but polling method i need interrupt method.

8 Replies
FTinetti
Honored Contributor I
109 Views

Hi Jishan,

I'd like to know how you've got to run RTOS in Intel Galileo. Are you using Intel Galileo or Intel Galileo Gen2? Can you develop in RTOS itself or you use/are dependent of Eclipse as shown at http://www.freertos.org/RTOS_Intel_Quark_Galileo_GCC.html FreeRTOS running on the Intel Galileo (x86/IA32 Quark SoC X1000) ?

TIA,

Fernando.

jsayy
Novice
109 Views

FTinetti
Honored Contributor I
109 Views

Jishan wrote:

yes i am using http://www.freertos.org/RTOS_Intel_Quark_Galileo_GCC.html www.freertos.org/RTOS_Intel_Quark_Galileo_GCC.html and Galileo gen 2 please help me out

I'd like to, but it would take me some time, because of the loooong time needed for Eclipse-dependent development...

Did you ask to the FreeRTOS community/forum?

Fernando.

jsayy
Novice
109 Views

i didn't asked to FreeRTOS community

Take your time

jsayy
Novice
109 Views

what happen fernando any update on my problem

i just gone through intel galileo quark soc x1000 BSP but i dint get interrupt uart implementation pleas help me out ASAP.

thanks and regard

jishan

FTinetti
Honored Contributor I
109 Views

what happen fernando any update on my problem

I'll let you know as soon as I have time for this.

I work under timing deadline/s only when contracted.

BR,

Fernando.

jsayy
Novice
109 Views

hi fernando

any update on my issue that how to used receive interrupt in Quark Soc x1000 Galileo board

jsayy
Novice
109 Views

Reply