CAN pin to wakeup TC397

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
E-John
Level 3
Level 3
10 replies posted First like given 25 sign-ins

Dear All,

 

There are 8 CAN on TC397, if user want to wakeup TC397 by CAN interface.

Which pin should be connected and how to configure it?

 

Thanks.

E-John

0 Likes
1 Solution
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Generally, the main core will be standby and leave SCR waiting for CAN wake up. So the configure could be a switch that is the main core will initialize CAN module after wakeup. SCR gets CAN wake up and then wake up main core, then SCR related ports could be disable or  be set sth else.

https://www.infineon.com/dgdl/Infineon-AURIX_Training_2_8-Bit_Standby_Controller_Quick-Training-v01_...

 

View solution in original post

0 Likes
6 Replies
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Hi E-John, Please refer to TC3xx User Manual Section 49.17 WCAN filter

dw_0-1641871231170.png

 

0 Likes
lock attach
Attachments are accessible only for community members.
E-John
Level 3
Level 3
10 replies posted First like given 25 sign-ins

Hi dw,

from doc "AURIXTC3XX_um_part2_v2.0.pdf".

It describes that every CANRXDx, x from A to G can be set to WCAN Rx

But  I see "Infineon-TC39x-DataSheet-v01_00-EN.pdf",

Some CAN RX pins are not matched in p3501 of "AURIXTC3XX_um_part2_v2.0.pdf". (see attachment Px.y_RXDz.png)

1. Is this diagram just for illustration?

2. It just wants to tell us that any CAN RX(Port A to Port G, Node1 to Node4) of any model's Tricore(TX397, TC377, or others...), any Package(LFBGA-516,  LFBGA-292)supports wake-on filter?

 

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Dear John,

If you open AURIXTC3XX_um_part2_v2.0.pdf on page 49-359 2021-02 v2.0.0, you can see 49.17.5.2.1 Input/Output function Selection in Ports.
P33.10 / WCANRXDA
P33.7 / WCANRXDB
P33.13 / WCANRXDC
P33.5 / WCANRXDD
P33.2 / WCANRXDE
P14.1 / WCANRXDF (1)
P33.12 / WCANRXDG

Above 7 pins can be selected by MODPISEL0.WCANRXDIS which is routed to WCANRXD

Otherwise, in 49.10 section, you can see:

The SCR has a maximum of 16 general purpose I/O ports with 8-bit peripheral I/O lines that are shared with the 32-bit peripherals I/O lines. It is organized into two parallel ports. Internally within the SCR, these ports are always referred to as SCR_P00 and SCR_P01. Here, within the SCR, the terms SCR_P00 and SCR_P01 do not refer to the main-SoC ports P00 and P01. Instead, they are actually mapped to pins in ports P33 and P34.1 in this platform.


Table 624 Pin assignment for Ports in SCR


SCR Ports                                                       Main SoC Ports / Pins
SCR_P00.0 - SCR_P00.7                            P33.0 - P33.7
SCR_P01.0                                                      P34.1
SCR_P01.1 -  SCR_P01.7                           P33.9 - P33.15

 

 

dw

0 Likes
E-John
Level 3
Level 3
10 replies posted First like given 25 sign-ins

Hi dw,

The WCAN kernel register names described in this chapter(49.17) will be referenced in the Standby Domain 
Internal Target Specification by the module name prefix “WCAN_”.

From my understanding,

If the P33.10 is configured to WCANRXDA for SCR, it is no more the Main SoC CAN01_RXDD, is my understanding correct?

Thanks.

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Generally, the main core will be standby and leave SCR waiting for CAN wake up. So the configure could be a switch that is the main core will initialize CAN module after wakeup. SCR gets CAN wake up and then wake up main core, then SCR related ports could be disable or  be set sth else.

https://www.infineon.com/dgdl/Infineon-AURIX_Training_2_8-Bit_Standby_Controller_Quick-Training-v01_...

 

0 Likes
E-John
Level 3
Level 3
10 replies posted First like given 25 sign-ins

it is clear, understood, thanks.

0 Likes