Associate II
April 25, 2013
Question
get break frame + stm32f103c8t6
- April 25, 2013
- 3 replies
- 1124 views
Posted on April 25, 2013 at 04:13
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