-
If you're referring to a dedicated chip with this kind of functionality, it doesn't seem like there's ......Generally, the communication and PWM output functions of the chip are independent of each other. For example, the single-chip microcomputer with PWM output function has its own PWM output function to control the duty cycle of the PWM output through programming; I2C interface control should also be handled by the corresponding communication protocol program. The frequency of 1kHz is not high, and many single-chip microcomputers can reach more than ten K.
-
You can take a look at TI's power management chips.
-
Automotive ECU programming is done in assembly language, though.
It can be replaced by C, and the underlying stuff needs hardware support.
The simplest way of car ECU is to convert the storage program chip, when replacing the chip of different programming, as long as the back plate of the ECU is disassembled, the original chip is unplugged and replaced with a new chip, because some of the old E-ROM chips can only be written to the program once, so after each modification of the program, the program must be burned into the blank chip to replace the original chip with a recorder.
Many new ECUs use a Flash-ROM (flash memory) chip that can be read and written many times, which can be loaded directly without replacing the blank chip when modifying the program, which is much more convenient than E-ROM.
Regardless of the form of chip, the original manufacturer and the chip modder will add a protection design to prevent it from being decoded and stolen, so when modifying, the chip modification dealer must first upload the data of each car to the chip modder to authenticate the body number, ECU number, year and specifications. After the data is confirmed, the relevant program is transmitted to the dealer's computer, and the technician then uses the recorder to write the data to a blank chip or through the socket used to connect to the original test computer, and update the Flash-ROM chip program in the ECU.
-
Basic computer programming language C language.
-
There is a rule in programming languages: the easier it is to master and use, the narrower the application surface, the larger the program volume, and the lower the running speed; The more versatile it is, the less versatile; The reverse is true.
The program space for chip programming is very limited, and the I-O interface is complex and diverse......We always want to have the smallest volume and the fastest speed, so we can only focus on assembly, because only assembly can achieve the smallest (program) volume, the fastest (running) speed and the most flexible IO interface, which is the foundation and foundation of all programming languages. If you don't take into account the shortcomings, it's clearly the most desirable language. The disadvantages are that programming is the most difficult, the programming efficiency is the lowest, the development time is the slowest, and the development cost is the highest; And different chips have different assembly languages.
Compared with assembly, C language is relatively easy to learn, and the programming and development efficiency is obviously superior, and it is widely popularized. Although the volume and speed of the generated program are not as good as assembly, they are better than other high-level languages, and in many cases they are acceptable, especially in today's world when the cost of chips is decreasing year by year, and it is also increasingly used for the development of graphical interfaces for chip programs.
-
All of them are CCS programming.
CCS has two modes of operation:
1.Software simulator mode: It can be separated from the DSP chip to simulate the instruction set and working mechanism of the DSP on the PC, which is mainly used for the implementation and debugging of the algorithm in the early stage.
The CCS development system consists of the following components:
Integration** generation tools;
integrated development environment;
real-time kernel plug-ins and their API APIs;
4.Real-time data exchange RTDX plug-in and corresponding programming interface API;
5.A variety of application module plug-ins are provided by third-party TI companies.
-
Boot loading of the DSP system refers to the process in which the system transplants a section of ** stored in the external non-volatile memory to the high-speed RAM of the internal DSP and executes it after the system is powered on.
Therefore, the performance of external non-volatile memory and DSP is particularly important in boot loading systems.
Flash memory is a high-density, non-volatile, electrically rewritable memory.
In addition, the ** per unit memory bit is lower than that of traditional EPROM, so it is very suitable for external memory.
Before the system can be powered on, the bootloader and user program must be written into the flash.
When programming, in addition to the dedicated hardware programmer that can be used to program the Flash, the Flash usually supports DSP software programming to achieve the same function.
When the system is powered on, the bootloader is generally run in Flash first, and it completes the porting operation of the user program by itself, and then the user program is transferred to the DSP chip by the DSP high-speed operation.
-
Like DSPC2000, C6000, etc., most of them use CCS as the development environment, C, C++, and assembly are combined, of which C is the main programming language, C++ is mostly used for definition, and assembly is mostly mixed with C.
-
Basically, I use TI's CCS, C language and assembly, but now many of them only know C language, C language is easy to get started, and I have learned it in school, so I have a certain foundation.
I think the compilation of DSP is still difficult.
-
Altera's Quartus, simple and easy to use.
Lattice's isplever is not very easy to use, if you have to use Lattice, it is recommended to use a new software, such as called Diamond, which is better than isplever
-
Lattice has never used it, his market share is too low, but whichever company's products are used, don't use other companies' development platforms. However, it is recommended to use Altera or Xinlinx in the future. In China, the ISE factor of xinlinx should be the most.
-
Would you like, C C++ is a language that is good for writing hardware drivers.
-
It is generally used in assembly, but also in C.
What language is PLC written in?
Use a ladder diagram, or a sequential chart, to a command table.
The difference is that the ladder diagram is more intuitive and simple, so it is easier to learn than single-chip microcomputer programming, and the PLC is also more stable, but the cost is slightly higher than that of single-chip microcomputer.
Programming languages are like different national languages, they are designed to communicate with humans and machines.
-
No matter how much you see, it's useless, typical eye-to-eye and hand-in-hand. You should first knock on the examples as they are, slowly experience them, and then try to write simple ones yourself, then learn from other people's writing complex ones, and finally program independently.
-
At this point, it's time to take a look at the chip's hardware. If you have a routine, you only need to modify some of the routines. Take your time, write more, and you'll know the routine.
-
Do you want to learn microcontrollers? It's mainly about some operations on registers and pins and some algorithms, in fact, whether it's learning microcontroller programming or software, the most important thing is the algorithm, and after you understand some algorithms, these are very easy to get started, it's the idea.
-
Just one thing: write more programs.
Even if it's just one program written all afternoon.
scl=0;Pull down the clock line and prepare to receive the data, otherwise you won't be able to make the first rising edge in the later loop. >>>More
Dell home series is inside, as long as it is in the early 3000s, the memory can be added by yourself, 2G is only in the early 100s, but you have to buy it online, and it takes a long time. >>>More
Well, it feels like you're suffering, and you need to communicate more with your family, starting from the heart, chatting simply, and then giving them analogies from simple things. Since I live in this family, it's not good to leave this home too much, or whatever. It's better to think of a way, everyone expects their home to have a bit of a family atmosphere, a taste of home, and be reasonable in everything you do. >>>More
I don't agree with the point of view upstairs, I think what you want to say about the problem of social comparison, there are similar experiments in social psychology, which is similar to the concept of the social self, and we start social comparison as soon as we are born. When you were just born, it is estimated that your family may say, look at my child, white and fat, compared to who's family, how and how, hehe, this is normal. However, if we lose a fixed object of comparison, we will also unconsciously compare social norms. >>>More
Generally excellent people will be jealous of people who are better than themselves, but there are also those who are excellent but have a degree, relatively speaking, women are more jealous than boys, but the girls in the text don't have to be like this, the general primary school and junior high school students who study well, in high school it is not necessarily, especially girls, but boys are different, they are more mature than girls, most of them will play their own ability level in junior high school and high school, and most of them will surpass girls! So girls don't have to mind, they still focus on their studies, and the gap won't be too big in the future!