I use a ESP32 WROOM module and tried to program the internal PCNT module via register access with the machine function mem32.
Unfortunately, it doesn't work as expected.
I tried to manipulate the PCNT_U0_CONF0 register
Code: Select all
>>> bin(mem32[0x3FF57000])
'0b11110000010000'
>>> mem32[0x3FF57000] = 0b1111011110000010000
>>> bin(mem32[0x3FF57000])
'0b11110000010000'
>>>
Thank you very much for a tip.
Ciao Kai