
RM0008
Contents
Doc ID 13902 Rev 12
19/1096
Loop back mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 636
Loop back combined with silent mode . . . . . . . . . . . . . . . . . . . . . . . . . 636
STM32F10xxx in Debug mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 637
bxCAN functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 637
Transmission handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 637
Time triggered communication mode . . . . . . . . . . . . . . . . . . . . . . . . . 639
Reception handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639
Error management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 646
Register access protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 650
CAN control and status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 650
CAN mailbox registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 660
CAN filter registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667
bxCAN register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 671
Serial peripheral interface (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 674
S main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 675
2
S features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 676
Configuring the SPI in slave mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680
Configuring the SPI in master mode . . . . . . . . . . . . . . . . . . . . . . . . . . 682
Configuring the SPI for Simplex communication . . . . . . . . . . . . . . . . . 683
Data transmission and reception procedures . . . . . . . . . . . . . . . . . . . 683
SPI communication using DMA (direct memory addressing) . . . . . . . 694