This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280038C-Q1: DEVICE_DELAY_US function and WATCHDOG reset mech.

Part Number: TMS320F280038C-Q1
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi,

In the device.c and device.h, there is DEVICE_DELAY_US functions. I call in my mainloop. I just wonder that I also set my Watchdog

Fullscreen
1
2
3
4
5
6
7
8
9
SysCtl_setWatchdogMode(SYSCTL_WD_MODE_RESET);
SysCtl_setWatchdogPredivider(SYSCTL_WD_PREDIV_2048);
SysCtl_setWatchdogPrescaler(SYSCTL_WD_PRESCALE_8);
SysCtl_serviceWatchdog();
SysCtl_enableWatchdog();
SysCtl_setWatchdogMode(SYSCTL_WD_MODE_RESET);.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

1) Can DEVICE_DELAY_US function cause any watchdog reset?

2) If I increase time DEVICE_DELAY_US(500000), does my watchdog reset?

3) Is it safe to use DEVICE_DELAY_US in ADC interrupts?

4) In which condition, I shouldn't use DEVICE_DELAY_US?