Download ChipworkX User Manual
Transcript
GHI Electronics,LLC ChipworkX User Manual ChipworkX Features both cards and also supports SDHC (over 4GB) cards. ChipworkX uses SPI1 to access SD/MMC cards and PA4 Digital I/O for chip select signal. There are two smaller versions of SD cards, mini SD and micro SD. All card sizes are identical as far as the interface. The only difference is the physical dimensions. A user may be interested in mounting or unmounting the file system on the SD card automatically when a SD card is inserted or ejected. To do this, there is a pin on the SD card connector called Card Detect which works like a switch. Connect this to a GPIO InterruptPort on ChipworkX and call mount, unmount appropriately. USB Memory Before proceeding, make sure you have an understanding of how USB devices are inserted and detected on your .NET Micro Framework device. Refer to the USB Host section. Similar to SD cards, the user may be interested in mounting/unmounting the file system on the USB drive automatically when a USB drive is inserted or ejected. To do this, you can get events from ChipworkX about connection/disconnection of USB devices and call mount, unmount appropriately. 8.12. Output Compare Using output compare developers can generate different waveforms. This is available on any digital output pin. This is available through GHI NETMF library. 8.13. Database ChipworkX supports SQLite which is useful for logging and retrieving data using standard SQL queries. A database can be created in RAM or saved on Storage Media with file system (SD,NAND or USB mass storage). Refer to ChipworkX.Database for reference on creating databases in RAM or non-volatile memory. GHI NETMF SDK includes a simple example code on how to use the database feature. 8.14. Power Control / Hibernate Power Control ChipworkX is running at 200MHz. However, the user can, using register access, change the clock speed. This way, the processor will run slower and consume less power. Hibernate The user can put ChipworkX in hibernate mode through PowerState functionality in Rev.4.3 Page 45 of 51 www.ghielectronics.com