We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi every body.I have a project based on CMSIS-RTOS2 and STM32F107VC.There are threads for 2 USARTs,TCPNET and GPIOs all working fine. Also there is a thread to drive a spi memory on SPI3.When I use HAL libraries to drive the spi, it dosen't worke while TCPNET is active(initialized).When I use CMSIS_SPI_DRIVER (instead of HAL) it dosen't work at all(even if all other threads not started).ARM KEIL version : 5.30CMSIS driver version : 2.6.0CMSIS version : 5.7.0Network Component Version : 7.13.1SPI API : 2.3.0USART API : 2.4.0I prefer to use cmsis spi driver and expect it to work as well as the cmsis usart driver instances.Reply will be appreciated.Regards
Hi again, sorry for late. in my project,SPI3 is configured as alternative function of the pins PA15,PB3,PB4 and PB5 in RTE_Device.h. So it need to disable JTAG function but as the link https://community.arm.com/developer/tools-software/tools/f/keil-forum/34814/flashfs-and-spi-remap-bug says, i found out that the peripheral driver doesn't do that. The problem was solved when i added this line of code "GPIO_PinRemapConfig (GPIO_Remap_SWJ_JTAGDisable, ENABLE);" just after the line "GPIO_AFConfigure(spi->io.afio);" in the driver file(SPI_STM32F10x.c). Thank you again for your attention and guidance.