SPI slave mode selection And SPI send function does not work

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

SPI slave mode selection And SPI send function does not work

2,566件の閲覧回数
15041539
Contributor I

Hello there! How can I set the PN7462 to work in HDLL mode, NATIVE mode or NCI mode during the use of PN7462 as SPI communication slave?
When I set PN7462 as SPI slave, use the following statement re = phhalHif_Transmit ((uint32_t *) & temp, 8, (pphhalHif_Callback_t) & phExPos_SPIHIFSPITxCallback); When the function sends data 0x10005105, MISO is always high. The return value of phhalHif_Transmit is 0, that is, re = 0.
But when I let the phhalHif_Transmit function execute cyclically, the code can be sent normally as follows

while (1) {
  re = phhalHif_Transmit ((uint32_t *) & temp, 8, (pphhalHif_Callback_t) & phExPos_SPIHIFSPITxCallback);
      }
May I ask why?

0 件の賞賛
返信
1 返信

2,481件の閲覧回数
IvanRuiz
NXP Employee
NXP Employee

Hello,

A related question was already asked in following community thread, please help us to refer to it: https://community.nxp.com/message/1047051 

BR,

Ivan.

0 件の賞賛
返信