Part Number: MSP430F149
Hello sir/madam,
MSP430F149: SPI Comunicate through pressure sensor
I have configured spi to communicate with pressure sensor ,so data we get uncompensated pressure(D1) and temperature(D2) through sensor,sensor need to configure by time of intilization had different delays to follow to get the data by accuracy rate ,in my program i followed 4096 osr for both pressure and temperature data,so the delay is (9ms) for each,overall 18ms approx ,so real problem is when i use internal clock frequency 5mhz approx,data i have get for D1 with time of 200 to 205 ms,it will take for each,so for both it will take 450ms approx, confirmed by the use of logic analyzer and oscilloscope,but these is uncompensated from sensor,then we need to do calculation for getting actual pressure and temperature data by follow of datasheet of sensor,overall time is above 500ms ,but it is too much time ,the same internal clock we have used prescalar to divide the clock frequency ,it works for acurate time of delay for each taking 9ms ,on both the clock scenario the data we taken from sensor ,but timing will differ,but for pressure sensor as per datasheet ,we can configure controller clock upto 20mhz is supportive ,we tested with atmega328p controller(atmel) upto 16mhz,is these any reason for frequency drift ,because voltage is maintained on 3.3v,what would be the reason ?



