When trying to implement sleep mode it appears the code enters and exits sleep mode once and then gets stuck in sleep mode after and will not wake back up. I posted some code below of what I believe affects the sleep function. I want the code to slee...
I am trying to interface with the Winbond W25Q80DV which is a SPI flash memory chip. I am using the STM32L476VG development board. To test the connection I am first trying to read the manufacturing ID from the chip. Using an oscilloscope I am able t...
We are using the STM32L476VG Discovery Board and are trying to use the SPI 1 interface. I generated the code through CubeMX with pins PA5, PE13, PE14, PE15. After the code was generated I tried placing this example code into the while loop: HAL_G...
Added a pull up resistor on MOSI and MISO and used PE13 for clock instead of PA5. On the dev board PA5 is connected to a cap that was messing up the clock signal.
Thanks for the quick reply. I added a screenshot of the SPI HW register after init. I did not see any conflict. I set it up with CubeMX also so I think that would have caught conflict. The code I'm trying is very simple and does not involve any other...