Hi Renesas Community ,
I was trying to configure RA6M1 for UART communication.
But my control is not coming inside the callback function .
I will attach my configuration and UART initialisation with this query ,
Kindly suggest the method to resolve the issue.
Initialisation is called inside hal entry and it works as I checked it with breakpoint ,initialisation is happening correctly.
These are my configurations.
Hi,
Thank you for reaching out to Renesas!
Is your toggle_p110(); function running which calling case UART_EVENT_RX_CHAR?Also, what does your MIDI_IN_MODULE(); function doing?
Have you tried changing the baud rate?
Please let me know these details!
Kind regards,
PS
Everything, all functions works fine with other pairs of TX and RX(same baud rate and configuration settings ) ,I tried with SCI 8, SCI 3 etc they are working perfect . Only these pins I chosen the channel 9 SCI9 is giving a problem.
Baud rate -31250 ( recieving MIDI messages)
MIDI_IN_MODULE( decodes MIDI messages that's all) ,I tried a simple toggle program instead of that ,in that too SCI8,SCI3 are working but SCI9 is not working.
Thankyou
Thank you for your response!
SCI9 pins are typically reserved for the Serial Bootloader, which is why SCI8 and SCI3 work perfectly while SCI9 fails. The bootloader maintains control over these pins and can cause lockup issues. Simply switch to SCI8 or SCI3 for your MIDI input (31250 baud) since they're already proven to work with your application, this is the safest and most reliable solution rather than trying to override bootloader functionality.
Apologies for incomplete information!
Ok ,Thank you for the clarification
Hi, right now I am facing same issue with SCI2 channel to pins 302 and 301 .I am not able to establish UART connection using it .The control is not coming to UART callback.Is there a technique to resolve.