Thank you for reply @VaneB
I'm trying to apply CAN and PWM example posted another blog and example. But it's doesn't work on my board.
I implemented it to always receive PWM and turn on green LED when I pressed the switch to see if I wrote the PWM receive code incorrectly, but the green LED is always on even if I don't press the switch. However, PWM doesn't output. I can't figure out which is wrong with pin settings or code implementation....