Comments (2)
Shunt Temperature Measurement: I'm exploring the bms_c1.dts file to understand shunt temperature measurement. I couldn't locate the configuration for the DFETOFF pin. Is shunt temperature currently measured and used to trigger alerts in the BMS system?
The shunt temperature measurement was only added for BMS C1 v0.4 board. It is not yet supported by the firmware.
Default Values in BQ769X2_INIT Macro: I'm curious about the configuration of temperature and discharge pins in the BQ769X2_INIT macro. While ts1_pin_config has a default value of 0x07, ts3_pin_config and dchg_pin_config seemingly don't. Could you explain the thinking behind this distinction?
Yes, that's to mimic the default behavior of the chip. The actual desired values of used sensors should be set via board .dts file.
DCHG Pin Configuration: In the code, dchg_pin_config is set to the default value (0x07). The BQ769X2 datasheet (section 6.4) recommends 0x0F for FET temperature measurement. I'm curious to understand the reasoning behind using the default value in this case.
Yep, that's wrong. The configuration for the FET temperature sensor should indeed be 0xF
. Thanks for noticing. If you like, feel free to submit a PR with a fix.
from bms-firmware.
Thank you for the reply.
Sure, I will submit a PR request with the fix.
from bms-firmware.
Related Issues (20)
- Home Automation Open Hardware Catalog
- BMS C1: LEDs Turn Off, 'No Serial Data Received' Error, and Flashing Problems HOT 11
- Tested the BMS C1 v0.3 using a load tester and tested for cell level protection. HOT 4
- LiPo Float Charge & SOC settings HOT 3
- How to use serial port used by thingset for data download HOT 12
- Function `bms_soc_update` no longer called post-zephyr bms driver update HOT 3
- QEMU Build Target HOT 2
- Control flow of code using thingset. HOT 3
- bq769x0: repeat read due to crc fail might read different bytes an might led to wrong data read HOT 2
- OV/UV_TRIP config kind of return probaly off by 1000 * (set im V return in mV)
- I2C error HOT 5
- API source code HOT 2
- Regarding Potential RS485 Support HOT 1
- Thingset Synchronization with bq76952 Initialization HOT 1
- Warning when sending CAN data HOT 4
- BMS communication error HOT 3
- Error flag 1 on connecting the board to a battery pack HOT 3
- How to enable Wi-Fi on BMS C1 HOT 2
- BMS current limit values configuration via thingset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bms-firmware.