Appendix
CY8CKIT-044 PSoC® 4 M-Series Pioneer Kit Guide, Doc. No. 001-96598 Rev. *C
37
Figure 4-19. F-RAM Data Read by PSoC 4200M
13. You can read the data logged by the PSoC 4200M to the F-RAM using the Bridge Control Panel (BCP) software and
KitProg. Refer to the Chapter 5 of the
KitProg User Guide
to learn how to use KitProg USB-I2C bridge with BCP. Type
in the following command in BCP to access the F-RAM data from address location 0x0000 of the F-RAM:
w 50 00 00 r 50 x x x x x x x x x x x p
You can read from any address location of F-RAM by modifying the above command. For example, to read 11 bytes
from address location 0x1234 of F-RAM, use the following command:
w 50 12 34 r 50 x x x x x x x x x x x p
Refer to the
Appendix A.4
to understand how the F-RAM communicates with an I2C master.
Note:
The data stored in the F-RAM is in the format:
timestamp_hours, timestamp_minutes, timestamp_seconds, temperature_data_integer_part,
temperature_data_fractional_part, accelerometer_x_axis data, accelerometer_y_axis data,
accelerometer_z_axis data
The accelerometer data corresponding to each axis is 2 bytes long. Since the complete data packet is 11 bytes long,
the last few locations in each F-RAM page are not written. The F-RAM pages are switched if a complete data packet
cannot fit in to the same F-RAM page.
Note:
This project is not configured to operate in an I2C multi-master environment. If you are using Bridge Control
Panel tool to read the F-RAM data log, reset the PSoC 4 M-Series Pioneer Kit before using the µC/Probe to view the
data. If the COM terminal software is connected while µC/Probe is running, it displays an error message to indicate
communication failure.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from