sd card activate using interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

sd card activate using interrupt

Jump to solution
1,352 Views
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 Kudos
1 Solution
1,306 Views
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

View solution in original post

3 Replies
1,329 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

I'm afraid this is too application-dependent.

And the description is not very clear.

 

BR, Daniel

0 Kudos
1,328 Views
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 Kudos
1,307 Views
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