Hi @viet,
It is possible to appear some problems with SPI communication for instance 0, due to an overlap of an SPI of onboard ic (sbc UJA1169) connected on the same CS pin of instance 0 (PTB5).
The first solution for this problem is to connect J107 jumper to 2-3 position and be sure that the board is powered via USB cable not via J16 connector.
If that don't work properly try that:
I modified the default example to use PTB0 instead of PTB5 and I added write high blocks to the PTB5 pin in order to disable SPI interface of UJA ic.
Please let me know if any of those solutions work for you.
Best regards,
Adrian