Uart "FIFO Overflow error event"(R7FA2L1A92DFL)

I have this error. What should I do after encountering this error ? .How can I clear the FIFO?"

Parents Reply Children
  • <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <raConfiguration version="7">
      <generalSettings>
        <option key="#Board#" value="board.custom"/>
        <option key="CPU" value="RA2L1"/>
        <option key="Core" value="CM23"/>
        <option key="#TargetName#" value="R7FA2L1A92DFL"/>
        <option key="#TargetARCHITECTURE#" value="cortex-m23"/>
        <option key="#DeviceCommand#" value="R7FA2L1A9"/>
        <option key="#RTOS#" value="_none"/>
        <option key="#pinconfiguration#" value="R7FA2L1A92DFL.pincfg"/>
        <option key="#FSPVersion#" value="3.3.0"/>
        <option key="#SELECTED_TOOLCHAIN#" value="gcc-arm-embedded"/>
        <option key="#ToolchainVersion#" value="10.3.1.20210824"/>
      </generalSettings>
      <raBspConfiguration>
        <config id="config.bsp.ra2l1.R7FA2L1A92DFL">
          <property id="config.bsp.part_number" value="config.bsp.part_number.value"/>
          <property id="config.bsp.rom_size_bytes" value="config.bsp.rom_size_bytes.value"/>
          <property id="config.bsp.rom_size_bytes_hidden" value="131072"/>
          <property id="config.bsp.ram_size_bytes" value="config.bsp.ram_size_bytes.value"/>
          <property id="config.bsp.data_flash_size_bytes" value="config.bsp.data_flash_size_bytes.value"/>
          <property id="config.bsp.package_style" value="config.bsp.package_style.value"/>
          <property id="config.bsp.package_pins" value="config.bsp.package_pins.value"/>
        </config>
        <config id="config.bsp.ra2l1">
          <property id="config.bsp.series" value="config.bsp.series.value"/>
        </config>
        <config id="config.bsp.ra2l1.fsp">
          <property id="config.bsp.fsp.OFS0.iwdt_start_mode" value="config.bsp.fsp.OFS0.iwdt_start_mode.disabled"/>
          <property id="config.bsp.fsp.OFS0.iwdt_timeout" value="config.bsp.fsp.OFS0.iwdt_timeout.2048"/>
          <property id="config.bsp.fsp.OFS0.iwdt_divisor" value="config.bsp.fsp.OFS0.iwdt_divisor.128"/>
          <property id="config.bsp.fsp.OFS0.iwdt_window_end" value="config.bsp.fsp.OFS0.iwdt_window_end.0"/>
          <property id="config.bsp.fsp.OFS0.iwdt_window_start" value="config.bsp.fsp.OFS0.iwdt_window_start.100"/>
          <property id="config.bsp.fsp.OFS0.iwdt_reset_interrupt" value="config.bsp.fsp.OFS0.iwdt_reset_interrupt.Reset"/>
          <property id="config.bsp.fsp.OFS0.iwdt_stop_control" value="config.bsp.fsp.OFS0.iwdt_stop_control.stops"/>
          <property id="config.bsp.fsp.OFS0.wdt_start_mode" value="config.bsp.fsp.OFS0.wdt_start_mode.register"/>
          <property id="config.bsp.fsp.OFS0.wdt_timeout" value="config.bsp.fsp.OFS0.wdt_timeout.16384"/>
          <property id="config.bsp.fsp.OFS0.wdt_divisor" value="config.bsp.fsp.OFS0.wdt_divisor.128"/>
          <property id="config.bsp.fsp.OFS0.wdt_window_end" value="config.bsp.fsp.OFS0.wdt_window_end.0"/>
          <property id="config.bsp.fsp.OFS0.wdt_window_start" value="config.bsp.fsp.OFS0.wdt_window_start.100"/>
          <property id="config.bsp.fsp.OFS0.wdt_reset_interrupt" value="config.bsp.fsp.OFS0.wdt_reset_interrupt.Reset"/>
          <property id="config.bsp.fsp.OFS0.wdt_stop_control" value="config.bsp.fsp.OFS0.wdt_stop_control.stops"/>
          <property id="config.bsp.fsp.OFS1.internal_clock_supply" value="config.bsp.fsp.OFS1.internal_clock_supply.type_a"/>
          <property id="config.bsp.fsp.OFS1.voltage_detection0.start" value="config.bsp.fsp.OFS1.voltage_detection0.start.disabled"/>
          <property id="config.bsp.fsp.OFS1.voltage_detection0_level" value="config.bsp.fsp.OFS1.voltage_detection0_level.190"/>
          <property id="config.bsp.fsp.OFS1.hoco_osc" value="config.bsp.fsp.OFS1.hoco_osc.enabled"/>
          <property id="config.bsp.low_voltage_mode" value="config.bsp.low_voltage_mode.disabled"/>
          <property id="config.bsp.fsp.mpu_pc0_enable" value="config.bsp.fsp.mpu_pc0_enable.disabled"/>
          <property id="config.bsp.fsp.mpu_pc0_start" value="0x000FFFFC"/>
          <property id="config.bsp.fsp.mpu_pc0_end" value="0x000FFFFF"/>
          <property id="config.bsp.fsp.mpu_pc1_enable" value="config.bsp.fsp.mpu_pc1_enable.disabled"/>
          <property id="config.bsp.fsp.mpu_pc1_start" value="0x000FFFFC"/>
          <property id="config.bsp.fsp.mpu_pc1_end" value="0x000FFFFF"/>
          <property id="config.bsp.fsp.mpu_reg0_enable" value="config.bsp.fsp.mpu_reg0_enable.disabled"/>
          <property id="config.bsp.fsp.mpu_reg0_start" value="0x000FFFFC"/>
          <property id="config.bsp.fsp.mpu_reg0_end" value="0x000FFFFF"/>
          <property id="config.bsp.fsp.mpu_reg1_enable" value="config.bsp.fsp.mpu_reg1_enable.disabled"/>
          <property id="config.bsp.fsp.mpu_reg1_start" value="0x200FFFFC"/>
          <property id="config.bsp.fsp.mpu_reg1_end" value="0x200FFFFF"/>
          <property id="config.bsp.fsp.mpu_reg2_enable" value="config.bsp.fsp.mpu_reg2_enable.disabled"/>
          <property id="config.bsp.fsp.mpu_reg2_start" value="0x407FFFFC"/>
          <property id="config.bsp.fsp.mpu_reg2_end" value="0x407FFFFF"/>
          <property id="config.bsp.fsp.mpu_reg3_enable" value="config.bsp.fsp.mpu_reg3_enable.disabled"/>
          <property id="config.bsp.fsp.mpu_reg3_start" value="0x400DFFFC"/>
          <property id="config.bsp.fsp.mpu_reg3_end" value="0x400DFFFF"/>
          <property id="config.bsp.fsp.dcdc" value="config.bsp.fsp.dcdc.disabled"/>
          <property id="config.bsp.fsp.dcdc_range" value="config.bsp.fsp.dcdc_range.2v7_3v6"/>
          <property id="config.bsp.common.main_osc_wait" value="config.bsp.common.main_osc_wait.wait_8163"/>
          <property id="config.bsp.fsp.mcu.adc.max_freq_hz" value="64000000"/>
          <property id="config.bsp.fsp.mcu.sci_uart.max_baud" value="3333333"/>
          <property id="config.bsp.fsp.mcu.adc.sample_and_hold" value="0"/>
          <property id="config.bsp.fsp.mcu.sci_spi.max_bitrate" value="8000000"/>
          <property id="config.bsp.fsp.mcu.spi.max_bitrate" value="16000000"/>
          <property id="config.bsp.fsp.mcu.iic_master.rate.rate_fastplus" value="0"/>
          <property id="config.bsp.fsp.mcu.sci_uart.cstpen_channels" value="0x0"/>
          <property id="config.bsp.common.id_mode" value="config.bsp.common.id_mode.unlocked"/>
          <property id="config.bsp.common.id_code" value="FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"/>
          <property id="config.bsp.common.id1" value=""/>
          <property id="config.bsp.common.id2" value=""/>
          <property id="config.bsp.common.id3" value=""/>
          <property id="config.bsp.common.id4" value=""/>
          <property id="config.bsp.common.id_fixed" value=""/>
        </config>
        <config id="config.bsp.ra">
          <property id="config.bsp.common.main" value="0x400"/>
          <property id="config.bsp.common.heap" value="0"/>
          <property id="config.bsp.common.vcc" value="3300"/>
          <property id="config.bsp.common.checking" value="config.bsp.common.checking.disabled"/>
          <property id="config.bsp.common.assert" value="config.bsp.common.assert.none"/>
          <property id="config.bsp.common.error_log" value="config.bsp.common.error_log.none"/>
          <property id="config.bsp.common.soft_reset" value="config.bsp.common.soft_reset.disabled"/>
          <property id="config.bsp.common.main_osc_populated" value="config.bsp.common.main_osc_populated.enabled"/>
          <property id="config.bsp.common.pfs_protect" value="config.bsp.common.pfs_protect.enabled"/>
          <property id="config.bsp.common.c_runtime_init" value="config.bsp.common.c_runtime_init.enabled"/>
          <property id="config.bsp.common.main_osc_clock_source" value="config.bsp.common.main_osc_clock_source.crystal"/>
          <property id="config.bsp.common.subclock_populated" value="config.bsp.common.subclock_populated.enabled"/>
          <property id="config.bsp.common.subclock_drive" value="config.bsp.common.subclock_drive.standard"/>
          <property id="config.bsp.common.subclock_stabilization_ms" value="1000"/>
        </config>
      </raBspConfiguration>
      <raClockConfiguration>
        <node id="board.clock.xtal.freq" mul="16000000" option="_edit"/>
        <node id="board.clock.hoco.freq" option="board.clock.hoco.freq.48m"/>
        <node id="board.clock.loco.freq" option="board.clock.loco.freq.32768"/>
        <node id="board.clock.moco.freq" option="board.clock.moco.freq.8m"/>
        <node id="board.clock.subclk.freq" option="board.clock.subclk.freq.32768"/>
        <node id="board.clock.clock.source" option="board.clock.clock.source.hoco"/>
        <node id="board.clock.iclk.div" option="board.clock.iclk.div.1"/>
        <node id="board.clock.iclk.display" option="board.clock.iclk.display.value"/>
        <node id="board.clock.pclkb.div" option="board.clock.pclkb.div.2"/>
        <node id="board.clock.pclkb.display" option="board.clock.pclkb.display.value"/>
        <node id="board.clock.pclkd.div" option="board.clock.pclkd.div.1"/>
        <node id="board.clock.pclkd.display" option="board.clock.pclkd.display.value"/>
        <node id="board.clock.clkout.source" option="board.clock.clkout.source.disabled"/>
        <node id="board.clock.clkout.div" option="board.clock.clkout.div.1"/>
        <node id="board.clock.clkout.display" option="board.clock.clkout.display.value"/>
      </raClockConfiguration>
      <raComponentSelection>
        <component apiversion="" class="Common" condition="" group="all" subgroup="fsp_common" variant="" vendor="Renesas" version="3.3.0">
          <description>Board Support Package Common Files</description>
          <originalPack>Renesas.RA.3.3.0.pack</originalPack>
        </component>
        <component apiversion="" class="HAL Drivers" condition="" group="all" subgroup="r_ioport" variant="" vendor="Renesas" version="3.3.0">
          <description>I/O Port</description>
          <originalPack>Renesas.RA.3.3.0.pack</originalPack>
        </component>
        <component apiversion="" class="CMSIS" condition="" group="CMSIS5" subgroup="CoreM" variant="" vendor="Arm" version="5.7.0+fsp.3.3.0">
          <description>Arm CMSIS Version 5 - Core (M)</description>
          <originalPack>Arm.CMSIS5.5.7.0+fsp.3.3.0.pack</originalPack>
        </component>
        <component apiversion="" class="BSP" condition="" group="ra2l1" subgroup="device" variant="R7FA2L1A92DFL" vendor="Renesas" version="3.3.0">
          <description>Board support package for R7FA2L1A92DFL</description>
          <originalPack>Renesas.RA_mcu_ra2l1.3.3.0.pack</originalPack>
        </component>
        <component apiversion="" class="BSP" condition="" group="ra2l1" subgroup="device" variant="" vendor="Renesas" version="3.3.0">
          <description>Board support package for RA2L1</description>
          <originalPack>Renesas.RA_mcu_ra2l1.3.3.0.pack</originalPack>
        </component>
        <component apiversion="" class="BSP" condition="" group="ra2l1" subgroup="fsp" variant="" vendor="Renesas" version="3.3.0">
          <description>Board support package for RA2L1 - FSP Data</description>
          <originalPack>Renesas.RA_mcu_ra2l1.3.3.0.pack</originalPack>
        </component>
        <component apiversion="" class="BSP" condition="" group="Board" subgroup="custom" variant="" vendor="Renesas" version="3.3.0">
          <description>Custom Board Support Files</description>
          <originalPack>Renesas.RA_board_custom.3.3.0.pack</originalPack>
        </component>
        <component apiversion="" class="HAL Drivers" condition="" group="all" subgroup="r_cgc" variant="" vendor="Renesas" version="3.3.0">
          <description>Clock Generation Circuit</description>
          <originalPack>Renesas.RA.3.3.0.pack</originalPack>
        </component>
        <component apiversion="" class="HAL Drivers" condition="" group="all" subgroup="r_dtc" variant="" vendor="Renesas" version="3.3.0">
          <description>Data Transfer Controller</description>
          <originalPack>Renesas.RA.3.3.0.pack</originalPack>
        </component>
        <component apiversion="" class="HAL Drivers" condition="" group="all" subgroup="r_flash_lp" variant="" vendor="Renesas" version="3.3.0">
          <description>Flash Memory Low Power</description>
          <originalPack>Renesas.RA.3.3.0.pack</originalPack>
        </component>
        <component apiversion="" class="HAL Drivers" condition="" group="all" subgroup="r_iwdt" variant="" vendor="Renesas" version="3.3.0">
          <description>Independent Watchdog Timer</description>
          <originalPack>Renesas.RA.3.3.0.pack</originalPack>
        </component>
        <component apiversion="" class="HAL Drivers" condition="" group="all" subgroup="r_sci_uart" variant="" vendor="Renesas" version="3.3.0">
          <description>SCI UART</description>
          <originalPack>Renesas.RA.3.3.0.pack</originalPack>
        </component>
        <component apiversion="" class="HAL Drivers" condition="" group="all" subgroup="r_spi" variant="" vendor="Renesas" version="3.3.0">
          <description>Serial Peripheral Interface</description>
          <originalPack>Renesas.RA.3.3.0.pack</originalPack>
        </component>
        <component apiversion="" class="Middleware" condition="" group="all" subgroup="rm_vee_flash" variant="" vendor="Renesas" version="3.3.0">
          <description>Virtual EEPROM</description>
          <originalPack>Renesas.RA.3.3.0.pack</originalPack>
        </component>
      </raComponentSelection>
      <raElcConfiguration/>
      <raIcuConfiguration/>
      <raModuleConfiguration>
        <module id="module.driver.ioport_on_ioport.0">
          <property id="module.driver.ioport.name" value="g_ioport"/>
          <property id="module.driver.ioport.elc_trigger_ioport1" value="_disabled"/>
          <property id="module.driver.ioport.elc_trigger_ioport2" value="_disabled"/>
          <property id="module.driver.ioport.elc_trigger_ioport3" value="_disabled"/>
          <property id="module.driver.ioport.elc_trigger_ioport4" value="_disabled"/>
          <property id="module.driver.ioport.pincfg" value="g_bsp_pin_cfg"/>
        </module>
        <module id="module.driver.watchdog_on_iwdt.832417881">
          <property id="module.driver.watchdog.name" value="g_wdt0"/>
          <property id="module.driver.watchdog.nmi_callback" value="NULL"/>
        </module>
        <module id="module.driver.cgc_on_cgc.1763831163">
          <property id="module.driver.cgc.name" value="g_cgc0"/>
          <property id="module.driver.cgc.callback" value="NULL"/>
        </module>
        <module id="module.driver.uart_on_sci_uart.500222355">
          <property id="module.driver.uart.name" value="g_uart0"/>
          <property id="module.driver.uart.channel" value="0"/>
          <property id="module.driver.uart.data_bits" value="module.driver.uart.data_bits.data_bits_8"/>
          <property id="module.driver.uart.parity" value="module.driver.uart.parity.parity_off"/>
          <property id="module.driver.uart.stop_bits" value="module.driver.uart.stop_bits.stop_bits_2"/>
          <property id="module.driver.uart.baud" value="38400"/>
          <property id="module.driver.uart.baudrate_modulation" value="module.driver.uart.baudrate_modulation.disabled"/>
          <property id="module.driver.uart.baudrate_max_err" value="5"/>
          <property id="module.driver.uart.flow_control" value="module.driver.uart.flow_control.rts"/>
          <property id="module.driver.uart.pin_control_port" value="module.driver.uart.pin_control_port.PORT_DISABLE"/>
          <property id="module.driver.uart.pin_control_pin" value="module.driver.uart.pin_control_pin.PIN_DISABLE"/>
          <property id="module.driver.uart.clk_src" value="module.driver.uart.clk_src.int_clk"/>
          <property id="module.driver.uart.rx_edge_start" value="module.driver.uart.rx_edge_start.falling_edge"/>
          <property id="module.driver.uart.noisecancel_en" value="module.driver.uart.noisecancel_en.enabled"/>
          <property id="module.driver.uart.rx_fifo_trigger" value="module.driver.uart.rx_fifo_trigger.max"/>
          <property id="module.driver.uart.callback" value="user_uart_callback"/>
          <property id="module.driver.uart.rxi_ipl" value="board.icu.common.irq.priority1"/>
          <property id="module.driver.uart.txi_ipl" value="board.icu.common.irq.priority1"/>
          <property id="module.driver.uart.tei_ipl" value="board.icu.common.irq.priority1"/>
          <property id="module.driver.uart.eri_ipl" value="board.icu.common.irq.priority1"/>
        </module>
        <module id="module.middleware.rm_vee_flash.2098197249">
          <property id="module.middleware.rm_vee_flash.name" value="g_vee0"/>
          <property id="module.middleware.rm_vee_flash.record_max_id" value="16"/>
          <property id="module.middleware.rm_vee_flash.num_segments" value="2"/>
          <property id="module.middleware.rm_vee_flash.start_addr" value="BSP_FEATURE_FLASH_DATA_FLASH_START"/>
          <property id="module.middleware.rm_vee_flash.total_size" value="BSP_DATA_FLASH_SIZE_BYTES"/>
          <property id="module.middleware.rm_vee_flash.ref_data_size" value="0"/>
          <property id="module.middleware.rm_vee_flash.p_callback" value="vee_callback"/>
        </module>
        <module id="module.driver.flash_on_flash_lp.2106871635">
          <property id="module.driver.flash.name" value="g_flash0"/>
          <property id="module.driver.flash.data_flash_bgo" value="module.driver.flash.data_flash_bgo.enabled"/>
          <property id="module.driver.flash.p_callback" value="NULL"/>
          <property id="module.driver.flash.ipl" value="board.icu.common.irq.priority0"/>
        </module>
        <module id="module.driver.spi_on_spi.1744887833">
          <property id="module.driver.spi.name" value="g_spi1"/>
          <property id="module.driver.spi.channel" value="1"/>
          <property id="module.driver.spi.rxi_ipl" value="board.icu.common.irq.priority1"/>
          <property id="module.driver.spi.txi_ipl" value="board.icu.common.irq.priority1"/>
          <property id="module.driver.spi.tei_ipl" value="board.icu.common.irq.priority1"/>
          <property id="module.driver.spi.eri_ipl" value="board.icu.common.irq.priority1"/>
          <property id="module.driver.spi.operating_mode" value="module.driver.spi.operating_mode.mode_master"/>
          <property id="module.driver.spi.clk_phase" value="module.driver.spi.clk_phase.clk_phase_edge_even"/>
          <property id="module.driver.spi.clk_polarity" value="module.driver.spi.clk_polarity.clk_polarity_high"/>
          <property id="module.driver.spi.mode_fault" value="module.driver.spi.mode_fault.mode_fault_error_disable"/>
          <property id="module.driver.spi.bit_order" value="module.driver.spi.bit_order.bit_order_msb_first"/>
          <property id="module.driver.spi.p_callback" value="spi_callback"/>
          <property id="module.driver.spi.spi_clksyn" value="module.driver.spi.spi_clksyn.spi_operation"/>
          <property id="module.driver.spi.spi_comm" value="module.driver.spi.spi_comm.full_duplex"/>
          <property id="module.driver.spi.ssl_polarity" value="module.driver.spi.ssl_polarity.low"/>
          <property id="module.driver.spi.ssl_select" value="module.driver.spi.ssl_select.zero"/>
          <property id="module.driver.spi.mosi_idle_value_fixing" value="module.driver.spi.mosi_idle_value_fixing.disable"/>
          <property id="module.driver.spi.parity" value="module.driver.spi.parity_mode.disable"/>
          <property id="module.driver.spi.byte_swap" value="module.driver.spi.byte_swap.disable"/>
          <property id="module.driver.spi.bitrate" value="16000000"/>
          <property id="module.driver.spi.spck_delay" value="module.driver.spi.spck_delay.one"/>
          <property id="module.driver.spi.ssl_negation_delay" value="module.driver.spi.ssl_negation_delay.one"/>
          <property id="module.driver.spi.next_access_delay" value="module.driver.spi.next_access_delay.one"/>
        </module>
        <module id="module.driver.transfer_on_dtc.1546709036">
          <property id="module.driver.transfer.name" value="g_transfer0"/>
          <property id="module.driver.transfer.mode" value="module.driver.transfer.mode.mode_normal"/>
          <property id="module.driver.transfer.size" value="module.driver.transfer.size.size_2_byte"/>
          <property id="module.driver.transfer.dest_addr_mode" value="module.driver.transfer.dest_addr_mode.addr_mode_fixed"/>
          <property id="module.driver.transfer.src_addr_mode" value="module.driver.transfer.src_addr_mode.addr_mode_fixed"/>
          <property id="module.driver.transfer.repeat_area" value="module.driver.transfer.repeat_area.repeat_area_source"/>
          <property id="module.driver.transfer.p_dest" value="NULL"/>
          <property id="module.driver.transfer.p_src" value="NULL"/>
          <property id="module.driver.transfer.interrupt" value="module.driver.transfer.interrupt.interrupt_end"/>
          <property id="module.driver.transfer.length" value="0"/>
          <property id="module.driver.transfer.num_blocks" value="0"/>
          <property id="module.driver.transfer.activation_source" value="_disabled"/>
        </module>
        <module id="module.driver.transfer_on_dtc.1015688986">
          <property id="module.driver.transfer.name" value="g_transfer1"/>
          <property id="module.driver.transfer.mode" value="module.driver.transfer.mode.mode_normal"/>
          <property id="module.driver.transfer.size" value="module.driver.transfer.size.size_2_byte"/>
          <property id="module.driver.transfer.dest_addr_mode" value="module.driver.transfer.dest_addr_mode.addr_mode_fixed"/>
          <property id="module.driver.transfer.src_addr_mode" value="module.driver.transfer.src_addr_mode.addr_mode_fixed"/>
          <property id="module.driver.transfer.repeat_area" value="module.driver.transfer.repeat_area.repeat_area_source"/>
          <property id="module.driver.transfer.p_dest" value="NULL"/>
          <property id="module.driver.transfer.p_src" value="NULL"/>
          <property id="module.driver.transfer.interrupt" value="module.driver.transfer.interrupt.interrupt_end"/>
          <property id="module.driver.transfer.length" value="0"/>
          <property id="module.driver.transfer.num_blocks" value="0"/>
          <property id="module.driver.transfer.activation_source" value="_disabled"/>
        </module>
        <context id="_hal.0">
          <stack module="module.driver.ioport_on_ioport.0"/>
          <stack module="module.driver.watchdog_on_iwdt.832417881"/>
          <stack module="module.driver.cgc_on_cgc.1763831163"/>
          <stack module="module.driver.uart_on_sci_uart.500222355"/>
          <stack module="module.middleware.rm_vee_flash.2098197249">
            <stack module="module.driver.flash_on_flash_lp.2106871635" requires="module.middleware.rm_vee_flash.requires.flash"/>
          </stack>
          <stack module="module.driver.spi_on_spi.1744887833">
            <stack module="module.driver.transfer_on_dtc.1546709036" requires="module.driver.spi_on_spi.requires.transfer_tx"/>
            <stack module="module.driver.transfer_on_dtc.1015688986" requires="module.driver.spi_on_spi.requires.transfer_rx"/>
          </stack>
        </context>
        <config id="config.driver.iwdt">
          <property id="config.driver.iwdt.param_checking_enable" value="config.driver.iwdt.param_checking_enable.bsp"/>
        </config>
        <config id="config.driver.cgc">
          <property id="config.driver.cgc.param_checking_enable" value="config.driver.cgc.param_checking_enable.bsp"/>
        </config>
        <config id="config.driver.ioport">
          <property id="config.driver.ioport.checking" value="config.driver.ioport.checking.system"/>
        </config>
        <config id="config.driver.dtc">
          <property id="config.driver.dtc.param_checking_enable" value="config.driver.dtc.param_checking_enable.bsp"/>
          <property id="config.driver.dtc.vector_table" value=".fsp_dtc_vector_table"/>
        </config>
        <config id="config.driver.flash_lp">
          <property id="config.driver.flash_lp.param_checking_enable" value="config.flash_lp.param_checking_enable.bsp"/>
          <property id="config.driver.flash_lp.param_code_flash_programming_enable" value="config.driver.flash_lp.param_code_flash_programming_enable.disabled"/>
          <property id="config.driver.flash_lp.param_data_flash_programming_enable" value="config.driver.flash_lp.param_data_flash_programming_enable.enabled"/>
        </config>
        <config id="config.middleware.rm_vee_flash">
          <property id="config.middleware.rm_vee_flash.checking" value="config.middleware.rm_vee_flash.checking.system"/>
          <property id="config.middleware.rm_vee_flash.ref_data_support" value="config.middleware.rm_vee_flash.ref_data_support.disabled"/>
          <property id="config.middleware.rm_vee_flash.refresh_buf_size" value="40"/>
        </config>
        <config id="config.driver.sci_uart">
          <property id="config.driver.sci_uart.param_checking_enable" value="config.driver.sci_uart.param_checking_enable.bsp"/>
          <property id="config.driver.sci_uart.fifo_support" value="config.driver.sci_uart.fifo_support.disabled"/>
          <property id="config.driver.sci_uart.dtc_support" value="config.driver.sci_uart.dtc_support.disabled"/>
          <property id="config.driver.sci_uart.flow_control" value="config.driver.sci_uart.flow_control.disabled"/>
        </config>
        <config id="config.driver.spi">
          <property id="config.driver.spi.param_checking_enable" value="config.driver.spi.param_checking_enable.bsp"/>
          <property id="config.driver.spi.dtc_enable" value="config.driver.spi.dtc_enable.enabled"/>
          <property id="config.driver.spi.rxi_transmit" value="config.driver.spi.rxi_transmit.disabled"/>
        </config>
      </raModuleConfiguration>
      <raPinConfiguration>
        <symbolicName propertyId="p014.symbolic_name" value="BUSY_PORT"/>
        <symbolicName propertyId="p112.symbolic_name" value="sEEPROM_MAIN_CS"/>
        <symbolicName propertyId="p301.symbolic_name" value="sEEPROM_BACKUP_CS"/>
        <symbolicName propertyId="p302.symbolic_name" value="ERROR_LED_PORT"/>
        <symbolicName propertyId="p500.symbolic_name" value="COP_LED_PORT"/>
        <pincfg active="true" name="R7FA2L1A92DFL.pincfg" selected="true" symbol="g_bsp_pin_cfg">
          <configSetting altId="cgc0.extal.p212" configurationId="cgc0.extal"/>
          <configSetting altId="cgc0.mode.custom" configurationId="cgc0.mode"/>
          <configSetting altId="cgc0.xtal.p213" configurationId="cgc0.xtal"/>
          <configSetting altId="debug0.mode.swd" configurationId="debug0.mode"/>
          <configSetting altId="debug0.swclk.p300" configurationId="debug0.swclk"/>
          <configSetting altId="debug0.swdio.p108" configurationId="debug0.swdio"/>
          <configSetting altId="p014.output.low" configurationId="p014"/>
          <configSetting altId="p014.gpio_mode.gpio_mode_out.low" configurationId="p014.gpio_mode"/>
          <configSetting altId="p100.sci0.rxd" configurationId="p100"/>
          <configSetting altId="p100.gpio_mode.gpio_mode_peripheral" configurationId="p100.gpio_mode"/>
          <configSetting altId="p101.sci0.txd" configurationId="p101"/>
          <configSetting altId="p101.gpio_mode.gpio_mode_peripheral" configurationId="p101.gpio_mode"/>
          <configSetting altId="p108.debug0.swdio" configurationId="p108"/>
          <configSetting altId="p108.gpio_mode.gpio_mode_peripheral" configurationId="p108.gpio_mode"/>
          <configSetting altId="p109.spi1.mosi" configurationId="p109"/>
          <configSetting altId="p109.gpio_mode.gpio_mode_peripheral" configurationId="p109.gpio_mode"/>
          <configSetting altId="p110.spi1.miso" configurationId="p110"/>
          <configSetting altId="p110.gpio_mode.gpio_mode_peripheral" configurationId="p110.gpio_mode"/>
          <configSetting altId="p111.spi1.rspck" configurationId="p111"/>
          <configSetting altId="p111.gpio_mode.gpio_mode_peripheral" configurationId="p111.gpio_mode"/>
          <configSetting altId="p112.output.low" configurationId="p112"/>
          <configSetting altId="p112.gpio_mode.gpio_mode_out.low" configurationId="p112.gpio_mode"/>
          <configSetting altId="p212.cgc0.extal" configurationId="p212"/>
          <configSetting altId="p212.gpio_mode.gpio_mode_peripheral" configurationId="p212.gpio_mode"/>
          <configSetting altId="p213.cgc0.xtal" configurationId="p213"/>
          <configSetting altId="p213.gpio_mode.gpio_mode_peripheral" configurationId="p213.gpio_mode"/>
          <configSetting altId="p300.debug0.swclk" configurationId="p300"/>
          <configSetting altId="p300.gpio_mode.gpio_mode_peripheral" configurationId="p300.gpio_mode"/>
          <configSetting altId="p301.output.low" configurationId="p301"/>
          <configSetting altId="p301.gpio_mode.gpio_mode_out.low" configurationId="p301.gpio_mode"/>
          <configSetting altId="p302.output.low" configurationId="p302"/>
          <configSetting altId="p302.gpio_mode.gpio_mode_out.low" configurationId="p302.gpio_mode"/>
          <configSetting altId="p500.output.low" configurationId="p500"/>
          <configSetting altId="p500.gpio_mode.gpio_mode_out.low" configurationId="p500.gpio_mode"/>
          <configSetting altId="sci0.mode.asynchronous.free" configurationId="sci0.mode"/>
          <configSetting altId="sci0.rxd.p100" configurationId="sci0.rxd"/>
          <configSetting altId="sci0.txd.p101" configurationId="sci0.txd"/>
          <configSetting altId="spi0.mode.custom.a" configurationId="spi0.mode"/>
          <configSetting altId="spi1.miso.p110" configurationId="spi1.miso"/>
          <configSetting altId="spi1.mode.enabled.free" configurationId="spi1.mode"/>
          <configSetting altId="spi1.mosi.p109" configurationId="spi1.mosi"/>
          <configSetting altId="spi1.pairing.free" configurationId="spi1.pairing"/>
          <configSetting altId="spi1.rspck.p111" configurationId="spi1.rspck"/>
        </pincfg>
      </raPinConfiguration>
    </raConfiguration>
    

  • Hello,

    In your ticket you are referring to FIFO but from your configurations it seems that you have not enabled FIFO Support. Could you please tell us more details about your application and what are you actually trying to achieve?

    Thank you!

    Best Regards,

    IK

  • Yes, even though I haven't activated the FIFO, I'm getting an error. What I'm really curious about is how can I empty the filled FIFO?

  • Why you initialize the g_uart_event to 100 ? Try to set it initially to 0.

    Please check the Basic Example on https://renesas.github.io/fsp/group___s_c_i___u_a_r_t.html on how  to wait for the transmit completion event.

    I think your problem is that you do not get the UART_EVENT_TX_COMPLETE, if you do not use FIFO there is no reason that you get this error and also clear it.

    Also, please consider to update to the latest FSP version, it could be caused by the old FSP release that you use.

  • Hello again,

    Have you declared a callback function like this? Does your code enter the callback function you declared?

    In order to check the value of uart event and check when your operation is actually completed.

    Drivers provided in FSP have non blocking implementation by default this means that in your case where you want to make a write operation Write() API will return immediately and your code will enter a callback function in order to check and notify you that the Write operation is completed.

    I would suggest you to read the documentation provided for r_sci_uart module in order to understand how it works and use it. Find bellow the documentation:

    https://renesas.github.io/fsp/group___s_c_i___u_a_r_t.html

    Best Regards,

    IK