2023-10-15 10:23 PM - edited 2023-10-15 10:25 PM
Hello everyone,
In my project i am using STM32F107VCT6 MCU. When i tried to control gpio pin it is not changing state from low-high/ high-low. I am only getting issue with PB3. In hardware i have connected this pin to SCK pin of W25Q16. I have enabled gpio clock and set the mode of this pin to output_PP(Implementing SoftSPI).
CODE SNIPPET:
Note: Code generated in keil. I have enabled CMSIS core & selected required device files(Startup + GPIO,RCC & FRAMEWORK from StdPeriph Drivers)
I only want to use standard peripheral library(LL). I have tried it with other gpios & it is working absolutely fine. As well as PB3 is working fine if i use HAL. So please can you help what should be done in strandard peripheral library to make it work.
Solved! Go to Solution.
2023-10-15 10:53 PM
2023-10-15 10:53 PM
In 'F1, PB3 is by default set as a JTAG pin.
JW
2023-10-16 03:07 AM
Thank you
Can you please suggest from where I can learn concepts like this?
2023-10-16 03:14 AM
Data Sheet and Reference Manual. Identifying other potentially conflicting uses and then how to limit or change them.