Releases: NordicSemiconductor/npmx
Releases · NordicSemiconductor/npmx
v1.3.1
Fixed
- Issue where switching a LDSW regualator from the
NPMX_LDSW_MODE_LDO_SOFT_STARTmode toNPMX_LDSW_MODE_LOAD_SWITCHhad no effect on nPM1304 rev 1.1
Example of handling different revisions in the code to enable Soft Start on LDO when available
npmx_ldsw_mode_t ldsw_mode = NPMX_LDSW_MODE_LDO;
uint8_t major, minor, patch;
#ifdef NPM1304
/* set LDO with soft start if available */
npmx_core_pmic_revision_get(npmx_instance, &major, &minor, &patch);
if (major > 1 || (major == 1 && minor >= 1)) {
ldsw_mode = NPMX_LDSW_MODE_LDO_SOFT_START;
}
#endif // NPM1304
npmx_error_t err_code = npmx_ldsw_mode_set(ldsw_instance, ldsw_mode);
/* <check error code and proceed> */v1.3.0
What's Changed
- Added the
npmx_core_pmic_revision_getfunction to retrieve the PMIC revision. - Added a new mode
NPMX_LDSW_MODE_LDO_SOFT_STARTto thenpmx_ldsw_mode_tenum. Pass this mode to thenpmx_ldsw_mode_setfunction to configure a LDSW regulator in LDO mode with soft start. Available on the following PMIC revisions:- nPM1304: >= 1.1
- nPM1300: TBA
Full Changelog: v1.2.2...v1.3.0
v1.2.2
What's Changed
- adc: docstring fixes
- templates: fixed a syntax error in npmx_config.h
- adk: compiler_abstraction: fixed typos in a macro definition
- updated the nPM1304 support to revision 1
Full Changelog: v1.2.1...v1.2.2
v1.2.1
What's Changed
- adc: lsbit fix in npmx_adc_meas_get by @nordic-auko in #19
Full Changelog: v1.2.0...v1.2.1
v1.2.0
What's Changed
- Added support for nPM1304 PMIC
- Aligned with most recent datasheet
- Added porting guide document
Full Changelog: v1.1.0...v1.2.0