Other Parts Discussed in Thread: HALCOGEN,
Hello!
Me, with a UART question, again.
This is probably stupid question, but I've worked with a device that uses UART, and there are two things that got me confused.
(1) Which pin should I use for UART communication?
At first, I used SCITX to transmit data. I couldn't transmit anything. When I got the oscilloscope I realised that the voltage was constantly zero (if SCITX is not enabled in PINMUX in HALCoGen), or 3.3V (if SCITX was enabled in PINMUX in HALCoGen).
Then, I noticed (on the backside of the launchpad) there are UARTX labeled on J6 and J3. In schematics I've noticed that one is HERCULES_LIN_TX and another (which I've used) SCITX. When I put HERCULES_LIN_TX on oscilloscope I realise there are picks, which suggests data being transmitted.
Still, I am not quite sure where should I plug wire since both suggest UART, and since communication with my device isn't working, I am writing this question.
(2) Another thing that got me confused, since I am not an expert, is that UART gives 3.3V when not transmitting and voltage drops when transmitting. Is this normal for UART protocol or do I need to take that into account when programming UART communication?
Thanks and sorry for bothering you once again!
David