i.mx8m plus CanBus on Windows IoT

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

i.mx8m plus CanBus on Windows IoT

Jump to solution
1,675 Views
ChrisChang1234
Contributor III

Hi:

I intend to use the CAN bus of i.mx8m plus with Windows 10 IoT.

But it doesn't work at all.

1. I connected the CAN1 and CAN2 to check it and execute the a and b roles with example  "FlexCAN-interrupt-source" (from NXP's SW package), 

    there's any response at the role-b.

2. Disconnect the CAN1 from CAN2, observe the signal with a logic analyser, nothing happened one the role-a sent.

For this, I add debug info and re-build the project "imxcan_mc", the flow seems good,

ImxCanIoctlControllerSendNonBlocking=>FLEXCAN_TransferSendNonBlocking=>FLEXCAN_WriteTxMb

 

But I cannot get any signal on the CANBUS.

I also test the hardware with Yocto project,

It works fine in the above 2 condition.

 

Can somebody help?

0 Kudos
Reply
1 Solution
1,515 Views
ChrisChang1234
Contributor III

Hi:

I'm really sorry for my mistake for this post,

It's about the H/W connection,

There is a switch between the i.mx8 and the terminal connector,

The switch should be enabled to establish the connection.

Thank you all.. 

View solution in original post

0 Kudos
Reply
7 Replies
1,554 Views
michal_hromadka
NXP Employee
NXP Employee

@Ludek_Zaloudek Can you help here ? 

 

0 Kudos
Reply
1,539 Views
ChrisChang1234
Contributor III

Hi Micahel and Ludek:

 

Thnaks, But I have already fixed this issue.

 

Sorry for forgetting to updating this.

0 Kudos
Reply
1,523 Views
Ludek_Zaloudek
NXP Employee
NXP Employee

@ChrisChang1234 hello,

that is great news!

I was about to suggest some ideas but you have been a bit quicker. 

Can you please let us know what was the problem?

With regards
Ludek

0 Kudos
Reply
1,516 Views
ChrisChang1234
Contributor III

Hi:

I'm really sorry for my mistake for this post,

It's about the H/W connection,

There is a switch between the i.mx8 and the terminal connector,

The switch should be enabled to establish the connection.

Thank you all.. 

0 Kudos
Reply
1,634 Views
ChrisChang1234
Contributor III

Hi Hector:

It's a custom board.

But I test the CANBUS function on this borad with the Yocto project (Linux), it works well.

0 Kudos
Reply
1,621 Views
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @ChrisChang1234 ,

I hope you're doing well!

Unfortunately, Windows 10 IoT Enterprise isn't currently supported for custom boards, only EVKs. I apologize for the inconvenience this may cause. Thank you.

Best regards,
Hector.

0 Kudos
Reply
1,645 Views
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @ChrisChang1234 .

I hope you're doing well! I've contacted or W10 IoT team for any input on this issue.

In the meantime, could you please let me know if you're using a custom board or an EVK?

Best regards,
Hector.

0 Kudos
Reply