AnsweredAssumed Answered

get break frame + stm32f103c8t6

Question asked by nguyen.vui on Apr 25, 2013
Latest reply on May 3, 2013 by nguyen.vui
Hi everyone,

I have already had a project about stm32f103c8t6 chip.I used rs485 to transfer data beetwen 2 board via SN751768P IC.I'm sure that all things about schematic are fine.I transfer data without break signal is ok. ex: I send 0xff from sending board (master) and I receive 0xff from getting board (slave).
BUT when I send break frame (USART2->CR1 |= 0x0001;).data of me have change: I send 0xff from master but receive 0x00,0x03 or 0x01, from slave.
I have already read about break frame in USART character description item of STM32F103xB usermanual. I think that stop bit at the end of each of break frame is reason make data error.(I have attached my picture)

please tell me this error.

Thanks and BR,
Vui Nguyen

Attachments

Outcomes