So far I have found several issues with this driver: * Not being able to use the driver(not even the basic stuff like simple PWM) without having auto-increment enabled; * Not passing selftest when D9 is enabled (also not being able to enable it); * Not passing verify_program after under any conditions; * lp5523 register set doesn't work on lp5523_shell;
Most of this is solved with: * Making lp5523_set_output_on() write only a single register, it will only set a bit at a time anyway; * Fixing lp5523_set_n_regs(); * WIP; Some odd behaviours (which probably are undocumented but normal) I noticed so far: * Reading a single register from the program memory region(addr >= 0x50) always returns 0x00. This might be related to the fact that when I tried it auto-increment is enabled; * To be continued; [ Full content available at: https://github.com/apache/mynewt-core/pull/1378 ] This message was relayed via gitbox.apache.org for [email protected]
