Other Parts Discussed in Thread: MSP430F2274
Hi all, I am a bit new in this world so maybe my question is really easy..
I have a sensor connected to my MSP430F2274 trough UART. The signals are good and all works fine in hardware. And I receive all bytes well.
My doubt is If is any chance to know WHEN the transmission of bytes finish. The problem I am facing is that the message from the sensor can be from 119 to 249 bytes and only the 8 start bytes are always the same, so for handling the message it would be really useful to know when it finishes.I tried to use the !(IFG2 & UCA0RXIFG) but I think I need to introduce some delay when a byte has been received before this statement in order to give time to the µM to set the flag again but if i do so maybe the transmission of bits fails due to the delay so maybe I am in a dead end here. If anyone knows hot fix that I really would really appreciate some
help.