Communication between Vehicle HAL and CAN

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication between Vehicle HAL and CAN

203 Views
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 Kudos
2 Replies

37 Views
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 Kudos

37 Views
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 Kudos