Skip to content

Commit

Permalink
cmt2300a no longer hardcoded to SPI bus 2
Browse files Browse the repository at this point in the history
  • Loading branch information
schlimmchen committed Sep 24, 2024
1 parent e0cc142 commit 680e104
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/hardware/cmt2300a.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@

The CMT2300A module is a 868MHz RF module. It is important to get a module which supports SPI communication. Currently only the [EBYTE E49-900M20S](https://www.ebyte.com/en/pdf-down.aspx?id=2506){target=_blank} is supported as a standalone module, or use the [OpenDTU Fusion PCB](../3rd_party/opendtu_fusion.md) instead.

The CMT2300A uses 3-Wire half duplex SPI communication. Due to this fact it currently requires a separate SPI bus. If you want to run the CMT2300A module on the same ESP32 as a NRF24L01+ module or a PCD8544 display make sure you get an ESP32 which supports 2 SPI busses. **Currently the SPI bus for the CMT2300A is hardcoded to number 2** (this will change in the future). The current limitation of the ESP32's two SPI busses makes some combinations of hardware (HMS Series Inverter and Huawei AC charger) impossible to use.
The CMT2300A uses 3-Wire half duplex SPI communication. Due to this fact it
currently requires a separate SPI bus. If you want to run the CMT2300A module
on the same ESP32 as a NRF24L01+ module or a PCD8544 display make sure you get
an ESP32 which supports 2 SPI busses (use an ESP32-S3).

Buy your hardware from a trusted source, at best from a dealer/online shop in your country where you have support and the right to return non-functional hardware. When you want to buy from Amazon, AliExpress, eBay etc., take note that there is a lot of low-quality or fake hardware offered. Read customer comments and ratings carefully!

Expand Down

0 comments on commit 680e104

Please sign in to comment.