I14R10
Full Member level 3

Hello
I'm trying to integrate a LiPo solar charge controller (CN3791) , LiPo battery, STM32G030 series microcontroller and temperature and humidity sensors. I'm wondering what's the best way to separate those items and if I should separate them on different boards. Regarding noise from switching solar charge controller.
My current thinking is that I should separate the boards like this: linear voltage regulator + STM + sensors + LoRa (RFM98) on one board, and battery + solar charge IC + its inductor, capacitors, mosfet etc on another board, connected with pin headers.
What I want to avoid is switching noise from solar charge controller going into STM or even worse, sensors. I don't know how bad that switching noise is, I've read the datasheet for CN3791 and followed all PCB layout guides regarding switching noise, but it still feels wrong to have it put right next to other components. Am I overthinking? Can I put them all on one board and just separate digital from switching stuff?
I don't have a lot of experience in this, so any advice is welcome. And, side note, smaller size is a plus. I don't want to have 10x10cm board with items separated very far away.
I'm trying to integrate a LiPo solar charge controller (CN3791) , LiPo battery, STM32G030 series microcontroller and temperature and humidity sensors. I'm wondering what's the best way to separate those items and if I should separate them on different boards. Regarding noise from switching solar charge controller.
My current thinking is that I should separate the boards like this: linear voltage regulator + STM + sensors + LoRa (RFM98) on one board, and battery + solar charge IC + its inductor, capacitors, mosfet etc on another board, connected with pin headers.
What I want to avoid is switching noise from solar charge controller going into STM or even worse, sensors. I don't know how bad that switching noise is, I've read the datasheet for CN3791 and followed all PCB layout guides regarding switching noise, but it still feels wrong to have it put right next to other components. Am I overthinking? Can I put them all on one board and just separate digital from switching stuff?
I don't have a lot of experience in this, so any advice is welcome. And, side note, smaller size is a plus. I don't want to have 10x10cm board with items separated very far away.