Register Definitions in .atpack files incomplete?

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

Hello,

I'm trying to port Zephyr to the SAM54E and try to use the existing common code for SAM3x, SAM4S and SAME70.

They all use the Parallel I/O Controller for GPIOs and define a Pio struct in component/pio.h.

 

SAM54E does not include such file in Atmel.SAME54_DFP.1.0.87.atpack, instead there is a component/port.h

 

Does that mean the I/O Controller is functioning different than in previous models or is it possible that the .atpack file in incomplete? 

This topic has a solution.
Last Edited: Mon. Feb 11, 2019 - 04:36 PM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ï don't think the E5x series has a PIO controller, but it uses the PORT peripheral instead (similar to the SAMD/C series). The datasheet should tell you the ultimate truth smiley

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

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

I also noticed it uses a SERCOM peripheral instead of UART/USART - so much for hoping to leverage common code.

Maybe they are closer related to SAML1x?

Last Edited: Mon. Feb 11, 2019 - 04:40 PM