thanks, but after digging a bit i think that just using interrupt can work.
im losing myself in a glass of water

at the end i dont need multitasking, and i can just use the rtc to track the time, and do everything else in a loop, polling for the right time, or something similar. i'll see once i have something else working.
i just realised that i need modbus rtu for communication, and it should be one of the first thing that i should implement.
i know a little about it, the main thing is that it use rs485 as a "interface", so it should use a normal UART port, right?
and because i have a FIFO queue in the Uc UART i can fill it for the first byte, then read it, and do all the decode necessary.
feel free to suggest everything, im really a newbye and i need some advice to clear all the mess in my mind