Справочник ПользователяСодержаниеChapter 1. F1 Evaluation Platform Overview111.1 Introduction111.2 Platform Contents111.3 Hardware Features111.3.1 PIC16LF1937111.3.2 MCP9800 I2C Temperature Sensor111.3.3 PICkit™ 3 Programming/Debug Header121.3.4 PICkit Serial Communications Header121.3.5 1 Button, 1 Potentiometer, 4 LEDs121.3.6 One 3.5 Digit LCD121.3.7 20-pin Motor Control Expansion Connector121.3.8 Current Monitoring Connector121.3.9 Generous Prototyping Area12Chapter 2. Getting Started132.1 Introduction13Figure 2-1: F1 Evaluation Platform (DM164130-1)132.2 Powering the F1 Evaluation Platform132.3 Powering with PICkit™ 3132.4 Powering with the Connector at JP314Figure 2-2: Powering with the Connector at JP3142.5 Powering with PICkit™ Serial142.6 Powering with the BLDC Expansion Header J3152.7 Default Firmware152.7.1 Blinking LEDs152.7.2 Measuring the Ambient Temperature152.7.3 BLDC Motor152.7.4 LCD Display162.7.5 User Interface16Chapter 3. Programming the F1 Evaluation Platform173.1 Introduction173.2 Programming/Development Tool Support173.3 Hardware Resources18Table 3-1:18Chapter 4. Demo Code194.1 Introduction194.2 I2C™ Demo194.3 LCD Demo194.4 BLDC Demo194.5 Combined Demo19Chapter 5. Hardware Libraries and Drivers215.1 Introduction215.2 I2C™ Driver215.3 MCP9800 Driver215.4 RTCC Driver215.5 LCD Driver215.6 Using the I2C™ Driver225.6.1 I2C Data Structures225.6.1.1 I2C_RESULTS_T22Table 5-1: I2C_RESULTS_T225.6.1.2 I2C_T225.6.2 I2C Function Interface235.6.2.1 i2c_init23Figure 5-1:235.6.2.2 i2c_insert23Figure 5-2:235.6.2.3 i2c_build_write_trb / i2c_build_read_trb23Figure 5-3:235.6.2.4 i2c_write_block / i2c_read_block23Figure 5-4:245.6.2.5 i2c_handler24Figure 5-5:245.7 Using the LCD driver245.7.1 LCD Data Structures245.7.1.1 BCD_TYPE24Figure 5-6:245.7.2 LCD Function Interface255.7.2.1 lcd_init25Figure 5-7:255.7.2.2 lcd_display_digits25Figure 5-8:255.7.2.3 lcd_display_on / lcd_display_off25Figure 5-9:255.7.3 LCD Segment Definitions26Figure 5-10: LCD Display26Figure 5-11:265.8 Using the RTCC Driver265.8.1 RTCC Function Interface265.8.1.1 rtcc_init26Figure 5-12:275.8.1.2 rtcc_handler27Figure 5-13:275.8.1.3 rtcc_set27Figure 5-14:275.8.1.4 time275.9 Using the MCP9800 Driver275.9.1 MCP9800 Function Interface285.9.1.1 mcp9800_init28Figure 5-15:285.9.1.2 mcp9800_get_temp28Figure 5-16:28Chapter 6. Troubleshooting296.1 Introduction296.2 Common Problems296.2.1 The board will not power up296.2.2 LCD is blank, but everything else works296.2.3 The motor spins, but then stops29Chapter 7. Schematics317.1 Introduction317.1.1 F1 Evaluation Platform Schematic (1 of 3)327.1.2 F1 Evaluation Platform Schematic (2 of 3)337.1.3 F1 Evaluation Platform Schematic (3 of 3)347.1.4 BLDC Add-On Schematic (1 of 3)357.1.5 BLDC Add-On Schematic (2 of 3)367.1.6 BLDC Add-On Schematic (3 of 3)37Worldwide Sales42Размер: 495,8 КБСтраницы: 42Язык: EnglishПросмотреть