![NXP Semiconductors MWCT101 S Series Скачать руководство пользователя страница 1712](http://html1.mh-extra.com/html/nxp-semiconductors/mwct101-s-series/mwct101-s-series_reference-manual_17222101712.webp)
b. Enable the warning interrupts by setting WRNEN.
c. If required, disable frame self reception by setting SRXDIS.
d. Enable the Rx FIFO by setting RFEN.
e. If Rx FIFO is enabled and DMA is required, set DMA.
f. If Pretended Networking mode is required, set PNET_EN.
g. Enable the abort mechanism by setting AEN.
h. Enable the local priority feature by setting LPRIOEN.
2. Initialize the Control 1 register (CTRL1) and optionally the CAN Bit Timing register
(CBT). Initialize also the CAN FD CAN Bit Timing register (FDCBT).
a. Determine the bit timing parameters: PROPSEG, PSEG1, PSEG2, and RJW.
b. Optionally determine the bit timing parameters: EPROPSEG, EPSEG1,
EPSEG2, and ERJW.
c. Determine the CAN FD bit timing parameters: FPROPSEG, FPSEG1, FPSEG2,
and FRJW.
d. Determine the bit rate by programming the PRESDIV field and optionally the
EPRESDIV field.
e. Determine the CAN FD bit rate by programming the FPRESDIV field.
f. Determine the internal arbitration mode (LBUF).
3. Initialize the message buffers.
a. The control and status word of all message buffers must be initialized.
b. If Rx FIFO was enabled, the ID filter table must be initialized.
c. Other entries in each message buffer should be initialized as required.
4. Initialize the Rx Individual Mask registers (RXIMRn).
5. Set required interrupt mask bits in
• IMASK registers (for all MB interrupts)
• CTRL1 / CTRL2 registers (for Bus Off and Error interrupts)
6. If Pretended Networking mode is enabled, configure the necessary registers for
selective wakeup.
7. Negate MCR[HALT].
After the last step listed above, FlexCAN attempts to synchronize to the CAN bus.
Initialization/application information
MWCT101xS Series Reference Manual, Rev. 3, 07/2019
1712
NXP Semiconductors
Содержание MWCT101 S Series
Страница 2: ...MWCT101xS Series Reference Manual Rev 3 07 2019 2 NXP Semiconductors...
Страница 42: ...MWCT101xS Series Reference Manual Rev 3 07 2019 42 NXP Semiconductors...
Страница 50: ...Conventions MWCT101xS Series Reference Manual Rev 3 07 2019 50 NXP Semiconductors...
Страница 70: ...Aliased bit band regions MWCT101xS Series Reference Manual Rev 3 07 2019 70 NXP Semiconductors...
Страница 78: ...Pinout diagrams MWCT101xS Series Reference Manual Rev 3 07 2019 78 NXP Semiconductors...
Страница 96: ...WCT101xS safety concept MWCT101xS Series Reference Manual Rev 3 07 2019 96 NXP Semiconductors...
Страница 130: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 130 NXP Semiconductors...
Страница 200: ...Initialization application information MWCT101xS Series Reference Manual Rev 3 07 2019 200 NXP Semiconductors...
Страница 284: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 284 NXP Semiconductors...
Страница 430: ...Functional Description MWCT101xS Series Reference Manual Rev 3 07 2019 430 NXP Semiconductors...
Страница 472: ...Application Information MWCT101xS Series Reference Manual Rev 3 07 2019 472 NXP Semiconductors...
Страница 508: ...Reset memory map and register descriptions MWCT101xS Series Reference Manual Rev 3 07 2019 508 NXP Semiconductors...
Страница 528: ...Module clocks MWCT101xS Series Reference Manual Rev 3 07 2019 528 NXP Semiconductors...
Страница 634: ...SRAM configuration MWCT101xS Series Reference Manual Rev 3 07 2019 634 NXP Semiconductors...
Страница 696: ...Initialization and application information MWCT101xS Series Reference Manual Rev 3 07 2019 696 NXP Semiconductors...
Страница 818: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 818 NXP Semiconductors...
Страница 960: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 960 NXP Semiconductors...
Страница 970: ...Memory Map and Register Definition MWCT101xS Series Reference Manual Rev 3 07 2019 970 NXP Semiconductors...
Страница 992: ...ADC calibration scheme MWCT101xS Series Reference Manual Rev 3 07 2019 992 NXP Semiconductors...
Страница 1118: ...Application information MWCT101xS Series Reference Manual Rev 3 07 2019 1118 NXP Semiconductors...
Страница 1294: ...Initialization Procedure MWCT101xS Series Reference Manual Rev 3 07 2019 1294 NXP Semiconductors...
Страница 1348: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1348 NXP Semiconductors...
Страница 1366: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1366 NXP Semiconductors...
Страница 1514: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1514 NXP Semiconductors...
Страница 1726: ...Debug and security MWCT101xS Series Reference Manual Rev 3 07 2019 1726 NXP Semiconductors...
Страница 1740: ...Initialization application information MWCT101xS Series Reference Manual Rev 3 07 2019 1740 NXP Semiconductors...
Страница 1760: ...MWCT101xS Series Reference Manual Rev 3 07 2019 1760 NXP Semiconductors...