Write and Read on HTRC110 using SPI

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

Write and Read on HTRC110 using SPI

602 次查看
Ehsaaan
Contributor III

Hello
Dears

I am trying to communicate with HTRC110 using the SPI protocol. But it needs some preliminary work before each SPI send/receive operations. How could I implement this?
For example, first changing the pin function to GPIO, then Make it low -> delay -> high. After this, change the pin function to SPI(MOSI) then send the data. 
Is this sequence correct?

Regards,
Ehsan

0 项奖励
回复
1 回复

565 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Ehsan:

 

For the communication for HTRC110,  please follow the Datasheet regarding serial communication.

Every communication between HTRC110 and microcontroller begins with an initialization of the serial interface. The interface initialization condition is a low-to-high transition of the signal DIN while CLK is high.

You may refer to page 7 of https://www.nxp.com.cn/docs/en/data-sheet/037031.pdf for more details.

Regards

Daniel

 

 

0 项奖励
回复