cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot activate IRTIM peripheral

aerauliqa
Associate II

Hi, I'm developing an application based on STM32U031K8. I need to use the IRTIM peripheral to create an IR transmitter. I set TIM15_CH1 and TIM16_CH1 as "Output Compare No Output" but IRTIM peripheral still cannot be activated. May someone help me?

8 REPLIES 8
Souhaib MAZHOUD
ST Employee

Hello @aerauliqa 

Thank you for reporting,

Actually, IRTIM is not supported by STM32U0 MCUs.
It seems that CubeMX is being displayed incorrectly. I have escalated the issue to the relevant team for review and correction in internal ticket 193280.

KR,

Souhaib

Not supported? In the STM32U031 data sheet the IRTIM peripheral is mentioned. See the attached screen-shot. 

block diagram.png

IR_OUT AF optimaly to PB9 enable it or ?

IR_OUT is on PA13 (PB9 does not exist in STM32U031K8)

Ofcourse K8 , but PA13 is SWD pin and isnt very effective use it ... Try C8 package or if swd debug isnt required use PA13.

Hello @aerauliqa 

I checked RM0503 and found no mention of IRTIM. Currently, I will verify this because there is a discrepancy between the datasheet and the RM.

THX

Souhaib

Hello @aerauliqa 

After double-checking, yes, the STM32U0 supports the IRTIM peripheral. I confirm that there is an issue with CubeMX that will be resolved as soon as possible.

Thank you,

Souhaib

Thanks so much for your precious support. Do you know whether an RC5 library is available to implement an IR transmitter? Or may you tell me where to find some example?