I am checking brownout detection feature. but, it seems that could not clear brownout interrupt as below. I would appreciate if you could give me any advice to solve this issue.
<Test Environment>
Board i.MX6UL EVK
BSP v3.14.52-1.1.0
<Test Procedure>
(1)LDO_3P0 initial value
root@imx6ulevk:/unit_tests# ./memtool -32 0x20C8120 1
0x020C8120: 00011775
OUTPUT_TRG=3.2V output
BO_OFFSET=175mV
ENABLE_BO=0=brownout detection disable
root@imx6ulevk:/unit_tests# ./memtool -32 0x20C8160 1
0x020C8160: 80030000
IRQ_DIG_BO=1b=ARM/SOC brownout interrupt assert
IRQ_ANA_BO=0b=LDO_1P1/2P5/3P0 brownout interrupts not assert
(2)Brownout enable
root@imx6ulevk:/unit_tests# ./memtool -32 0x20C8120=0x00011717
OUTPUT_TRG=3.2V output
BO_OFFSET=25mV
ENABLE_BO=1=brownout detection enable
(3)VDD_USB_CAP(C408) probatively connect to GND.
(4)brownout detection
root@imx6ulevk:/unit_tests# ./memtool -32 0x20C8120 1
0x020C8120: 00011775
OUTPUT_TRG=3.2V output
BO_OFFSET=25mV
ENABLE_BO=1=brownout detection enable
BO_VDD3P0=0=brownout not detect
root@imx6ulevk:/unit_tests# ./memtool -32 0x20C8160 1
0x020C8160: C0030000
IRQ_DIG_BO=1b=ARM/SOC brownout interrupt assert
IRQ_ANA_BO=1b=LDO_1P1/2P5/3P0 brownout interrupts assert
(5)brownout interrupt clear
root@imx6ulevk:/unit_tests# ./memtool -32 0x20C8160=0xc0030000
root@imx6ulevk:/unit_tests# ./memtool -32 0x20C8160 1
0x020C8160: C0030000
CCM_ANALOG_MISC1n[IRQ_ANA_BO] is defined w1c. I think that IRQ_ANA_BO should be clear by above write access. How do I clear brownout interrupt?
Best Regards,
Kazuma Sasaki.