sd card activate using interrupt

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

sd card activate using interrupt

跳至解决方案
2,546 次查看
Teja114
Contributor III

Hi there,

I'am using SPI protocol for SD card communication , now i have to implement protocol using interrupt mean when slave detect then only spi should works because iam using bare metal programming , when sd card absent that should not have to stop the remaining tasks.

Thanks in advance ..

0 项奖励
回复
1 解答
2,500 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Please refer to the SDK LPSPI driver.

You can start with the lpspi_transfer_s32k142 SDK example that you can find in the S32 Design Studio.

 

Regards,

Daniel

在原帖中查看解决方案

3 回复数
2,523 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

I'm afraid this is too application-dependent.

And the description is not very clear.

 

BR, Daniel

0 项奖励
回复
2,522 次查看
Teja114
Contributor III

Hi @danielmartynek ,

I want to write LPSPI code with interrupt method for S32k142 device .

currently iam using polling method.

can you please guide us how to write LPSPI driver using interrupt method

0 项奖励
回复
2,501 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Please refer to the SDK LPSPI driver.

You can start with the lpspi_transfer_s32k142 SDK example that you can find in the S32 Design Studio.

 

Regards,

Daniel