2025-12-04 10:42 AM - edited 2025-12-04 12:04 PM
Hello,
The integration of the MOC version of the WL series feels a little... incomplete in CubeMX.
I was trying to get some basic LoRa com working and in the configuration it was telling me that I need to enable TCXO in RCC. I go to RCC and I can't do that because the MOC version of this part has that built in. Of course I could generate the code as-is, and then go into the generated files and change them so it says I do have TCXO enabled. The big downside to that would be is would lose those edits if i modify mt ioc file and regenerate.
One possibility I thought of (question in the title) would be to just tell CubeMX that I'm using the STM32WL55JC. As long as I set up the clocks correctly to match the hardware, I don't think there would be any issue with that. My understanding is that under the hood they are the same part, but the MOC adds some of the rf circuitry and crystals.
Also, since the MOC is really just a 55JC, the memory would be identical, and I don't think I would run into any memory or flash related issues.
I plan on testing this, but if anyone sees any issues with this, please let me know
Screenshots are of CubeMX with the STM32WL5MOC as the target part. As you can see, I can't select TCXO