Happy to help! So the issue turned out to be a defective MCU?
↧
Forum Post: RE: Rx63n clock source setting problem
↧
Forum Post: RE: Rx63n clock source setting problem
Yeah, a defective mcu which took 3 days away...
↧
↧
Forum Post: RE: RZ/A1 video pipeline
Awesome, Tera. The sample project was very usefull for us to run the video in our project. Best Regards, Ivaylo
↧
Forum Post: RE: RH850 F1KM boot loader
Hi Scott, thanks for your replay.
↧
Forum Post: RE: UART example
Hi GNK- Have you looked at this app note and the associated application project? www.renesas.com/.../r11an0085eu0101-synergy-sci-uart-hal-mod-guide.pdf www.renesas.com/.../D6001595.html I believe the application project uses two boards so it should illustrate a 'real' example, not a loop-back one. Let us know if that is what you are looking for. Warren
↧
↧
Forum Post: RE: UART example
But if it is a "loopback" test with an external loopback of TxD and RxD, isn't that an example of what you need? The recommended appnote is an excellent introduction to the HAL uart framework - I suggest you read it and get back here with questions. You'll learn a lot.
↧
Forum Post: RE: RL78-G13 Jump to Boot from Application query
Hi Aj, There are 2 other possible methods to cause RL78 CPU reset. 1. Execute a code fetch of opcode 0xFF. This is the only illegal instruction in the RL78 opcode space. The downside of this method is if you are in debug mode, the debugger will enter break mode and stop running. So this method is mainly used for release/stand-alone code execution, when option byte 000C3H = 0x04. 2. A 2nd method would be to attempt a memory write operation to code flash memory, with IAWCTL register bit IAWEN set to 1 (Enable the detection of invalid memory access). Invalid memory access RESET also occurs if attempting a read a memory location between addresses 0x80000 and 0xEEFFF, since there is no Code flash memory here. (see the RL78 HW user's manual, Safety Functions chapter). Regards, MikeC.
↧
Forum Post: RE: Reset vector RLl78-G13
Aj, The reset vector is in the first 2 bytes of Code flash: Address 00000H: low byte of Start address Address 00001H: High byte of Start address Regards, MikeC
↧
Forum Post: RE: LED plus 1 to be written in the interrupt Please help
Hi 工程師, Can you provide more information regarding your issue or explain what's the issue about? JB RenesasRulz Forum Moderator https://renesasrulz.com/ https://academy.renesas.com/ https://en-us.knowledgebase.renesas.com/
↧
↧
Forum Post: Interfacing SD card with RL78
Hi, i want to interface SD card to R5f100FE in my application. Please help me
↧
Forum Post: Simple Program to Display "Hello World" on RX65N Envision Kit
I have the RX65N Envision Kit and the demo itself is working as advertised out the box. However, I would like to rewrite it with a simple program and display "Hello World". I am having trouble and any help to get this running would be greatly appreciated! I made the following program modification to the "MainTask_EnvisionKit.c" file in Application folder in directory \RX65N Envision Kit\rx65n_envisionkit\standard\RX65N_EnvisionKit\src\src\Application I am getting errors when I build the project on e2 studio (Version 6.2) with Renesas RX Compiler V2.07.00. //Program in green #include "DIALOG.h" #ifndef WIN32 #include "platform.h" #include "r_gpio_rx_if.h" #include "r_usb_basic_if.h" #include "r_usb_hmsc_if.h" #include "r_tfat_lib.h" #endif #define MAINTASK_ENVISIONKIT #include "EnvisionKit.h" #include "Resource.h" #include "LCDConf.h" #ifndef WIN32 FATFS fatfs; #endif void MainTask_EnvisionKit(void) { GUI_Init(); LCDCONF_EnableDave2D(); WM_MULTIBUF_Enable(1); BUTTON_SetReactOnLevel(); InitUpdate(); StartScreen(); GUI_SetBkColor(GUI_BROWN); GUI_Clear(); GUI_SetColor(GUI_YELLOW); GUI_DispStringAt("Hello World!", 0,0); while (1) {} } I am getting the following error messages shown in Red Description Resource Path Location Type F0563300: Cannot open file : ".\src\smc_gen\r_flash_spi\src\driver_interfaces\rx_fit_rspi\r_flash_spi_drvif_dev0.obj" serialflash_writer_rx65n C/C++ Problem F0563430: The total section size exceeded the limit RX65N_EnvisionKit C/C++ Problem F0563430: The total section size exceeded the limit rx65n_envision_kit_demo C/C++ Problem make: *** [rx65n_envision_kit_demo.abs] Error 1 rx65n_envision_kit_demo C/C++ Problem make: *** [RX65N_EnvisionKit.abs] Error 1 RX65N_EnvisionKit C/C++ Problem make: *** [serialflash_writer_rx65n.abs] Error 1 serialflash_writer_rx65n C/C++ Problem RX65N Envision Kit Demo Firmware with Source Code https://www.renesas.com/en-us/software/D6001908.html www.renesas.com/.../rx65n-envision-kit.html
↧
Forum Post: RL78 Data Flash
Hello, how can i write in Data FLash . Can i found code samples with usage of RL78/L1C data flash? Thanks
↧
Forum Post: RE: what's different in RSPI, SPI and simple SPI
Hi, The difference between RSPI ansd simple SPI is down to the peripheral being used. RSPI is a dedicated SPI peripheral on the device. The SCI (Serial Communication Interface) peripheral also supports a more basic feature set of SPI and is called simple SPI. The hardware user manual will detail the features offered by each peripheral so you can use this to choose which driver to use. From an application point of view there is no difference as they share the same API. Ian.
↧
↧
Forum Post: RE: what's different in RSPI, SPI and simple SPI
Hello black, SPI is the connectivity protocol implemented by 2 different peripherals on all Synergy devices: RSPI (often referred to as SPI) and SCI (in Simple SPI mode). Let me start by saying that for 95% of the cases either peripheral will do the job and pin selection should be the deciding factor (it's also worth noting that pin choices for RSPI channel 0 and SCI channel 0 one another). Both peripherals: * Support operation with DTC * Support master and slave operation * Support all 4 clock phase/polarity modes * Use the same API (should you decide to exchange one driver for another, code can stay unchanged provided instance name is the same) Simple SPI on SCI peripheral: * Cannot drive the SSL pin in master mode (it's input-only for slave operation; this isn't a problem as most applications, including SPI Framework, drive SSL pin through IOPORT driver rather than the peripheral) * Can operate up to the bit rate of PCLKA/4 (however operation at PCLKA/8 is recommended for sustained transfer rate) * Supports 8-bit transfer mode only (data is not grouped into words or halfwords) SPI on RSPI peripheral (which is a dedicated SPI peripheral): * Uses 128-bit receive and transmit buffers * Has control of the SSL pin when in master mode - calling SPI functions will change state of this pin automatically (this can be disabled by unassigning this pin from SPI function) * Can operate up to the bit rate of PCLKA/2 (for PCLKA up to 60MHz) or PCLKA/4 (for PCLKA above 60MHz) on S5 and S7, PCLKA/2 or 16MHz (whichever one is less) on S3 and PCLKA/2 on S1 * Supports 8, 16 and 32-bit transfer modes in the driver (and many more at the hardware level) * Allows you to relax the timing by inserting additional clock and SSL cycles * Provides other advanced features such as bit order swapping, endian swapping (S5 only) or loopback mode. Regards
↧
Forum Post: RE: Global Pen Down Event in GUIX
Hi Tim, I assumed hastily that you would like to activate the buzzer as reaction to the events coming from widgets of only one type. In case of widgets of various types with common event function name an error occurs during the build process ("error: conflicting types for ' '"). To solve this problem the _specifications.h file, generated with GUIX Studio, needs to be modified manually - please replace the generated function declarations with a declaration which uses GX_WIDGET * type for its first parameter: Generated by GUIX Studio (causing an error): UINT common_event_function(GX_TEXT_BUTTON *widget, GX_EVENT *event_ptr); UINT common_event_function(GX_MULTI_LINE_TEXT_BUTTON *widget, GX_EVENT *event_ptr); Modified: UINT common_event_function(GX_WIDGET *widget, GX_EVENT *event_ptr); Please note that any changes, which you have made in the _specifications.h file manually, will be lost when you generate output files with the GUIX Studio again. Best regards, anper
↧
Forum Post: Problem of communication lin
Hi all, I am working with ni usb lin 8476 and i want to run some functionality on an lin product by sending frames to that product using the demo application of labview "Lin master send full frame and receive" .But the problem is that whenever i send any frame the responce in always" LIN BUS inactive",i verify the connection of the ni usb 8476 and it is correct , what that should be the problem ? Please help. I did not find the right solution from the internet. References:- https://bit.ly/2JOtFrq [url=https://blog.advids.co/20-top-b2b-digital-marketing-and-advertising-campaign-examples/]B2B Marketing Campaign Examples[/url] Thanks
↧
Forum Post: Problem of communication lin
Hi all, I am working with ni usb lin 8476 and i want to run some functionality on an lin product by sending frames to that product using the demo application of labview "Lin master send full frame and receive" .But the problem is that whenever i send any frame the responce in always" LIN BUS inactive",i verify the connection of the ni usb 8476 and it is correct , what that should be the problem ? Please help. I did not find the right solution from the internet. References:- https://bit.ly/2JOtFrq B2B Marketing Campaign Examples Thanks
↧
↧
Forum Post: Problem of communication lin
Hi all, I am working with ni usb lin 8476 and i want to run some functionality on an lin product by sending frames to that product using the demo application of labview "Lin master send full frame and receive" .But the problem is that whenever i send any frame the responce in always" LIN BUS inactive",i verify the connection of the ni usb 8476 and it is correct , what that should be the problem ? Please help. I did not find the right solution from the internet. References:- https://bit.ly/2JOtFrq B2B Marketing Campaign Examples Thanks
↧
Forum Post: DK-S7G2M: Initialization of USB-Mass-Storage-Device kills Network
Hi, I have an application where a webserver and an USB-mass-storage-device should share the access to a MMC-filesystem. Both modules separate works fine. I can access files via the webserver or via the USB-interface if I initialize only one of them. But if I initialize the USB-device, the network goes dead. No ping response and no connection to the webserver furthermore. The USB-device works normal at this point. I attached a stripped version of my project, where the network is initialized immediately but the USB-device after 20 seconds. Within this twenty seconds the network-access is functional, after initialization of the USB after 20 seconds the network goes down. I hope that someone can find my failure and help to bring both modules work together. A second question. In this application I need a second USB-mass-storage-device (applicated as second drive on the PC). What have I to do to create two independent USB-devices. The transfer-functions for this device I've already tested. I can access both memory areas separate if I use the appropriate transfer-functions. But I can at the moment only create one device at a time and found no possibility to create a second. Any hints? (Please visit the site to view this file)
↧
Forum Post: Difficulty connecting to PCAN-LIN tool
Hi all, I am trying to set up a CAN to LIN link but am having difficulty making progress due to difficulties with the PCAN-LIN configuration tool. It takes me about 10 attempts to connect to the PCAN device via my Laptops serial port (baud rate 38400). Eventually it will connect - usually after power cycling the device a few times- and works properly for a period of time before eventually the connection breaks. Often when the connection breaks my laptop crashes and sometimes even shuts down all together. This behaviour is extremely frustrating as when the tool does work it works quite well. The error message I see is "Port connected but module not respond".When the the tool does connect I have a further problem. When I connect the PCAN device directly to my CANUE CAN simulator tool I am able to see CAN messages received through the configuration tool. However when I connect in the rest of the CAN network I stop receiving messages through PCAN despite the rest of the network functioning correctly. Any help with these issues greatly appreciated I did not find the right solution from the internet. References:- www.peak-system.com/.../viewtopic.php Marketing Communication Video Thanks
↧