2231 views|0 replies

6366

Posts

4936

Resources
The OP
 

MSP430 MCU Development Record (4) [Copy link]




This content is originally created by EEWORLD forum user tiankai001. If you need to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source MSP430 MCU Development Record (4) Phenomenon: I debugged a clock chip with a separate power supply. The chip has an I2C interface. Since the chip has been debugged in other projects before, the corresponding program was directly transplanted. As a result, the debugging was always unsuccessful, and even the most basic response signal ACK was not available. Test: Because the program was debugged before and has been used on the product, there must be no problem with the program flow. The first suspicion is that the timing problem may be caused by the inconsistent main frequency of the microcontrollers of different products. After carefully checking the timing, it was found that there was no inconsistency and there was no problem with the unreasonable main frequency. The second suspicion is the port configuration. Check the port. Whether it is the circuit or the program, the port configuration is fine. I have entered a dead end and don’t know what to do. So I decided to put it aside and come back to solve it in a few days. A few days later, I debugged the chip again. Before debugging, I wanted to check if there was any problem with the circuit connection. When I saw the power supply of the chip, I suddenly found that it was powered by a lithium battery alone, but the circuit board I was testing did not have a lithium battery. So I powered it up and debugged it, and it worked all of a sudden. Verification: Remove the battery that powered the chip alone. Naturally, the chip would not have an ACK signal during debugging. With the battery added, there was no problem with the read and write operations of the chip. Remarks: This is a very naive question. I believe many people will find it incredible and many people will laugh at it: how can it be adjusted without even adding electricity? But I believe that many people have made this naive mistake.
This post is from Microcontroller MCU
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

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