At present, we don't have examples for IRTX driver but may have more information in 4th quarter of this year.
Our syncedpulse implementation is not used in the IR learning use case.
Let us know if this answers your question.
Thank you for you reply.
I managed to have the irtx driver work alone.
For those interested in using this driver, here is an basic example of use.
BYTE IRTX_PORT = 0;
BYTE IRTX_PIN = 4;
#define SIZE_BUFFER 16 //Must be >=8
#define HIGH(value) (value | (1<<15))
#define LOW(value) (value & (~(1<<15)))
irtxClockSet.invertOutput=0; //Invert HIGH and LOW if true
irtxClockSet.modulateFreq=38000; //Modulation frequency 38KHz
//Prepare an array to send
send_buffer=HIGH(8000); //Stay high for 8000us
send_buffer=LOW(4000); //Stay low for 4000us
send_buffer=HIGH(600); //Stay high for 600us
//Send IR Code
irtx_sendData(send_buffer, SIZE_BUFFER, irtxClockSet);
//Hardware IR Bloc is turned off during deep sleep
//We must wait until the transmission is done before going to sleep
while (! irtx_isAvailable());
Just a last question :
Could you please tell me if it is possible to use the IR RX Bloc described in the datasheet of the BCM20732 with the SDK 1.1 ?
Where can I find the drivers to control the IR RX ?
1 of 1 people found this helpful
Currently, we do not provide any specific drivers for the infrared receiver.
We will let you know of the support in our upcoming SDK Releases.
Let me know if this answers your question.
As mentioned previously, we do not provide any specific drivers/software within the SDK to leverage the IR functionality on the device.