2833 views|6 replies

13

Posts

0

Resources
The OP

I need help. I have been working on the communication program between stm8s103f3 and another chip for a long time but I still can't figure it out. I feel a little sad. [Copy link]

I can't see the waveform of the chip return value on the oscilloscope. Can anyone help me find the problem? Thank you very much

程序.zip

127.33 KB, downloads: 6

This post is from stm32/stm8

Latest reply

This is single-line communication, right? For single-line communication, you just need to follow the sequence of timing. You just need to send it as you are told. The main thing is to use an oscilloscope or logic analyzer to measure the timing accurately, and then you can communicate. It is similar to the chip that STM8S drives TM1804.  Details Published on 2015-4-10 16:19

13

Posts

0

Resources
2
This is the basic information of the communication protocol

QQ图片20150325103858.png (74.73 KB, downloads: 0)

QQ图片20150325103858.png

QQ截图20150325104012.png (71.47 KB, downloads: 0)

QQ截图20150325104012.png

QQ截图20150325104111.png (49.94 KB, downloads: 0)

QQ截图20150325104111.png

QQ截图20150325104123.png (36.73 KB, downloads: 0)

QQ截图20150325104123.png
This post is from stm32/stm8

4973

Posts

19

Resources
3
The timing is a headache, you should write it strictly according to the timing, especially the delay, it should not be a big problem
This post is from stm32/stm8
Personal signature我的博客

1991

Posts

24

Resources
4
If you use the two pins of IIC, please be sure to connect external pull-ups. Many experts fail here.
This post is from stm32/stm8

Comments

This is the first line of communication  Details Published on 2015-3-26 09:21

3460

Posts

15

Resources
5
I don't know much about this protocol. Are you using Io analog timing? First make sure the hardware is normal. Then compare the timing and protocol.
This post is from stm32/stm8

13

Posts

0

Resources
6
shower.xu posted on 2015-3-25 17:06 If you use the two pins of IIC, please make sure to connect the pull-up pins externally. Many experts have failed here
This is from the first-line communication
This post is from stm32/stm8

6

Posts

0

Resources
7
Evisi posted on 2015-3-25 10:41 This is the basic information of the communication protocol
This is single-line communication, right? For single-line communication, you just need to follow the sequence of timing. You just need to send it as you are told. The main thing is to use an oscilloscope or logic analyzer to measure the timing accurately, and then you can communicate. It is similar to the chip that STM8S drives TM1804.
This post is from stm32/stm8

Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

    EEWorld
    subscription
    account

    EEWorld
    service
    account

    Automotive
    development
    circle

    Robot
    development
    community

    Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
    快速回复 返回顶部 Return list