Laporan Akhir 1
Laporan Akhir 1 [KEMBALI KE MENU SEBELUMNYA] DAFTAR ISI 1. Prosedur 2. Hardware dan Diagram Blok 3. Rangkaian Simulasi dan Prinsip Kerja 4. Flowchart dan listing Program 5. Video Demo 6. Download File 1. Prosedur [kembali] 1. Buat dua project baru pada STM32CubeIDE menggunakan mikrokontroler STM32 NUCLEO G474RE. Project_Master Project_Slave 2. Konfigurasi Project Master a. Aktifkan I2C1 dengan pengaturan: Mode: I2C Clock Speed: 100 kHz (Standard Mode) Addressing Mode: 7-bit Pin yang digunakan: PB6 → SCL PB7 → SDA b. Aktifkan SPI1 dengan pengaturan: Mode: Full Duplex Master Direction: 2 Lines Data Size: 8-bit Clock Polarity: Low Clock Phase: 1 Edge NSS: Software Baudrate Prescaler: 16 First Bit: MSB First Pin yang digunakan: PA5 → SCK PA6 → MISO PA7 → MOSI 3. Konfigurasi Project Slave a. Aktifkan SPI1 dengan pengaturan: Mode: Full Duplex Slave Direction: 2 Lines Data Size: 8-bit Clock Polarity: Low Clock Phase: 1 Edge NSS: Hardware Input First Bi...