I can’t get COM1 to work on the Cerbuino Bee modules I have. I can set COM1 in the SerialPort constructor and I can open and I can send bytes to it without errors but nothing appears on pins PB6 & PB7. (UART1)
Is it possible to get this to work as I have developed a plug in board and connected this via X2 and I would hate to have to rework the whole design?
@ Dave McLaughlin - Only the pins I mentioned in my post are mapped as COM ports. There are no other ports in the firmware. You may be able to configure and use those pins as a COM port using the Register class – potentially by remapping one of the exist COM ports to those pins if possible. It is not something we have tested or know to work however.
Trying to use the Register class to write to the USART1 registers.
I setup USART6 (COM1) and then read out the values to see what the settings used are and then tried to replicate these (after taking out the interrupt stuff) and I can’t get the values to write to the register. I am using the following to try and write to the SR register.