- ADC 9 Click 2.fcfx
- (13.67 KiB) Downloaded 541 times
MCP3561/2/4 MCP3564 Click Board
-
- Posts: 261
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
-
- Posts: 261
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: MCP3561/2/4 MCP3564 Click Board
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
with kind regards
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
with kind regards
-
- Posts: 261
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: MCP3561/2/4 MCP3564 Click Board
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
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
- Attachments
-
- ADC 9 Click BEN_1.fcfx
- (15.2 KiB) Downloaded 529 times
Last edited by SpeedPIC32 on Mon Nov 29, 2021 1:28 pm, edited 1 time in total.
-
- Posts: 261
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times