On F401RE the data pins of your USB connector should be attached to PA12 (D+) and PA11(D-). RCC_OscInitStruct. Slightly modified original USBDevice library to support F401RE. The STM32 Nucleo board (NUCLEO-F401RE) based on. RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI STM32 Nucleo-64 development board with STM32F401RE MCU, supports Arduino and ST morpho connectivity. _HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE2) If (HAL_ADC_Start_DMA(&hadc1, (uint32_t*)ADC1ConvertedValues, 100) = HAL_OK) ![]() The Arduino connectivity support and ST Morpho headers make it easy to expand the functionality of the STM32 Nucleo open development platform with a wide choice of specialized shields. HAL_GPIO_WritePin(GPIOA,GPIO_PIN_9,GPIO_PIN_SET) The NUCLEO-F401RE is a STM32 Nucleo development board with STM32F401RET6 MCU allows user to build their own prototypes for embedded applications. I'm unable to isolate where the problem lies. In the past,I have tried increasing the sampling cycles, the issue persists.Ĭonfigured ADC without DMA with HAL_ADC_Start function and transferred the values to PC through UART, unable to retrieve the original signal. Before transmission through SPI, when i read the values in memory realtime using STMSTudio, it is erratic. On-board ST-LINK programmer provides via composite USB device removable media. Change Class For FS IP to Communication Device Class (CDC). The Nucleo-F401RE is a board from STs Nucleo family supporting a ARM. Under Categories > Middleware, select USBDEVICE. ![]() You should see PA11 and PA12 be automatically configured for USBDM and USBDP. I want to configure ADC with DMA on STM32(Nucleo-F401RE) and transmit the values through SPI to Basys 3 FPGA. In the Pinout & Configuration tab, go to Categories > Connectivity and click USB. My goal: send a string using CDCTransmitFS(string,sizeof(string)) from a STM32F401RE (NUCLEO Dev board) to PC via Full Speed USB through Virtual Com Port.
0 Comments
Leave a Reply. |