SDHC/FATfs stack is not working with FlexCan (CAN 0) together in MPC5748G

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

SDHC/FATfs stack is not working with FlexCan (CAN 0) together in MPC5748G

1,097件の閲覧回数
arohanekar
Contributor I

Hi All,

Currently I am using MPC5748G DEV-KIT (NXP) board.

I am using sdhc interface for SD card using library component (SDHC/FATfs stack). And i am able to read and write data on sd card.
In my use case, i am getting data from CAN. So i have added FlexCan component from library. And configured CAN 0 channel.
But after that, My existing sd card related Fatfs code stop working. my code get stuck in erase test.
So Is there any dependency of CAN and SDHC/FATfs stack module?
 
Please help me to sort out this issue.
 
Thanks
Aniket.
ラベル(2)
0 件の賞賛
返信
1 返信

921件の閲覧回数
ToHoangLinh
NXP Employee
NXP Employee

Hi Aniket,

Your code is stuck at erase test. Can you post the log output so I can determine which line stopped it?

There should be no dependency between SDHC and FlexCAN module.

Is your problem related to this issue? (https://community.nxp.com/message/1146137 )

Normally, if getting data from FlexCan and writing to SD card, we just do

- Format card (optional)

- Mount card

- Write data to card

- Unmount card when finishing

0 件の賞賛
返信