Reply
Posts: 55
Registered: ‎10-25-2016

Pin Assignment of EFM8UB11F16G controller

I Want  external interrupt at(P0.2)and external clock at (P0.3) .so these pin be must skipped?? or not to skip in cross bar

when i  simultaneously enable spi and uart by cross bar (spi lines are assign to P0.0 to P0.3) but i want P0.2 and P0.3 to be used by external interrupt and external clock

 

Posts: 1,733
Registered: ‎10-14-2014

Re: Pin Assignment of EFM8UB11F16G controller

yes, i think you need skip for dedicated external interrupy function. use register IT01CF to configure the port pin for the INT peripheral.
you could get this in reference manual section 11.3.4 on page 87.
WeiguoLu