This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BSD Lib impacting serial communication

I am working with a custom hardware device similar to the Thingy91. I am communicating with an external device using COM1 using a binary stream at 38400 N81. (COM0 is assigned to the console.) As with the Thingy, I have a I2C bus instantiated as I2C_2 and a SPI bus as SPI_3. I've tried disabling the I2C and SPI but it doesn't impact the problem.

My application communicates with the external device perfectly until I add CONFIG_BSD_LIBRARY=y. The application then fails to communicate properly although some serial streams get through. I've disabled library trace with CONFIG_BSD_LIBRARY_TRACE_ENABLED=n.

I've tried enabling all the dependencies required by the BSD library. None impact the app until I add the BSD Lib itself.

Is there anything in the BSD library that would impact serial communication? I apologize for the vague question but I've been fighting this bug for days.

Doug

Parents Reply Children
Related