GD32F10x User Manual
625
Sleep working mode to Normal working mode: Clear IWMOD and SLPWMOD bit in CAN_CTL
register.
Initial working mode
When the configuration of CAN bus communication is needed to be changed, the CAN must
enter initial working mode.
When IWMOD bit in CAN_CTL register is set, the CAN enters the initial working mode. Then
the IWS bit in CAN_STAT register is set.
Initial working mode to sleep working mode: Set SLPWMOD bit and clear IWMOD bit in
CAN_CTL register.
Initial working mode to Normal working mode: Clear IWMOD bit and clear SLPWMOD bit in
CAN_CTL register.
Normal working mode
The CAN could communicate with other CAN communication nodes in normal working mode.
To enter normal working mode: clear IWMOD and SLPWMOD bit in CAN_ CTL register.
Normal working mode to sleep working mode: Set SLPWMOD bit in CAN_CTL register and
wait the current transmission or reception completed.
Normal working mode to Initial working mode: Set IWMOD bit in CAN_CTL register, and wait
the current transmission or reception completed.
21.3.2.
Communication modes
The CAN interface has four communication modes:
Silent communication mode.
Loopback communication mode.
Loopback and silent communication mode.
Normal communication mode.
Silent communication mode
Silent communication mode means reception available and transmission disable.
The RX pin of the CAN can get the signal from the network and the TX pin always holds
logical one.
When the SCMOD bit in CAN_BT register is set, the CAN enters the silent communication
mode. When it is cleared, the CAN leaves silent communication mode.
Silent communication mode is useful for monitoring the network messages.
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...