MCP3561/2/4 MCP3564 Click Board

SpeedPIC32
Posts: 137
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 14 times
Been thanked: 10 times

Re: MCP3561/2/4 MCP3564 Click Board

Post by SpeedPIC32 »

ADC 9 Click 2.fcfx
(13.67 KiB) Downloaded 25 times

SpeedPIC32
Posts: 137
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 14 times
Been thanked: 10 times

Re: MCP3561/2/4 MCP3564 Click Board

Post by SpeedPIC32 »

Hello Ben,
That looks good now, thank you.
I still have open questions.
1. how does the SetOffsetCalibration work?
2. how does SetGainCallibration work?
Which values must be entered there?
3. how often do I have to call it?
4. where do I get the values
5. why are there so many queries? see picture
6. can you tell me how the initialization works.
Initialization
0x46
0xE0
0x0C
0x88
0x80
0x02
then a measurement
0x66 is the "Sendchar" ?
0x01
0x86
0xA0
0x5A
0x08
0x40 why does this happen so often?
0x40
0x40 etc to
0x41
0xFF is the "Transaction" ?
0xFF
0xFF

SPi2.png
SPi2.png (370.35 KiB) Viewed 272 times
with kind regards

SpeedPIC32
Posts: 137
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 14 times
Been thanked: 10 times

Re: MCP3561/2/4 MCP3564 Click Board

Post by SpeedPIC32 »

Hello Ben
I used to program conventionally.
This is how the software should run
the big difference is in oversampling
My version runs with 49152 OSR at 10SPS
Because of the polling of the SDO line it does not work at higher values.
The query mucks itself from 2048 to at 2SPS. see pictures

with kind regards
Ben1.png
Ben1.png (634.43 KiB) Viewed 234 times
SpeedPic32_1.png
SpeedPic32_1.png (453.38 KiB) Viewed 234 times
Attachments
ADC 9 Click BEN_1.fcfx
(15.2 KiB) Downloaded 18 times
Last edited by SpeedPIC32 on Mon Nov 29, 2021 1:28 pm, edited 1 time in total.

SpeedPIC32
Posts: 137
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 14 times
Been thanked: 10 times

Re: MCP3561/2/4 MCP3564 Click Board

Post by SpeedPIC32 »

ADC 9 Click SpeedPic32_1.fcfx
(24.28 KiB) Downloaded 21 times

Post Reply