Where can I find a collection of basic hardware demos for the Nucleo-f767zi board?
I just need a basic USB HELLO WORLD code example that works.
I have tried a few step by step examples that were for other boards and one I found specifically for the F767zi, but my windows machine does not even see an Error connecting, it acts like nothing is connected.
Here are the basic steps I have tried to follow:
Start a new project:
Select the board "Nucleo-F767zi"
Connectivity - USB_OTG_FS- Mode=Device Only.
Clock Config: Input 8 mhz. yielding USB 48mhz. (allowed auto Resolve to fix all conflicts)
Middleware: USB_Device: class for HS IP (Disable),
Class for FS IP (Communication device class (virtual Port Com)
Build the config code.
the user includes are:
#include "main.h"
#include "string.h"
#include "usb_device.h"
however, there are USBD_CDC.H and USBD_CDC.C in the project files that are not called. I am just guessing they are referenced in one of the other modules. no example I have found mention adding them to the includes.
Without any additional code, the online examples say this should establish a basic connection. One demo included a transmit, but nothing happened.
Mainly because I could not find a COM port to connect to with putty.
In the infinite while(1) { } loop.
uint8_t buffer[] ="Hello World!\r\n";
CDC_Transmit_FS(buffer,sizeof(buffer));
HAL_Delay(1000);
I am using a tested and known good USB cable. I am plugged into "User USB CN13" There is a green light (VBUS LD8) that lights up when I plug in.
As I have said, the PC (windows 10) is ignoring the connection as if nothing is connected at all.
I have completed the "Blink" and "Blink with button press" demos. I even tried out PWM diming of the LEDS to check out the timers. I am sure I am missing something obvious. The Chip and Nucleo boards are completely new to me and my previous MCU experiences may be clouding my perception.
Thanks,
-Mike
