I have a custom board with ATSAME70J19 (A-AN) and wanted to test USB_CDC on it.
I usually use demo projects for SAME70-Xplained as a template for my custom boards, then place the same Middleware & Drivers as used on demo and I set all these modules exactly the same way, also I copy the Clock network settings.
But in this case it is problematic.
According to Errata document, the HSUSB module doesn't work on 64-pin devices (like the my one), and the demo for CDC uses HS.
The SAME70's datasheet shows table, according to it my device should have FSUSB. Is it correct ?
Could anybody please confirm that managed to run FullSpeed USB CDC Echo project on 64-pin device ?
Great would be to get copy of the working project, or at least .atstart configuration file to see settings of all blocks on Dashboard & Clock network.
Maybe also .atstart for FS USB CDC Echo project for non-64-pin device would help me.
I have already spent 2 days experimenting with it, but this try-fail approach goes nowhere.
Or please at least give me some guidance:
- is the Middleware to use
USB Device Stack -> USB Device Stack CDC ACM (comments say it is deprecated) or
USB Stack -> USB Device Stack CDC ACM ?
- can CPU run @ 300MHz with 7 wait states ?
- what clocks must be brought to USB_DEVICE_INSTANCE ?
On demo that uses HS are used FSLS_USB=48MHz, USB=480MHz,
I am not sure if 480MHz are needed for FS operation, I think I already tried (48,480) and also (48,48) or is other combination needed ?
I have also tried to leave default settings of Middleware modules, tried to set them as on the demo (just without HS enabled, and with speed limit FS) but nothing works and enumeration always fails,
there appears "Unknown Device" with "Hardware ID" = USB\UNKNOWN.