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.
Ethernet
How's this issue now? Were you suitable to fix it already? If not yet, maybe you'd like to share your design then so that the members in this forum can see what is causing the issue. Also, there is a question in Wireshark about Malformed Packet BOOTP/ DHCP too, and the issue disappeared when he updaRead more
How’s this issue now? Were you suitable to fix it already? If not yet, maybe you’d like to share your design then so that the members in this forum can see what is causing the issue. Also, there is a question in Wireshark about Malformed Packet BOOTP/ DHCP too, and the issue disappeared when he updated to a newer version of Wireshark. It might help.
See lessRenesas RA6M2 MCU RTC Issue
1. RTC time lag not exactly 1 hr. Some times it was 45 min ,15 min in 9hrs. Time lag mostly occurs in OFF state(Battery is connected). 2. In case of warm start or a hard reset (when VBATT powers RTC in case of power loss), is it need reinitialize RTC clock source? 3. When VBATT powers RTC in case ofRead more
1. RTC time lag not exactly 1 hr. Some times it was 45 min ,15 min in 9hrs. Time lag mostly occurs in OFF state(Battery is connected).
2. In case of warm start or a hard reset (when VBATT powers RTC in case of power loss), is it need reinitialize RTC clock source?
3. When VBATT powers RTC in case of power loss then what is the initialization sequence of RTC after warm start or a hard reset.
See lessESP32- C3-MINI-1 Module First Plant Upload
There either is no firmware in flash, or a testing or AT firmware that is likely not useful. That doesn't matter, however, because: Every ESP32 (including C3, S3, ...) has a hardcoded, unchangable and un-erasable ROM that contains a bootloader that allows you to do these things (as long as you don'tRead more
There either is no firmware in flash, or a testing or AT firmware that is likely not useful. That doesn’t matter, however, because: Every ESP32 (including C3, S3, …) has a hardcoded, unchangable and un-erasable ROM that contains a bootloader that allows you to do these things (as long as you don’t set the efuse to disable them). So whatever firmware the module comes with, you will be able to reprogram it using UART or USB.
See lessHow Led Control with a Button?
Perhaps you should debounce the button, as mechanical buttons bounce, i.e. may produce more than one pulse per button press. There are several techniques to do that, one of the easiest is to connect some small capacitor in parallel to the button, which together with the pull resistor forms some lowRead more
Perhaps you should debounce the button, as mechanical buttons bounce, i.e. may produce more than one pulse per button press.
There are several techniques to do that, one of the easiest is to connect some small capacitor in parallel to the button, which together with the pull resistor forms some low pass filter. The time constant of that filter should be slightly lower than the period of the maximum speed to press that button(e.g.100.200 ms). You’ll find this solution also at the NUCLEO or DISCOVERY boards.
See lessSetting the RTCOUT for R7FA4M1AB3CFM in FSP 3.7.0
Assuming that you have enabled the RTCOUT pin in the pin configuration, add this line of code to your project. R_RTC->RCR2_b.RTCOE = 1; For example: void hal_entry(void) { /* TODO: add your own code here */ fsp_err_t err; err = R_RTC_Open(&g_rtc0_ctrl, &g_rtc0_cfg); if( FSP_SUCCESS != errRead more
Assuming that you have enabled the RTCOUT pin in the pin configuration, add this line of code to your project.
R_RTC->RCR2_b.RTCOE = 1;
For example:
void hal_entry(void)
{
/* TODO: add your own code here */
fsp_err_t err;
err = R_RTC_Open(&g_rtc0_ctrl, &g_rtc0_cfg);
if( FSP_SUCCESS != err )
{
__BKPT(1);
}
err = R_RTC_CalendarTimeSet(&g_rtc0_ctrl, &sys_time);
if( FSP_SUCCESS != err )
{
__BKPT(1);
}
R_RTC->RCR2_b.RTCOE = 1;
while(1);
}
Would have thought that an API may exist for this, or would be enabled by default when you enable the pin in the pin config.
See lessHow STLD40D Driver Work?
Well, the STLD40D is a boost converter. The function is also described in the data sheet, section5.1. It must be taken into account that the converter not only has a min off time, but also a maximum on time. The switch- on moment is particularly interesting firstly there's no FB signal, so the powerRead more
Well, the STLD40D is a boost converter. The function is also described in the data sheet, section5.1.
It must be taken into account that the converter not only has a min off time, but also a maximum on time.
See lessThe switch- on moment is particularly interesting firstly there’s no FB signal, so the power stage is switched on( SW to GND), which charges the boost inductor. As there isn’t yet enough affair voltage to drive a current through the LEDs, pin FB remains zero. still, the maximum on time now kicks in and switches the power stage off again, whereby the energy stored in the boost inductor is delivered to the LEDs at a high voltage and results in a corresponding current and a signal to FB. From now on, FB can regulate normally.
How can I adjust LEDs Brightness with Dimmer?
You can DMA to the io pins (using a indirect buffer, transferring to GPIO output register). I controlled 48 Leds (16 RGB Leds) this way using a STM32L4(100 LQFP package). But this was to give independent brightness situations to each individual Led. But if all Leds are dimmed together (synchronised)Read more
You can DMA to the io pins (using a indirect buffer, transferring to GPIO output register). I controlled 48 Leds (16 RGB Leds) this way using a STM32L4(100 LQFP package). But this was to give independent brightness situations to each individual Led.
But if all Leds are dimmed together (synchronised), also you probably only need a single FET to sink all the Leds current, and use that FET to control the brightness (PWM)
See lessHow Can I Run & Check 36 RGB LED?
There are numerous LED drivers also from STMicroelectronics, e.g. LED1202 LED1642GW etc ( see LED Array Drivers STMicroelectronics) Of course, the correct type depends on several factors, e.g. how you want to control the LEDs( I2C, SPI, etc). With RGB LEDs you'll clearly only switch one LED per chanRead more
There are numerous LED drivers also from STMicroelectronics, e.g.
LED1202
LED1642GW
etc ( see LED Array Drivers STMicroelectronics)
Of course, the correct type depends on several factors, e.g. how you want to control the LEDs( I2C, SPI, etc). With RGB LEDs you’ll clearly only switch one LED per channel, so you should be suitable to get by with one LED driver for 5V.
See lessWhy RA6M2 Take Accurate Second Timekeeper
You need to create the callback in the FSP configurator first, then inside your code create its implementation like this: volatile uint8_t timer_done; ....................... /* Example callback called when timer expires. */ void timer_callback (timer_callback_args_t * p_args) { if (TIMER_EVENT_CRead more
You need to create the callback in the FSP configurator first, then inside your code create its implementation like this:
volatile uint8_t timer_done;
.......................
/* Example callback called when timer expires. */
void timer_callback (timer_callback_args_t * p_args)
{
if (TIMER_EVENT_CYCLE_END == p_args->event)
{
timer_done = 1;
}
}
............................
set_output(OUTPUT1, IO_HIGH);
timer_done = 0;
R_GPT_Start(&g_timer0_ctrl);
while (!timer_done);
R_GPT_Reset(&g_timer0_ctrl);
LDO in bypass mode still controllable by sequencer.
Yes, LDOs 3,4,7,8 and 11 can be set to bypass mode by setting LDO<x>_BYP register to (1) and by setting LDO<x>_AUTO to (1). In sequencing they follow LDO<x> _STEP timing. Please note: Voltage monitoring function cannot be used for any LDO in bypass mode.
Yes, LDOs 3,4,7,8 and 11 can be set to bypass mode by setting LDO<x>_BYP register to (1) and by setting LDO<x>_AUTO to (1). In sequencing they follow LDO<x> _STEP timing.
Please note: Voltage monitoring function cannot be used for any LDO in bypass mode.
See less