How to configure SPI using SDK?

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

How to configure SPI using SDK?

1,470件の閲覧回数
张松张
Contributor I

I use the SDK to configure the SPI module on MPC5744, and when I am debug, no source available for "SWT0 IRQHandler () at 0x1002c08" appears, but I don't know why, does anyone know? Is it watchdog overtime?

But I do it with an example, using DSPI_MasterTransferBlocking (SPI3_INSTANCE, &EEPROM_CMD_WREN, NULL, 81000) function.

タグ(3)
0 件の賞賛
返信
2 返答(返信)

1,226件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi

I would suggest you refer to the spi demo under the SDK installation folder for how to configure spi master and spi slave. There are 4 demos.

Please also refer to MCUXpresso SDK API Reference Manual, chapter 11 DSPI for more details

FRDM-K66F_2.4.0\boards\frdmk66f\driver_examples\dspi\

Regards

Daniel

0 件の賞賛
返信

1,226件の閲覧回数
张松张
Contributor I

Thank you for your reply. I just followed the example, but debug will report the no source available for "SWT0 IRQHandler () at 0x1002c08" failure when calling the DSPIID MasterTransferBlocking function. I would like to know the cause and the solution, and look forward to your reply again.

0 件の賞賛
返信