There are strengths and weaknesses in it's training data, yes.
Also a full 2,000 page STM reference manual, especially in PDF format is going to bust your token budget rapidly.
Again, apply the "Junior Engineer" pattern. What would you do with a junior engineer in that circumstance?
Let's be fair and honest here. You would "helicopter" and "micro-manage" them, right? Then do that with claude.
There are a few tricks though, that you can't really try with a flesh and blood engineer, not safely anyway. You can have more than one claude session, you can use that "Always a new junior every day" problem to your advantage. If one 200k context doesn't fit, use two or more of them.
To explain. An approach I have taken before, under similar circumstances is to pick things up where I am happy and comfortable and get claude to explain the current situation to me. This fits with your situation as I see it. Gain the trust and steer claude through the "It tells you what your project does." "chit chat" phase.
When you find it steps outside of your "expectations", such as you find yourself saying, "Hey, that's not what it says in my reference manual.", then point claude at that reference manual or an excrupt and get it to "write it down" for itself (and you) in a reference notes file.
For the reference manual itself. They can be hit and miss. It depends on the PDF format. PDF does not extract in a "co-linear" fashion to the text in more complex formats. So things like getting one line from the left column + one line from the right column, followed by a "figure annotion" is what the bot sees. Converting it into a more suitable format, aka, MarkDown or plain text, or even HTML can help the bot parse it and form it into context. It is also far less tokens to process text than a PDF.
You could use a clean claude session and get it to convert and extract parts of the PDF into a folder of documents, just for claude itself. It will even install the tools for you, such as "Poppler" PDF utilities. You don't need to worry much about reading it. Just check it works by spot testing claude on something very specific and very empirical it either gets right or doesn't.
I took this approach with the 68k CPU and it's MC68681 UART. The SRAM and FlashROM datasheets were very light, so I left them as PDFs.
At the end of that session, you have a set of "This is what claude needs to know from the reference manual" documentation suite.
You can clear that session now.
Start a new one, and repeat this analysis and documentation stage but focused on your project and writig the documentation for it you could never be bothered to write! Yes, I see you.
When you have a nice coherent project description in a folder of documents, you can again clear down that session and context.
Finally. When you "/init" a project, or just by asking claude to create it, the key file (in the first instance) is the CLAUDE.md readme. This is the the claude README file. It will always open it and put it in the context at the top. In this you tell it about the STM32 docs you created, you tell it about the project documentation you made. You tell it to use those as references for the hardware and software. You can even "try" and tell it to "always query the user when there is not enough information present to decide from these hard references alone."
If you are stuck with where to start with claude on the project and if you did the above I would be very, very surprised if you haven't already started a long TODO list of things it found, you didn't like or were trying to hide. It might find the bodies. It's very likely to find them and so it's not just you who knows where they are buried.
Start with admin. Start with listing those things you never got round to. Asides being a good junior it's a very responsive project manager who will actually write the documentaiton you can't a.r.s.d writing. The stuff you really needed, but never bothered. (We would call this backlog forming).
Then just pick one of those that you know the solution to, but just haven't got round to and guide claude through it. See how you feel, see if claude drove the work and followed you how you liked.
The end test is simple. Did it save you time? Did it help you think? Regardless of how productive "it" was, did it make YOU more productive? If those are true, you got it. If they are not, you might need a change of approach or maybe it just isn't for you.