Im using MCP6S21 amplifier which takes input from some I to V converter and output of amplifier is connected to nrf52832 via I2C pins so how to change or vary gain of amplifier im not able to find commands to be used for program
please suggest
Im using MCP6S21 amplifier which takes input from some I to V converter and output of amplifier is connected to nrf52832 via I2C pins so how to change or vary gain of amplifier im not able to find commands to be used for program
please suggest
not able to find commands to be used for program
They are defined by the "MCP6S21" and will be described in its documentation - they have nothing to do with the nRF52832 - the "MCP6S21" neither knows nor cares what microcontroller you use.
The "MCP6S21" is not a Nordic product - so you will have to go to its manufacturer's website for details.
Presumably, this "MCP6S21" will be an I2C Slave? Therefore the nRF must be the I2C Master.
The I2C controller in the nRF52832 is called "TWI". It is documented in the Product Specification:
https://infocenter.nordicsemi.com/topic/struct_nrf52/struct/nrf52832_ps.html
SDK software drivers are documented here:
infocenter.nordicsemi.com/.../hardware_drivers.html
SDK examples are here:
Is there any amplifier based example in nrf52 sdk ? So that i can refer as im completely new to nrf52 .
Is there any amplifier based example in nrf52 sdk ? So that i can refer as im completely new to nrf52 .
Again, the amplifier is nothing to do with Nordic.
The amplifier neither knows nor cares what microcontroller you use.
The amplifier simply responds to the defined commands & sequences on the I2C bus.
Nordic provides examples of how to use the TWI peripheral to control an I2C Slave - any I2C Slave.
im completely new to nrf52
Do you have any experience with any other microcontroller(s) ?
The above would be exactly the same for any other microcontroller!