MC33HB2000 SPI communication error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MC33HB2000 SPI communication error

1,982件の閲覧回数
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 返答(返信)

1,944件の閲覧回数
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 件の賞賛
返信

1,971件の閲覧回数
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 件の賞賛
返信

1,957件の閲覧回数
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 件の賞賛
返信

1,844件の閲覧回数
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 件の賞賛
返信

1,831件の閲覧回数
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 件の賞賛
返信