2017-11-17 01:44 AM - edited 2023-11-20 09:34 AM
Hello everyone,
I'm trying to verify wether my SPI transmits data or not, based on the SPI simulink demo project which is provided by STM32 MAT/TARGET.
Since my borad is STM32F4 Discovery Board, which is different from the demo board, so I've just made the following modifications:
1) Reconfigurating the ioc file: Setting target board as STM32F4 Discovery Board and enabling SPI1 as Full-Duplex master with Hardware NSS Signal disabled.
2) Deleting USART block in the Simulink model, because I don't want to moniter signals via USART.
After downloading code to the board, I use STMStudio to moniter the output signal ''NbSent'' of the block SPI as shown below. However, its value stays alway 0. It indicates that the SPI doesn't send any data!
Do you have any idea about this Problem?
Thank you!
#mat/target #spi2017-11-22 01:34 AM
Is there anyone who has a good idea about this Problem?
2017-11-29 02:51 AM
Someone else has the same problem. Could any ST internal members pay any attention to this problme?
Any ideas would be highly appreciated! Thanks.