MCP3561/2/4 MCP3564 Click Board

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
SpeedPIC32
Posts: 310
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 2:35 pm
Location: Germany
Has thanked: 49 times
Been thanked: 20 times

Re: MCP3561/2/4 MCP3564 Click Board

Post by SpeedPIC32 »

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

SpeedPIC32
Posts: 310
Joined: Thu Dec 10, 2020 2:35 pm
Location: Germany
Has thanked: 49 times
Been thanked: 20 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 20995 times
with kind regards

SpeedPIC32
Posts: 310
Joined: Thu Dec 10, 2020 2:35 pm
Location: Germany
Has thanked: 49 times
Been thanked: 20 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 20957 times
SpeedPic32_1.png
SpeedPic32_1.png (453.38 KiB) Viewed 20957 times
Attachments
ADC 9 Click BEN_1.fcfx
(15.2 KiB) Downloaded 4645 times
Last edited by SpeedPIC32 on Mon Nov 29, 2021 1:28 pm, edited 1 time in total.

SpeedPIC32
Posts: 310
Joined: Thu Dec 10, 2020 2:35 pm
Location: Germany
Has thanked: 49 times
Been thanked: 20 times

Re: MCP3561/2/4 MCP3564 Click Board

Post by SpeedPIC32 »

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

mkopitovic
Posts: 17
Joined: Sun Dec 13, 2020 9:15 pm
Has thanked: 1 time
Been thanked: 5 times

Re: MCP3561/2/4 MCP3564 Click Board

Post by mkopitovic »

I'm thinking of using an MCP3564 to read 8 channels of a 24bit ADC in one of my future STM32 projects. I'm currently in the PCB design and component selection phase, and I just want to check if the component is completely finished and functional.

I see that there is a BUG report for ADS1256 on the forum that has not been commented on, and no one has declared MCP3564 complete.
So I said better check before I make the PCB and find out I have a problem later :D :D


thanks

Post Reply