MC33HB2000 SPI communication error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MC33HB2000 SPI communication error

2,574 次查看
hyjung
Contributor I

Dear all.

I send detailed waveform data regarding whether or not a damping resistor 1kohm is inserted in SPI line  between the MCU and the MC33HB2000.

test condition)

When waking up from sleep, it operates for 15 seconds after initializing for 100 ms

SPI freq. 500 kHz, Motor current 1.5A max.

What is the reason for the difference caused by the presence or absence of the damping resistance of the SLK line?

Thanks.

标签 (1)
0 项奖励
回复
5 回复数

2,536 次查看
Wayne_Anderson
NXP Employee
NXP Employee

Hello,

Ensure you have adequate hold time. SCLK falling edge to MOSI requires a minimum 30ns hold timing.

Wayne Anderson
NXP Semiconductors
Chandler, AZ
(480) 814-2080


0 项奖励
回复

2,563 次查看
Wayne_Anderson
NXP Employee
NXP Employee

Hi,

Not understanding question. The want to use damping resistor on SCLK line? 1kohm seems quite large.

Wayne

 

Wayne Anderson
NXP Semiconductors
Chandler, AZ
(480) 814-2080


0 项奖励
回复

2,549 次查看
hyjung
Contributor I

Dear Anderson.

The reason for using the damping resistor was added due to EMC CE current NG.
I need to use a damping resistor for the SCLK line. Is there a way to determine the application range of the damping resistor because the following problem has occurred?
And why does the error appear when 1kohm is applied?

 

Thanks.

0 项奖励
回复

2,436 次查看
hyjung
Contributor I

Thanks for your response.

If MOSI fails to reach the hold time, does MISO send an error?
What I do not understand is why MISO sends an error even though it is not actually an error in the motor driver.

Thanks.

 

0 项奖励
回复

2,423 次查看
Wayne_Anderson
NXP Employee
NXP Employee

Hi,

What is the error you are detecting in the status register? Are you getting a SPI framing error? If the number of clock pulses within CS_B low is not more than 0 and an integer multiple of 16, the current SPI communication is ignored and a framing error is recorded in the status register. Do you have inadvertent Chip Select going low?  

Wayne Anderson
NXP Semiconductors
Chandler, AZ
(480) 814-2080


0 项奖励
回复