Hi, (Oshonsoft)
EDIT: Because HW and SW always are difficult to understand, I've changed the title to suit.
PIC 18F4620 and peripheral BMP280 (Temperature/pressure chip)
I've been using Oshonsoft SWSPI successfully but from advice, I want to change over to HWSPI.
First I'm trying to READ the 'Compensation parameters'
Results from previous T1-3 and P1-9 SWSPI (ignore CH line):
Here's my program:
So far only CS is showing on a 'data analyser' no CLC, SDO, SDI
Tests within [ LOOP ]
Any clues please.
EDIT: Because HW and SW always are difficult to understand, I've changed the title to suit.
PIC 18F4620 and peripheral BMP280 (Temperature/pressure chip)
I've been using Oshonsoft SWSPI successfully but from advice, I want to change over to HWSPI.
First I'm trying to READ the 'Compensation parameters'
Results from previous T1-3 and P1-9 SWSPI (ignore CH line):
Here's my program:
So far only CS is showing on a 'data analyser' no CLC, SDO, SDI
Tests within [ LOOP ]
Any clues please.
Attachments
-
32.7 KB Views: 19
-
10.3 KB Views: 16
Last edited: