This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

If my UART driver returns a capability as false, does it mean the hardware is not capable?

I need a timeout event for my UART receiver. I followed guide to get the capabilites of the driver. It returned false for Event Rx Timout. Does this mean that the µC is not capable of it? In my case it is an LPC1769

According to the documentation it means that the hardware isn't capable of it. I mean, if it was the manufacturer would have surely impelmented it. I really want to make sure. My superordinate tells me it is capable of it, but to me it seems evident that it is not.

Parents
  • The help message (in your screenshot) is contradictory.  is correct -- it's the capabilities of the driver that are reported, which might not match the capabilities of the hardware. 

    That said, the reported capabilities can also depend on how the driver is configured. If you're using the UART driver for LPC1700 series, you should have a file UART_LPC17xx.c in your project. Look inside that file for the capability definitions. In the file I see, If DMA is enabled, RX timeout is not supported.

Reply
  • The help message (in your screenshot) is contradictory.  is correct -- it's the capabilities of the driver that are reported, which might not match the capabilities of the hardware. 

    That said, the reported capabilities can also depend on how the driver is configured. If you're using the UART driver for LPC1700 series, you should have a file UART_LPC17xx.c in your project. Look inside that file for the capability definitions. In the file I see, If DMA is enabled, RX timeout is not supported.

Children