USB_CDC on SAME70 with 64 pins

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

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.

 

This topic has a solution.
Last Edited: Thu. Jun 13, 2019 - 12:06 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

My assumption was that the SAME70J19 parts, and the other 64-pin SKUs, did not have functioning USB at all. The features table in the SAME70 datasheet is effectively superseded by the errata sheet which states the HSUSB module, the only USB module in the ATSAME70 family, is not available on the 64 quad flat pack package.

 

I do not have any boards with SAME70J19 present, so I cannot test.

Josh @ CIHOLAS Inc - We fill the gaps from chips to apps

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Josh,

I still hope you are not right :)

I have Errata document dated 2017 and a main SAME70 datasheet dated 2019.

Why would they keep stating there is FSUSB after finding it doesn't work at all ?

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Nobody can confirm USB works / or not / on SAME70 with 64 pins ?

Please

 

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I had another question on CDC/USB to the Micorchip support yesterday. In their answer they stated that there is no USB functionality in the 64pin package.

Sorry for that.

 

Markus

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you Markus, now I can trample my custom board..

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes, it's really a shame that this problem is not displayed very, very clear in the data sheet and everywhere.