Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- That's pretty normal with MicroC/OS, since any OS uses a periodic high priority interrupt to schedule tasks and this is working in the background, hidden to the user application. Moreover, if you are using the simple_socket_server application template, you also have a high priority tasks which manages the network communication. Since any scheduler isr (and possibly task switching) requires several us, you definitely can not make your application work that way. Using interrupts is generally deprecated in an OS environment, unless you know very very well what are you doing and you are very careful, otherwise you are risking to mess up everything. I suggest you collect your data with a fifo, dma or any other real time hardware. MicroC/OS and all 'real time' operating systems are real time only to the ms scale level. --- Quote End --- thanking you cris, i will do the same as you suggested.