thanks for the prompt response. It is indeed CMSIS that is the culprit. In * @file system_TM4C123GH6PM.c * @brief CMSIS Device System Source File for * Texas Instruments TIVA TM4C123 Device Series * @version V1.00 * @date 27. March 2013 they redefines the RCC register. Anyway I've resolved the issue on my setup now and has been a great learning experience for me. By the way, this is a great series and I've really appreciated the time you've put into it!
thanks for the prompt response. It is indeed CMSIS that is the culprit. In * @file system_TM4C123GH6PM.c * @brief CMSIS Device System Source File for * Texas Instruments TIVA TM4C123 Device Series * @version V1.00 * @date 27. March 2013 they redefines the RCC register. Anyway I've resolved the issue on my setup now. By the way, this is a great series and I've really appreciated the time you've put into it!
Hello, I've been struggling with the value of the system core clock frequency in the lessons. I'm looking at lesson#20 and there the SYS_CLOCK_HZ is defined as 16MHz. However, when I look at the RCC register value SYSCTL_RCC is set to 0x01DE0542. SYSCTL_RCC2_USERCC2 is set to 0 so I believe RCC register determines the clock configuration. The register SYSCTL_RCC_SYSDIV is set to 0x3 (Hex) and SYSCTL_RCC_USESYSDIV is set 0x1 (Hex). With all of this assuming I did my math correctly I keep getting 50MHz...