You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the MCP3561 ADC but i only got i working with MCP3561_CONFIG3_CONV_MODE_CONTINUOUS command. When i try MCP3561_CONFIG3_CONV_MODE_ONE_SHOT_STANDBY i got 1 value but i can not get another one. Probably have the wrong settings but i have no idea wat i did wrong.
Hi, it's been a while since I last used the lib. And I only ever used the continuous mode (read: the one-shot mode is untested).
Right now I don't have the time or the hardware to debug this. If you manage to get it working and it is a flaw of the lib, feel free to send a pull request.
My only idea currently:
Do you need to trigger a new conversion from standby mode?
Hi, it's been a while since I last used the lib. And I only ever used the continuous mode (read: the one-shot mode is untested). Right now I don't have the time or the hardware to debug this. If you manage to get it working and it is a flaw of the lib, feel free to send a pull request.
My only idea currently:
Do you need to trigger a new conversion from standby mode?
Thanks for your reply. I trigger the conversion with a button of something else. So i dont know where the issue is.
I will look into the following solutions:
Triggering with button and ISR
Reading IRQ? I dont see an interrupt. I do see it with the continuous mode. I do see the SPI command for ADC conversion
I have the MCP3561 ADC but i only got i working with MCP3561_CONFIG3_CONV_MODE_CONTINUOUS command. When i try MCP3561_CONFIG3_CONV_MODE_ONE_SHOT_STANDBY i got 1 value but i can not get another one. Probably have the wrong settings but i have no idea wat i did wrong.
My config
The text was updated successfully, but these errors were encountered: