In developing a Renesas RA6M3 project based on Free RTOS, using PCDC to transfer data . Here, write happens properly but once we get read complete interrupt it goes into Default handler. Kindly give proper solution for this.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.
Volt.Tech
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It seems to be caused by the read buffer (g_read_buf) only being 8 bytes in size, whereas the max packet size for the full speed bulk transfer is 64 bytes. The USB driver sets up a 64 byte transfer with the DMAC when R_USB_Read() is called, then the DMAC transfer over writes some other data in RAM.
It seems to be caused by the read buffer (g_read_buf) only being 8 bytes in size, whereas the max packet size for the full speed bulk transfer is 64 bytes. The USB driver sets up a 64 byte transfer with the DMAC when R_USB_Read() is called, then the DMAC transfer over writes some other data in RAM.
See less