Hi J,Are the compensation values the same as from sw Spi?
Yes, SWSPI and HWSPI are the same.
However each BMP280 is different, as they are calibrated at the factory.
#11 shows the 'memory map' and the turquoise line shows the CALIBRATION DATA REGISTERS.
It looks as though I made an error from the beginning, and I now see that it should be from [ 0xA1 to 0x88 ] Do you agree?
I have been moving lines around in the [ SSPBUF } section of the program, and now it shows:
almost the same as the earlier SWSPI. (As explained both wrong) but on the right track in the programming sense.
Attachments
-
24.9 KB Views: 3