9145 views|11 replies

3

Posts

0

Resources
The OP
 

DSP suddenly freezes while the program is running [Copy link]

 

I am currently developing a power supply project using TI TMS320F28035. When the power supply is close to full load, the DSP sometimes dies, the operating indicator light no longer flashes, the PWM port does not send waves, and no fault code is sent to the host computer. When it is unloaded or lightly loaded, it runs normally. It seems that when it is heavily loaded, the DSP is harassed. Has anyone encountered this problem? Please advise. Or point out where to start to find the problem. Thank you!

This post is from Microcontroller MCU

Latest reply

I have the same problem, and I am also 28035. Has the OP found out the reason?  Details Published on 2022-7-11 18:01
 

2w

Posts

0

Resources
2
 

"When the system is close to full load, the DSP sometimes dies, the operating indicator light stops flashing, and the PWM port stops emitting waves."

This is because your DSP chip is interfered with by the power supply and the program is running away.

This post is from Microcontroller MCU
 
 

2w

Posts

0

Resources
3
 

Finding the interference path is a very troublesome task.

Generally speaking, the power supply of your DSP chip is a suspicious path. Other paths include: the various input terminals of the DSP chip, especially the interrupt input terminal.

This post is from Microcontroller MCU
 
 
 

3

Posts

0

Resources
4
 
This post was last edited by zqx123 on 2021-1-4 20:25

Hi, first of all, thank you very much for your reply!

How bad does the 3.3V power supply have to be to cause the DSP to crash? When the DSP crashes, there is no obvious change in the 3.3V power supply on the oscilloscope? If we use an external DC source to power the DSP, will it still crash?

This post is from Microcontroller MCU

Comments

A single large spike in the power supply to the DSP may cause the DSP to malfunction. The power supply may be normal for a long time after the error occurs. Your oscilloscope may not capture the spike on the power supply.  Details Published on 2021-1-4 20:56
A single large spike in the power supply to the DSP may cause the DSP to malfunction. The power supply may be normal for a long time after the error occurs. Your oscilloscope may not capture the spike on the power supply.  Details Published on 2021-1-4 20:54
A single large spike in the power supply to the DSP may cause the DSP to malfunction. The power supply may be normal for a long time after the error occurs. Your oscilloscope may not capture the spike on the power supply.  Details Published on 2021-1-4 20:51
 
 
 

2w

Posts

0

Resources
5
 
zqx123 posted on 2021-1-4 20:22 Hello, first of all, thank you very much for your reply! How bad does the 3.3V power supply have to be to cause the DSP to run away? I didn't see the DSP freeze on the oscilloscope...

A single large spike in the power supply to the DSP may cause the DSP to malfunction. The power supply may be normal for a long time after the error occurs. Your oscilloscope may not capture the spike on the power supply.

This post is from Microcontroller MCU
 
 
 

2w

Posts

0

Resources
6
 
zqx123 posted on 2021-1-4 20:22 Hello, first of all, thank you very much for your reply! How bad does the 3.3V power supply have to be to cause the DSP to run away? I didn't see the DSP freeze on the oscilloscope...

"We use an external DC source to power the DSP, but it will still die?"

It is entirely possible. Even if an external DC power supply is used to power your DSP, the DSP may still be affected by your power supply (probably a switching power supply) through spatial coupling (there is distributed capacitance between your power supply and the DSP pins) and magnetic field coupling.

This post is from Microcontroller MCU
 
 
 

2w

Posts

0

Resources
7
 
zqx123 posted on 2021-1-4 20:22 Hello, first of all, thank you very much for your reply! How bad does the 3.3V power supply have to be to cause the DSP to run away? I didn't see the DSP freeze on the oscilloscope...

It is common for the switching power supply to interfere with the control section (your DSP chip), especially if your switching power supply and the control section are mechanically located in the same metal box.

This post is from Microcontroller MCU
 
 
 

7422

Posts

2

Resources
8
 

If it runs away, we have to resort to trickery. This kind of interference is difficult to find.

This post is from Microcontroller MCU
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

1w

Posts

142

Resources
9
 

Pay attention to two parts, one is the power supply circuit, and the other is the clock part. The power supply circuit mainly relies on enhanced decoupling, including the use of properly arranged decoupling capacitors and magnetic beads to suppress the interference of the power supply circuit. The design of the PCB is also particular, especially the layout of the ground loop should be highly paid attention to. The clock part mainly relies on PCB design to avoid interference. If there is a long IO line in the circuit, you should also pay attention to the interference coupled by the long IO line. The solution mainly relies on capacitors and inductors and clamp bypass.

This post is from Microcontroller MCU
 
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
 
 

3

Posts

0

Resources
10
 

Thank you for the guidance from the seniors. I have just entered the power supply industry and I will learn a lot from you in the future.

This post is from Microcontroller MCU
 
 
 

2

Posts

0

Resources
11
 

Have you solved this problem? Do you have any experience to share?

This post is from Microcontroller MCU
 
 
 

1

Posts

0

Resources
12
 

I have the same problem, and I am also 28035. Has the OP found out the reason?

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