Hi,
I have a little troubl with RTC and timer1&timer2 not counting impulse.
Program hangs after a while. :(
custom boart sat-tech-sbox232
Hi,
I have a little troubl with RTC and timer1&timer2 not counting impulse.
Program hangs after a while. :(
custom boart sat-tech-sbox232
unnecessary, Please compile for my custom board sat_tech_sbox232 and try run on DK52 (only change UART pins in dts), maybe something wrong with the board definition (only pin numbers changed) or maybe defconfig wrong.... i guess
Ok, I checked again, and..... no hang, but delay is not correct, I want 1s delay, and it wait a lot more (about 30s?)
k_msleep(1000);
Your compiled hex run, but delays are not correct, it should wait 1s in main loop, and it waits a lot more.
Also in my program compiled by myself there are delay issues.
I haven't changed any code to change the delays,
mkoniarz said:I want 1s delay, and it wait a lot more (about 30s?)
k_msleep(1000);
Do you mean that this k_msleep is giving you delay about 30s second? I have never seen that before. I would have thought little drift as clock issues, but 30 seconds is too much to be a clock issue.