Hi Daniel,
Thanks so much. So, is it best that the watermark is set as 1? Also, I've been researching how to configure a serial port using mqx v5.0.3. In the older version, I could see that fopen, fread and fwrite were used to manipulate the serial driver and also a number of ioctl flags were there to configure the serial port parameters such as baud rate, parity and stop bits. I've build an SDK for MK66FN2M0xxx18. There, I couldn't find any ioctl flags like the older version. So, here how do I change the serial port parameters? I saw some APIs such as _nio_open, _nio_write and _nio_ioctl. Am I supposed to use these calls directly? I couldn't find any sample serial driver codes which I can reuse. It would be really helpful if someone could point me to some sample codes.
Regards,
Minu