UCANS32K1SIC: Dual CAN Channel Configuration issue

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

UCANS32K1SIC: Dual CAN Channel Configuration issue

5,178 Views
Shubha_Ravi
Contributor I

Hello Team,

Iam using the UCANS32K1SIC EVB for development purpose in our project. As per the project requirement we need to enable two CAN channels (CAN0 and CAN1). I executed the S32K146_can_pal example to see the working of single CAN (CAN1B is connected to PCAN) and it worked fine, then I tried to Configure a second CAN channel following the example, by creating another instance for the second CAN (CAN1A connected to PCAN). As per my understanding of the code, it should work just fine with this change, but Iam unable to receive/ transmit anything with the changed configuration. Am I missing something on the configuration/hardware. Can you please help me with configuration of second channel.

I have attached the changes that was made and the main file that Iam trying to execute. Iam using PCAN with baud rate 500kbps.Please let me know if further information is required.

0 Kudos
Reply
1 Reply

5,059 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Shubha_Ravi

Please confirm whether the CAN1 port has been initialized. 

Senlent_0-1693793242426.png

This is not seen in the picture you provided.

0 Kudos
Reply