cancel
Showing results for 
Search instead for 
Did you mean: 

USB CDC VCP (STM32 Host, OneRNG Device)

NajeebUllahKhan
Associate II

Hi everyone,

I have STM32 Nucleo F767ZI Board and OneRNG V3.0 by Moonbase. OneRNG is using USB Serial Protocol. When I connect OneRNG directly to PC through USB connector, open it's COM Port on Serial Monitor like Putty, send CMD "cmdO", it starts giving continuous stream of Random Numbers until I send "cmdo" to stop data stream reception. Now what I want is, instead of PC, I want use STM32 Nucleo F767ZI board with OneRNG using USB interface CDC VCP with Nucelo as Host and OneRNG as a device. OneRNG doesn't need any coding as it's already working with built-in firmware from the organization. I am providing below my OnrRNG, Nucleo board, CubeMX cobfiguration and main file, but I am unable to receive any data from OneRNG.

Looking forward to your kind responses...

I am using following link to configure and connect OneRNG according to my own needs "https://embetronicx.com/tutorials/microcontrollers/stm32/stm32-usb-host-msc-connect-pendrive-to-stm32/"

I am using following tutorial to code for USB CDC VCP Host according to my requirements "https://www.youtube.com/watch?v=pC16Aon4crk"

and Here is the link about OneRNG "http://moonbaseotago.com/onerng/" & "https://onerng.info/"

Looking forward to help and support regarding integration...

 

Capture.PNG

Capture1.PNG

Capture2.PNG

  

0 REPLIES 0