Hi @Turtledove,
Are you using the provided examples with S32DS ARM (bare metal) or an example from the SDK (ProcessorExpert)?


If you are using the bare metal approach, you can refer to AN5413, which provides software examples. Specifically, section 2.9 and 2.10 both provide FlexCAN 2.0 & FlexCAN FD routines.
If you are using the SDK, you can follow the description.txt file from the imported example.
1. Import the example to the workspace and generate the ProcessorExpert code through the "Components" view.

2. "Generated_Code" folder should be present under the project directory. Next, build the project.
3. This specific "can_pal_s32k148" example is setup to work with two EVBs, one as node A and the other one as node B. You can change this by defining either MASTER or SLAVE in the defines.
But, since you are using a PCAN-USB, you can simply run the application on the S32K148EVB and connect J11 to your PCAN. After this, setup CAN FD bit timing as the example (500kpbs/1000kpbs & 87.5%/75% sample point).

4. After configuration and connections, you will receive a CAN frame when pressing either SW3 or SW4, and EVB will toggle LED0 and LED1 depending on data[0] for the sent frame:

For Real-Time Expressions, please refer to this post: Solved: How do I enable Live View for variables when debugging? - NXP Community.
Best regards,
Julián