SAM4SD16C Clock initialization

Discussion around product based on ARM Cortex M4 core.

Moderators: nferre, ncollot

Owais
Posts: 57
Joined: Wed Jul 23, 2014 3:25 pm

SAM4SD16C Clock initialization

Wed Aug 27, 2014 4:11 pm

Hello everyone,

I am working on a custom board based on SAM4SD16C. I have written my own clock initialization code as per steps given in SAM4S datasheet. The initialization is working properly on SAM4SD32C and SAM4S16C but when I try to initialize the SAM4SD16C clock using the same code the system stops working and an error pops up "Failed to read SFR base address". I have double checked it on the other SAM4S and they are working without any problem. If i remove my clock initialization routine the system starts working fine but with 4MHz clock frequency as the default clock. If someone has any clue as to what is causing this behavior. Please let me know.

Thanks in advance.

Regards,
Owais.

Return to “SAM4 Cortex-M4 MCU”

Who is online

Users browsing this forum: No registered users and 2 guests