Quantcast
Channel:
Viewing all 59170 articles
Browse latest View live

Forum Post: TimeStamp for Transmitted Messages

$
0
0
Hi all, Can anyone help me out in getting Timestamps of Transmitted CAN Messages ?My target is to Log the Timestamps of both Tx & Rx Messages during the Execution.I thought that there will be a mismatch b/w Rx & Tx timestamps if I use CPU time to get the Tx Timestamp and Rx Timestamp from CAN_Read() API of PCANBasic() Class.Is there any API present in PCANBasic() Class that can get the Timestamp of a Transmitting message? Or in any new Versions of PCANBasic, this kind of Feature is there or not ? Please help. I did not find the right solution from the internet. References:- www.peak-system.com/.../viewtopic.php SaaS Product Marketing Thanks

Forum Post: PCAN-USB does not work on a device

$
0
0
Hi all, I have the drivers for PCAN-USB installed. When I plug in the device, it also pops up in Device Manager. However, PcanView does not find the device.On another computer, it works without problems ... What could be the malfunction on my computer? Please help. I did not find the right solution from the internet. References:- www.peak-system.com/.../viewtopic.php B2B Content Video Thanks

Forum Post: N-ch open drain output (VDD tolerance) & TTL input buffer.

$
0
0
hi, i am getting started with renesas and currently studying RL78I1B hardware manual. i have few queries >> some of the output pins can be set in N-ch open drain output. what is the advantage of it and how it works? in which cases i should use it ? >>In pin block diagram of port 6 there is no supply(Vdd) for PIN I/O buffer , so does that mean it can only produce two output states Ground and HIGH Z(floating) and its output cant be set high? if it can be set high then how when there is no Vdd in block diagram? >> why there is requirement of TTL input buffer at input pin ?

Forum Post: RE: link errors

$
0
0
Hi Kevin, You are right, thanks!

Forum Post: RE: AMS ENS210 sensor on SK-S7G2

$
0
0
Thanks. I ended up using SCI2 with pins P302/301. I'm first testing the sensor by printing to the debug console. So far the I2C checks out but when it comes to the ENS sensor it's failing in the Open function. I'm using a reference source code. ssp_err_t ENS210Open(i2c_master_instance_t * const i2c, uint8_t address) { ssp_err_t error; // Disable Low Power Mode error = ENS210SetSystemControl (i2c, address, 0x00); if (error != SSP_SUCCESS) return error; // Wait for sensor to be active uint8_t status = 0; TimerSleepMs (50); error = ENS210GetSystemStatus (i2c, address, &status); while ((status & 0x01) == 0) { printf ("."); TimerSleepMs (50); error = ENS210GetSystemStatus (i2c, address, &status); if (error != SSP_SUCCESS) return error; } // Enable Continuous Measurements error = ENS210SetSensorRunMode (i2c, address, 0x03); if (error != SSP_SUCCESS) return error; // Start R & H Measurements error = ENS210SetSensorStart (i2c, address, 0x03); if (error != SSP_SUCCESS) return error; return SSP_SUCCESS; } ssp_err_t ENS210SetSystemControl(i2c_master_instance_t * const i2c, uint8_t address, uint8_t const systemControl) { return I2CWriteRegister (i2c, address, ENS210RegisterAddresses.SYS_CTRL, systemControl, false); } It appears to fail at the first line of the Open function: error = ENS210SetSystemControl (i2c, address, 0x00); if (error != SSP_SUCCESS) return error; Looking at the I2CWriteRegister function: ssp_err_t I2CWriteRegister(i2c_master_instance_t * const i2c, uint8_t slaveAddress, uint8_t registerAddress, uint8_t data, bool const restart) { uint8_t slaveData[2] = {registerAddress, data}; // Write single byte to slave return I2CWrite (i2c, slaveAddress, (uint8_t * const ) slaveData, 2, restart); } In my I2CWrite function there is an error when it comes to setting the address of the slave device. ssp_err_t I2CWrite(i2c_master_instance_t * const i2c, uint8_t slaveAddress, uint8_t * const data, uint32_t const length, bool const restart) { // Set the slave address to the device we want to talk to. i2c->p_ctrl->info.slave = slaveAddress; // Write data to the slave return i2c->p_api->write (i2c->p_ctrl, data, length, restart); } I did some research and found that info.slave was used in an older version of SSP. What would be recommended way to set the slave address for 1.2.0? This is how my thread/driver is configured. Thank you.

Forum Post: RE: UART example

$
0
0
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: N-ch open drain output (VDD tolerance) & TTL input buffer.

$
0
0
Port pins P60, P61 and P62 have open drain outputs. Normally you need to place a Pullup resistor on each Open drain pin if you plan to use them as outputs. You are correct if you program the P6 pin to OUTPUT and High (1) state, it will also be HI-Z impedance. If no pullup resistor is connected, and since the input buffer is still connected this can cause a floating condition on the Input buffer. When an input buffer is floating, the input buffer has P-ch and N-ch transistors that can both be conducting at the same time causing internal leakage and damage. So Port 6 pins should not be left floating. The advantage of the Port 6 open drain pins is you can use them to interface an RL78 MCU using VDD = 3V or lower voltage to another MCU or peripheral with a higher voltage power supply and logic levels (up to 5.5V max) without damaging the lower voltage RL78 MCU. You would put pull-up resistors on Port 6 pins with those resistors tied to the higher voltage supply, even if the RL78 MCU is powered by 3V. For example, I2C serial interface IICA0 is located on P6.0 and P6.1 pins. You can use this I2C interface on a 3V RL78 MCU system to communicate with a 5Volt I2C port on external MCU or peripheral. The TTL input level is an optional setting that can be used for intefacing the RL78 at 5V to an external peripheral with lower voltage supply/logic levels. In this case, if RL78 MCU is powered with VDD = 5V, you could use a TTL level input port tied to an external chip with 3V maximum output high level. TTL VIH level is 2.4V minimum so 3V CMOS output swing is compatible with TTL input on RL78 MCU with VDD = 5V. -MikeC

Forum Post: RE: RL78 Data Flash

$
0
0
Hi, You will need to download one of the RL78 FDL data libraries (FDL T01, T02 or T04) and choose one to use. If using CS+ IDE, download the FDL/EEL Japanese release. If using e2studio IDE, or IAR EWRL78, download the European release at www2.renesas.eu/.../ . However, first you will need to register with Renesas to obtain a login to access the libraries. When registering, you should use you actual company email address. (personal email addresses not accepted), and your company must be entered into the sales data base by your local Renesas sales contact. Some RL78 FDL (data flash) code examples can be downloaded from the RL78 sample code area. Regards, MikeC

Forum Post: RE: Reading of Option Bytes on RH850/F1H

$
0
0
Hi Vidyesh, Were you able to comfirm if the Option Byte 8 from the PE Core is readable? JB RenesasRulz Forum Moderator https://renesasrulz.com/ https://academy.renesas.com/ https://en-us.knowledgebase.renesas.com/

Forum Post: RE: Interfacing SD card with RL78

$
0
0
If you go to RL78 Sample download area: www.renesas.com/.../D3017506.html Download RL78/G14 Sound Playback/Compression Demonstration for RL78/G14 CPU Board an_r20an0194ej0102_rl78_s2_sound app note and sample project contains an MMC Software driver Even though the listed target MCU is RL78/G14, the SW driver can be used on RL78/G13 You will need a MyRenesas registration to download Software. -MikeC

Forum Post: RE: N-ch open drain output (VDD tolerance) & TTL input buffer.

Forum Post: Subatomic particles

$
0
0
Hello, I would like to create an inventory of all the fundamental particles. I'm getting entirely lost in the forest. Could you check these facts for me?There are 40 basic baryons total (20 spin-1/2; 20 spin-3/2). There are 32 basic mesons total (17 pseudoscalar; 15 vector). Also, what is the theoretical merit of exotic baryons, exotic mesons, glueballs, tetraquarks, hybrid mesons, etc? Antiparticles are truly to be considered a completely different particle type from their counterpart, correct? Eg, we recognize that "flew" is just a modification of the word "fly". Is it similar with antiparticles, or must they be considered a totally different form of matter? Does each color of quark constitute a different type of particle, or just a different characteristic of a fundamental particle type? Please help. I didn't find the right solution from the Internet. References: https://bit.ly/2FNC3om Cryptocurrency Animation Video Thanks

Forum Post: Inclusive Computer Device

$
0
0
Hello, After a few days of reflection and consideration about possible routes to channel within this wide and open brief. I started to think about the path of the computer and how in just a few decades it has become a huge part of everyday lives not only in the workplace but at home. The technology has advanced at such a rate and only continues to gather more pace, so what about the people who haven't kept up? Some members of society haven’t been brought up using computers from an early age or they haven’t been part of the current generation where computers have slowly and seamlessly integrated into most working industries. This careful transition has allowed them to hone their computer skills to an extent where a computer is an essential commodity in the running of their everyday lives i.e. work, play, socialising etc. For more details: Decentralized system marketing examples Thanks

Forum Post: Are subatomic particles spherical?

$
0
0
Hello, We are very used to see diagrams of atoms as being composed by little spheres each one with their own characteristics, such as mass, electrical charge, etc. I have also read and heard in many different scientific divulgation media about the scale of the nucleus’ dimension and the size of the electrons’ orbit. Some authors even compare the size of the nucleus in relation to the size of the atom with an scale analogy as comparing a tennis ball in the center of a football stadium, being the tennis ball the nucleus and the electrons then would move in an orbit at a distance equivalent to the outer walls of the stadium. Please help. I didn't find the right solution from the Internet. References: https://bit.ly/2KDP3kj Bitcoin Payment Advertising Thanks

Forum Post: Badge Design Contest

$
0
0
Hello, Got some L33T Photoshop skills? Want to see your work hanging around a couple hundred gamers necks during Quakecon? Every year, we sell badges to fund the forums (hosting, game servers, forum support). We have made them in the past, cloaked in secrecy and darkness behind the scenes, but this year we wanted to bring it back to the community and give everyone an opportunity to showcase their skills and have a choice in the final design. As this Quakecon is changing venues back to the Gaylord, we have decided on a theme this year...."New Beginnings". Cheesy? Definately. But these are Forum Whore badges we are talking about. What else would you expect? Please help. I didn't find the right solution from the Internet. References: https://bit.ly/2KAARbA P2P currency example Thanks

Forum Post: Eyther_phy.c and using a new phy.

$
0
0
Hello Forum, So on out latest board we change from the microchip 8081 (the phy on the SK board) to the Microchip 8863RLL part. Microchip told us that is was a drop in replacement part (other than wiring)and no code would need to be changed. So far no so true. The problem found at this point is the initial boot where on line 100 of ether_phy.c a soft reset is sent. The new 8863 part does not support soft reset and so the driver hangs until the timeout is reached and then no communications to the phy work. The ethernet does not come up. The question is if I comment out that soft reset test and knowing that its not supported how will this affect the overall use of the netX code? Its only ever used at this one spot in the ether_phy.c code. Also knowing that Ill need to set that file to read-only so that the configurator does not rewrite that file each time the generate project content button is pressed. Not knowing much about the lower lever ethernet code, are there any other places I should be looking at as other possible areas of incompatibility otr trouble? Thanks for any comments and help! Matt

Forum Post: RE: Simple Program to Display "Hello World" on RX65N Envision Kit

$
0
0
Jason, What specifically did you modify in the code? Mike Clements RenesasRulz Moderator

Forum Post: RE: Kernel Crash while recording and playing using alsalib commands arecord and aplay

$
0
0
This thread will be archived due to inactivity. Mike Clements RenesasRulz Moderator

Forum Post: RE: DTMF Generation Sample Code/Library for RL78

$
0
0
This thread will be archived due to inactivity. Mike Clements RenesasRulz Moderator.

Forum Post: RE: RL78 Tau input pulse measurement 0% and 100% duty issue

$
0
0
This thread will be archived due to inactivity. Mike Clements. RenesasRulz Moderator
Viewing all 59170 articles
Browse latest View live