Communication between Vehicle HAL and CAN

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

Communication between Vehicle HAL and CAN

3,765件の閲覧回数
shriyanayak1992
Contributor II

Hi Nxp developers,

I have tested CAN on IMX8 using canutils using this reference link on Android 10.

Simple CAN (FD) test on i.MX8QXP's MEK board | NXP Community .

I am working on IMX8QXP-MEK to build communication between Vehicle HAL and CAN now.

I went through vehicle Hal, It says vehicle HAL is connected to an emulator instead of a real vehicle network. I don't see any implementations wrt to communication with CAN.

Is there a way Vehicle HAL can receive CAN commands and send it up to the application layer?

Is this possible,Android(kernel net can driver)->VHAL->car service->application?

I want this in cortex A35. I don't want to move CAN to M4.

 

Regards,

Sriraksha

0 件の賞賛
返信
3 返答(返信)

3,599件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The FlexCAN on the i.MX 8QuadMax/8QuadXPlus supports CAN FD protocol. Details you can refer to Simple CAN (FD) test on i.MX8QXP's MEK board and the section 4.5 FlexCAN in the following document.

Regards

0 件の賞賛
返信

3,599件の閲覧回数
shriyanayak1992
Contributor II

Hi Bio_TICFSL‌,

Thank you for your reply. I have already verified Flex Can.

I am looking at something else now.

I was thinking as canutils talk to can driver and dump messages cant I do the same dumping & sending it to Vehicle HAL up to the android application?

I basically want to receive CAN frames in VHAL.

Also, any idea on running this vehicle emulator tools present here 

<sources>/packages/services/Car/tools/emulator or

<sources>/hardware/interfaces/automotive/vehicle/2.0/default/tests?

Regards,
Sriraksha

0 件の賞賛
返信

3,489件の閲覧回数
ConjureChris
Contributor I

Hi @shriyanayak1992 - I'm just about to start a similar project where I need to send up CAN Frames through the VHAL into Android.

What method did you decide upon to do this - are you using FlexCAN?

We will be using an i.MX8QuadMax MEK board (with baseboard for the CAN headers)

0 件の賞賛
返信