Recommended Port Setting Value for CAN, MFS, and Communication Features in Traveo™ MCUs - KBA218100

Version: **

 

Question:

What are the recommended values for the following registers in the S6J3110/3120 series MCUs: PPC_PCFGR:NFE, EICxx_NFER:NFEx? 

 

Answer:

Port setting for CAN, Multi-Function Serial, and communication features of the input should be set as follows: 

PPC_PCFGR:NFE=0, EICxx_NFER:NFEx=[0 or 1]

When you use both CAN and External interrupts, use the following setting: 

PPC_PCFGR:NFE=0, EICxx_NFER:NFEx=1 

In the case of the "PPC_PCFGR:NFE=1" setting, both CAN/Multi-Function Serial and External interrupt of the input ports have a noise filter, whereas in the case of the "EICxx_NFER:NFEx=1" setting, only the External interrupt of inputs have a noise filter.

Then, you can set the CAN/Multi-Function Serial of the input ports such that they have no noise filter and only the External input ports have a noise filter in the case of the "PPC_PCFGR:NFE=0, EICxx_NFER:NFEx=1" setting.