Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 236660

Forum Post: RE: CCS/TMS570LC4357: SYSESR is not updated for power on and cpu resets

$
0
0
Hello, I did some tests. In HL_system.c after "if ((SYS_EXCEPTION & (uint32)POWERON_RESET) != 0U) { " i put: systemREG1->ECPCNTL = 0x01800003; systemREG1->SYSPC1 = 0x01 ; Also in same file in systemInit I comment //systemREG1->SYSPC1 = 0U; and /** - Setup ECLK */ //systemREG1->ECPCNTL = (uint32)((uint32)0U << 24U) // | (uint32)((uint32)0U << 23U) // | (uint32)((uint32)(8U - 1U) & 0xFFFFU); After PORTST on ECLK1 pin I can see OSCIN. This means PORST bit was set. Best regards, Miro

Viewing all articles
Browse latest Browse all 236660

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>