Arduino keyboard emulator example

broken image

The software itself solves and sets the frequency of all the peripherals. Set PLL Source Mux as HSE, then click on the Resolve Clock Issues button.In the ioc file, click on the second tab named Clock Configuration.Now, we have to set the clock configuration. This product string will appear on the control panel when you plug the USB of the STM32 board(See attached photos). Now in configuration go to Device Descriptor > Device Descriptor FS and set Product String.Go to Middleware > USB_Device and set Class for FS IP as Human Interface Device Class (HID).To set USB mode, class and other parameters follow the below-mentioned steps. Note: Do not edit any other parameter in configuration. In categories click on Connectivity > USB, check the box of Device(FS) to enable the USB feature.Click on Sys, set Debug as Serial Wire.Select High-Speed Clock(HSE) as ' Crystal/Ceramic Resonator'. In categories click on System Core > RCC, you will see RCC mode and configuration window opened. We will set up the clock source first, in the ioc file you will see the first tab name as Pinout & Configuration click on it.

broken image