Skip to content

possibility of using both SPI1 and DAC #101

Closed Answered by maxgerhardt
flute2k3 asked this question in Q&A
Discussion options

You must be logged in to vote

Well even if you were to switch between using PA4 as a DAC or SPI CS, the connected flash chip would still see a voltage on its CS pin, and if it's low enough the flash chip becomes selected and starts to try and clock in data from SCLK (PA5, the other DAC pin incidentally) and MOSI (PA7). So I don't think this would work at all and would trigger random things to happen in the flash chip with SCLK and CS having weird analog voltages on it.

So even though the SPI pins are re-mappable to different pins, this wouldn't help you since you can't change the hardware if you want to keep using that bluepill board. It would then just not put the SPI signals on the right pins. And sadly, the DAC pin…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by flute2k3
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants