I cannot enter interrupt. Please provide an interrupt sample program for Renesas RH850-F1KM-S1 ?
I cannot enter interrupt. Please provide an interrupt sample program for Renesas RH850-F1KM-S1 ?
Read lessSign 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.
You must login to ask question.
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.
Renesas MCU as we know Renesas makes microcontrollers (mcu) that provide expand ability while allowing customers to make full use of existing resources.
Some of the popular microcontrollers (mcu) made by Renesas are:
RL78 is the family name for a range of 16-bit microcontrollers.
The RX MCU family
The RX, an acronym for Renesas Xtreme, is the family name for a range of 32-bit microcontrollers developed by Renesas.
The RA, an acronym for Renesas Advanced, is the family name for a range of 32-bit microcontrollers with Arm Cortex processor cores.
I cannot enter interrupt. Please provide an interrupt sample program for Renesas RH850-F1KM-S1 ?
I cannot enter interrupt. Please provide an interrupt sample program for Renesas RH850-F1KM-S1 ?
Read lessI use Renesas R7F7015813AFP-C.RLIN3 work in UART mode, “For performing half-duplex communication , the LIN/UART interface(in UART mode) have the support transmission start wait function”(19.8.1.7 in datasheet), does UART work in half-duplex? Does it support full-duplex?
I use Renesas R7F7015813AFP-C.RLIN3 work in UART mode, “For performing half-duplex communication , the LIN/UART interface(in UART mode) have the support transmission start wait function”(19.8.1.7 in datasheet), does UART work in half-duplex? Does it support full-duplex?
Read lessThere is an issue in the startup code for the Renesas RA6M4. The sub clock was configured as populated on the EK-RA6M4, but it would not work. When I stepped through the startup code, I found out why: in bsp_clocks.c: ...Read more
There is an issue in the startup code for the Renesas RA6M4. The sub clock was configured as populated on the EK-RA6M4, but it would not work. When I stepped through the startup code, I found out why: in bsp_clocks.c: #if BSP_CLOCK_CFG_SUBCLOCK_POPULATED /* If the board has a subclock, set the subclock drive and start the subclock if the subclock is stopped. If the * subclock is running, the subclock drive is assumed to be set appropriately. */ if (R_SYSTEM->SOSCCR) <- This line prevents configuring the SOMCR because SOSCCR is 0 at reset /* Configure the subclock drive if the subclock is not already running. */ R_SYSTEM->SOMCR = ((BSP_CLOCK_CFG_SUBCLOCK_DRIVE << BSP_FEATURE_CGC_SODRV_SHIFT) & BSP_FEATURE_CGC_SODRV_MASK); R_SYSTEM->SOSCCR = 0U; #if (BSP_CLOCKS_SOURCE_CLOCK_SUBCLOCK == BSP_CFG_CLOCK_SOURCE) || (BSP_PRV_HOCO_USE_FLL) /* If the subclock is the system clock source OR if FLL is used, wait for stabilization. */ R_BSP_SoftwareDelay(BSP_CLOCK_CFG_SUBCLOCK_STABILIZATION_MS, BSP_DELAY_UNITS_MILLISECONDS). Once I commented the if statement, the sub clock was configured properly and started oscillating. Perhaps it was intended that at some point the sub clock should be disabled (set to 1) prior to configuring it, but I don’t see where anything disables it unless the option is left as “not populated”.
Read lessYou could disable the sub-oscillator in the user code :- /* Call pre clock initialization hook. */ R_BSP_WarmStart(BSP_WARM_START_RESET); is called before /* Configure system clocks. */ bsp_clock_init(); in the SystemInit() function, in the file system.c. The function R_BSP_WarmStart() is created inRead more
You could disable the sub-oscillator in the user code :-
/* Call pre clock initialization hook. */
R_BSP_WarmStart(BSP_WARM_START_RESET);
is called before
/* Configure system clocks. */
bsp_clock_init();
in the SystemInit() function, in the file system.c.
The function R_BSP_WarmStart() is created in the file src\hal_entry.c, so you could add the code to stop the sub oscillator there :-
void R_BSP_WarmStart(bsp_warm_start_event_t event)
{
if (BSP_WARM_START_RESET == event)
{
uint16_t prcr = R_SYSTEM->PRCR;
R_SYSTEM->PRCR = 0xA501;
R_SYSTEM->SOSCCR = 1; //disable the SOSC
R_SYSTEM->PRCR = (uint16_t)(0xA500 | (prcr & 0x00FF));
}
}
You might not want to stop the sub-oscillator if the device has been running on the VBATT power supply with the RTC running, and VCC is re-applied, as stopping the sub oscillator would also stop the RTC, so you might only want to stop the sub oscillator on a cold boot of the device.
The SOMCR register should only be modified if the sub oscillator is not running (i.e. the SOSTP bit in the SOSCR register is 1), so just commenting out the check:-
if (R_SYSTEM->SOSCCR)
is not reccomended, the sub oscillator should first be stopped, before modifying the SOMCR register.
See lessOn page 89 of the Renesas RA6M5 specification, there is a sentence “The use of pins AN000 to AN010, AN012, AN013 as digital outputs is not allowed when the 12-Bit A/D converter is used.” If pins AN000 to AN010, AN012, AN013 ...Read more
On page 89 of the Renesas RA6M5 specification, there is a sentence “The use of pins AN000 to AN010, AN012, AN013 as digital outputs is not allowed when the 12-Bit A/D converter is used.”
If pins AN000 to AN010, AN012, AN013 are used as digital outputs when using ADC, what will be the impact and result?
Read lessAs this is not allowed, the result is not specified in the data sheet. If the pins were used as inputs while the ADC is being used (with an Analog signal on the inputs), you would have the output of the device fighting with the input. This could cause many issues- from excess noise to possible overRead more
As this is not allowed, the result is not specified in the data sheet.
If the pins were used as inputs while the ADC is being used (with an Analog signal on the inputs), you would have the output of the device fighting with the input. This could cause many issues- from excess noise to possible over heating and even potential wear/damage to the device pins.
See lessI am working on a Renesas MCU porting project and using the EVL Kit R7FA6M3AH3CFB. This kit has on onboard debugger and I am unable to use it from Keil MDK. When I click on the debug option the following ...Read more
I am working on a Renesas MCU porting project and using the EVL Kit R7FA6M3AH3CFB. This kit has on onboard debugger and I am unable to use it from Keil MDK. When I click on the debug option the following error log appears and fails with error Flash Download failed. Target info: Device: R7FA6M3AH VTarget = 3.300V State of Pins: TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 255 Hardware-Breakpoints: Software-Breakpoints: 8192 Watchpoints: 4 JTAG speed: 2000 kHz No Algorithm found for: 00000000H – 0000208FH No Algorithm found for: 0100A150H – 0100A15FH Erase skipped!
Error: Flash Download failed – “Cortex-M4” Flash Load finished at 13:04:03 Please let me know is there any options to be enabled in Keil IDE uVision 5.36 for this board. How do I proceed on this?
Read lessOn the options for target, utilities tab, select Use External tool for Flash Programming (leave blank, command & argument)
On the options for target, utilities tab, select
Use External tool for Flash Programming (leave blank, command & argument)
See lessI have Renesas RH850F1K (R7F701649) microcontroller and using CS+ IDE. How to set the LED1,if it is connected to P0_11? I want to toggle this LED1.
I have Renesas RH850F1K (R7F701649) microcontroller and using CS+ IDE. How to set the LED1,if it is connected to P0_11? I want to toggle this LED1.
Read lessThe hardware User Manual contains the information required to access I/O and peripherals among other things. RH850/F1KM, RH850/F1KH User's Manual: Hardware (R01UH0684EJ0110) Sample code is available to demonstrate many of the concepts.
The hardware User Manual contains the information required to access I/O and peripherals among other things. RH850/F1KM, RH850/F1KH User’s Manual: Hardware (R01UH0684EJ0110) Sample code is available to demonstrate many of the concepts.
See less
What is the difference between HW_SCE_AES_256Ecb Encrypt and HW_SCE_AES_256Ecb Encrypt using encrypted key? The functions seem to have exactly the same code.
What is the difference between HW_SCE_AES_256Ecb Encrypt and HW_SCE_AES_256Ecb Encrypt using encrypted key? The functions seem to have exactly the same code.
Read lessHow to start with Renesas RA MCU? Is there any sample code that relates to AD/DA, 7-segment LED, or any basic coding for Renesas RA series ? I just want to show 1 2 3 4 in my 7segments display.
How to start with Renesas RA MCU? Is there any sample code that relates to AD/DA, 7-segment LED, or any basic coding for Renesas RA series ?
I just want to show 1 2 3 4 in my 7segments display.
Read lessHi Linto, Before starting the work on RA Family MCU, you need to download the software of e2 studio IDE and FSP (Flexible software package) from Renesas website. After installation the software you need to go new stack and select the peripherals what you require then generate the code. Please followRead more
Hi Linto,
Before starting the work on RA Family MCU, you need to download the software of e2 studio IDE and FSP (Flexible software package) from Renesas website.
After installation the software you need to go new stack and select the peripherals what you require then generate the code.
Please follow the below link instruction for getting stating.
file:///C:/Renesas/RA/e2studio_v2021-10_fsp_v3.5.0/fsp_documentation/v3.5.0/fsp_user_manual_v3.5.0/group___a_d_c___a_p_i.html
Thanks & Regards
Shivali Singh
See less
I have recently been toying around a Renesas RH850 and would like to know what virtual channels are useful for ADC? I understand you can assign them to any physical ADC channel, but what is there purpose for that? Why ...Read more
I have recently been toying around a Renesas RH850 and would like to know what virtual channels are useful for ADC? I understand you can assign them to any physical ADC channel, but what is there purpose for that? Why not just read the physical channels?
Read lessThe virtual channels allow us to arrange physical channels in a scan group in any order. Since each virtual channel may be assigned to any physical channel, and scans are in numerical order by virtual channel. We can also assign virtual channels to multiplexed analog inputs. Read more
The virtual channels allow us to arrange physical channels in a scan group in any order. Since each virtual channel may be assigned to any physical channel, and scans are in numerical order by virtual channel. We can also assign virtual channels to multiplexed analog inputs.
See less
I want to use Renesas RH850/F1X series to generate PWM frequency in the range of 25KHz to 50KHz for my application. As per RH850_PWm pdf we can generate max PWM frequency upto 4880Hz with 40MHz. How can I achieve my ...Read more
I want to use Renesas RH850/F1X series to generate PWM frequency in the range of 25KHz to 50KHz for my application. As per RH850_PWm pdf we can generate max PWM frequency upto 4880Hz with 40MHz. How can I achieve my expected PWM frequency when RH850/F1X series support upto 240MHz clock frequency.
Read lessThe PWM module is not only one way to generate PWM signals. Its main purpose is to generate PWM for external devices like LEDs, where low frequencies are acceptable. PWM signals can even be generated using standard timers like TAUx. E.g. TAUDn can run up to 80 MHz (depending on the desired RH850 MCURead more
The PWM module is not only one way to generate PWM signals. Its main purpose is to generate PWM for external devices like LEDs, where low frequencies are acceptable. PWM signals can even be generated using standard timers like TAUx. E.g. TAUDn can run up to 80 MHz (depending on the desired RH850 MCU). The period and pulse width can be adjusted individually. Using an 80 MHz clock supply limit the bit width for the PWM to 10 Bit(80MHz/10Bit=78kHz).
See less
I believe there are several interrupts used in this sample code: Y-ASK-RH850F1KM-S1-V3 Sample Code
I believe there are several interrupts used in this sample code:
Y-ASK-RH850F1KM-S1-V3 Sample Code
See less