- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I am working on the SCB UART on the PSoC 62 MCU. I have using Modus Toolbox for code generation. I have configured SCB 6 UART with DMA using the PDL library. The data is being received and transmitted successfully But when change the UART mode from Standard UART to IrDA and test it with IrDA module the data is being transmitted and can be observed in on the serial monitor using an IrDA data link.
What is causing this problem. Do I need to implement some kind of flow control to make it work?
Everything is set properly as I change the UART mode back to standard It starts working correctly.
The Reception interrupt is not working properly.
Any kind of help will be highly Appreciated.
Can any Person describe the steps to configured UART in IrDA mode?
Thanks.
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Aashita_R
Thanks for your reply. I have already Applied the above mentioned setting but it is still not working. My project settings are given below:
Actually, It is working fine as I change the UART mode to STANDARD But the reception is not working in the IrDA mode. However the transmit function is working fine in IrDA mode .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AfaqAzeem ,
We regret to inform that we presently do not have a code example, showing the application for IrDA mode of UART. However, there are few things which you can check in order to try debugging at your end such as below-
1. Can you please check if the "Oversampling" parameter is set to 16 ? This is because IrDA is using 3/16 RZI modulation, so the sampling clock frequency should be set 16x of selected Baud rate, by configuring Oversampling. Oversampling should always be 16 for IrDA.
2. The Median Filter should always be enabled. This filter reduces the susceptibility to errors
3. The "Inverting RX" option should be enabled in case of IrDA as It enables the inversion of the incoming RX line signal.
Please try checking above and let me know if this helps or in case of any further query.
Best Regards,
Aashita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Aashita_R
Thanks for your reply. I have already Applied the above mentioned setting but it is still not working. My project settings are given below:
Actually, It is working fine as I change the UART mode to STANDARD But the reception is not working in the IrDA mode. However the transmit function is working fine in IrDA mode .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
These are my IrDA connections:
VCC=3.3 V and VLED=3.3 V kit GND and the IrDA GND is common.