Sep 17, 2014 #1 C clau Newbie level 5 Joined Nov 13, 2013 Messages 10 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 82 Hi everybody, I'm using for the first time a PGA (Programmable Gain Amplifier) and I don't know how to use it. I'm using a MCP6S91 , an one channel amplifier. (https://ww1.microchip.com/downloads/en/DeviceDoc/21908a.pdf) And I want to interface with a PIC18F4550. I'm using MPLAB and CCS C Compiler Can somebody help me? Thank you!
Hi everybody, I'm using for the first time a PGA (Programmable Gain Amplifier) and I don't know how to use it. I'm using a MCP6S91 , an one channel amplifier. (https://ww1.microchip.com/downloads/en/DeviceDoc/21908a.pdf) And I want to interface with a PIC18F4550. I'm using MPLAB and CCS C Compiler Can somebody help me? Thank you!
Sep 17, 2014 #2 barry Advanced Member level 7 Joined Mar 31, 2005 Messages 6,339 Helped 1,194 Reputation 2,400 Reaction score 1,389 Trophy points 1,393 Location California, USA Activity points 34,525 The PGA is programmed through a Serial Peripheral Interface (SPI). The PIC also has a SPI interface. Now you need to go read about SPI, and about how to implement it in your PIC.
The PGA is programmed through a Serial Peripheral Interface (SPI). The PIC also has a SPI interface. Now you need to go read about SPI, and about how to implement it in your PIC.
Sep 17, 2014 #3 H horace1 Advanced Member level 5 Joined Nov 18, 2008 Messages 2,118 Helped 596 Reputation 1,188 Reaction score 571 Trophy points 1,393 Location Norwich, UK Activity points 13,063 have a look at this project using a PIC18F2550 and a MCP6S91 https://www.circuitvalley.com/2011/07/two-channel-pcbased-oscilloscope-usb.html
have a look at this project using a PIC18F2550 and a MCP6S91 https://www.circuitvalley.com/2011/07/two-channel-pcbased-oscilloscope-usb.html