I'm trying to use the UART driver which comes with zstack but the lowest baud rate defined is 9600.
I need to use 2400 so If I wanted to set it would I have to do it after opening the port with the zstack functions?
By that I mean initialising with
initUart0(halUARTCBack_t pf)
here: sunmaysky.blogspot.com/.../how-to-use-two-uart-ports-in-cc2530-z.html
then these statements after:
// Initialize bitrate (U0BAUD.BAUD_M, U0GCR.BAUD_E) U0BAUD = uartBaudM; U0GCR = (U0GCR&~0x1F) | uartBaudE;