Added CSP to BPI, and fixed BPI readback issue