Legacy microcontrollers Forum Discussions
Legacy microcontrollers
Capture T5 question in XC2000Hello when I use “GPT2 Capture/Reload Register CAPREL in Capture-And-Reload Mode” Function in XC2000,I set as follows1) T...
Show More
Capture T5 question in XC2000
Hello when I use “GPT2 Capture/Reload Register CAPREL in Capture-And-Reload Mode” Function in XC2000,I set as follows
1) T5 Count Up
2) Any edge change of T3IN and T3EUD(Motor Hall Sensor Input) Trigger Capture T5 into CAPREL,and Clear T5 .
But when I Draw the value of “CAPREL”, It looks like CAPREL is equal to ZERO sometimes.Why Is that? Is Any spike input from T3IN and T3EUD,or any other reason?
Thanks! Show Less
Hello when I use “GPT2 Capture/Reload Register CAPREL in Capture-And-Reload Mode” Function in XC2000,I set as follows
1) T5 Count Up
2) Any edge change of T3IN and T3EUD(Motor Hall Sensor Input) Trigger Capture T5 into CAPREL,and Clear T5 .
But when I Draw the value of “CAPREL”, It looks like CAPREL is equal to ZERO sometimes.Why Is that? Is Any spike input from T3IN and T3EUD,or any other reason?
Thanks! Show Less
Legacy microcontrollers
Capture T5 question in XC2000Hello when I use “GPT2 Capture/Reload Register CAPREL in Capture-And-Reload Mode” Function in XC2000,I set as follows1) T...
Show More
Capture T5 question in XC2000
Hello when I use “GPT2 Capture/Reload Register CAPREL in Capture-And-Reload Mode” Function in XC2000,I set as follows
1) T5 Count Up
2) Any edge change of T3IN and T3EUD(Motor Hall Sensor Input) Trigger Capture T5 into CAPREL,and Clear T5 .
But when I Draw the value of “CAPREL”, It looks like CAPREL is equal to ZERO sometimes.Why Is that? Is Any spike input from T3IN and T3EUD,or any other reason?
Thanks! Show Less
Hello when I use “GPT2 Capture/Reload Register CAPREL in Capture-And-Reload Mode” Function in XC2000,I set as follows
1) T5 Count Up
2) Any edge change of T3IN and T3EUD(Motor Hall Sensor Input) Trigger Capture T5 into CAPREL,and Clear T5 .
But when I Draw the value of “CAPREL”, It looks like CAPREL is equal to ZERO sometimes.Why Is that? Is Any spike input from T3IN and T3EUD,or any other reason?
Thanks! Show Less
Legacy microcontrollers
Hello,As a follow up on the previous post:Can sombody provide me with the ROM code, or the the usefull subroutines (and parameters)in this code?
Show More
Hello,
As a follow up on the previous post:
Can sombody provide me with the ROM code, or the the usefull subroutines (and parameters)
in this code? Show Less
As a follow up on the previous post:
Can sombody provide me with the ROM code, or the the usefull subroutines (and parameters)
in this code? Show Less
Legacy microcontrollers
I know that DPP means Data page pointer ,but there are too little introduce about how to use DPP in XC2000 User maual,could you pls offer some useful ...
Show More
I know that DPP means Data page pointer ,but there are too little introduce about how to use DPP in XC2000 User maual,could you pls offer some useful APP,or introduce DPP in detail?
It seems that DPP always assumed in assemly?
Thanks! Show Less
It seems that DPP always assumed in assemly?
Thanks! Show Less
Legacy microcontrollers
DearI know that DPP means Data page Pointer ,but there is too little description about how to use DPP in User Manual, Could you pls offer some APP.or ...
Show More
Dear
I know that DPP means Data page Pointer ,but there is too little description about how to use DPP in User Manual, Could you pls offer some APP.or Introduce DPP in Detail?
by the way ,It seems that DPPx are always Assumed in Assemly ?
Thank you for your help! Show Less
I know that DPP means Data page Pointer ,but there is too little description about how to use DPP in User Manual, Could you pls offer some APP.or Introduce DPP in Detail?
by the way ,It seems that DPPx are always Assumed in Assemly ?
Thank you for your help! Show Less
Legacy microcontrollers
Hello. I'm trying to find a XC2000 family microcontroller with 12-bit AD converter. It's difficult because in the parameter search tool we can't selec...
Show More
Hello.
I'm trying to find a XC2000 family microcontroller with 12-bit AD converter.
It's difficult because in the parameter search tool we can't select option
between 10-bit or 12-bit AD converter.
Do you have a list of XC2000 with 12-bit AD converter?
thanks a lot for your help! Show Less
I'm trying to find a XC2000 family microcontroller with 12-bit AD converter.
It's difficult because in the parameter search tool we can't select option
between 10-bit or 12-bit AD converter.
Do you have a list of XC2000 with 12-bit AD converter?
thanks a lot for your help! Show Less
Legacy microcontrollers
Hello,I have a question about the efficiency of the Keil C compiler (V7.00e) when compiling for maximum speed of multiplication, division and addition...
Show More
Hello,
I have a question about the efficiency of the Keil C compiler (V7.00e) when compiling for maximum speed of multiplication, division and addition operations. I need to ensure the compiled code for these mathematical operations is efficient and fast.
Does anyone know if there is documentation available which explains how to optimize the Keil compiler for fast multiply and divide operations? Are there any examples of how Keil compiles diffferent mathematical operations for the XC2000 and the correct syntax to use?
An example of the type of calculation required is given below:
(16bit result) = ((16bit input) * 123) / 4567
Can Keil take advantage of the MAC unit in the XC2000 core to perform the 16bit x 16bit multiplication above?
Thanks,
Chris Show Less
I have a question about the efficiency of the Keil C compiler (V7.00e) when compiling for maximum speed of multiplication, division and addition operations. I need to ensure the compiled code for these mathematical operations is efficient and fast.
Does anyone know if there is documentation available which explains how to optimize the Keil compiler for fast multiply and divide operations? Are there any examples of how Keil compiles diffferent mathematical operations for the XC2000 and the correct syntax to use?
An example of the type of calculation required is given below:
(16bit result) = ((16bit input) * 123) / 4567
Can Keil take advantage of the MAC unit in the XC2000 core to perform the 16bit x 16bit multiplication above?
Thanks,
Chris Show Less
Legacy microcontrollers
I'm using the XC888-8FF with my students for basic microcontroller training and small projects (thesis).In the process of learning, students (and prof...
Show More
I'm using the XC888-8FF with my students for basic microcontroller training and small projects (thesis).
In the process of learning, students (and professors alike) write faulty programs.
One of my students, on testing such a program, activated FLASH protection.
I assume this is because he accidentally activated ROM code.
The problem is that once the FLASH is protected, there is now way to deactivate this, unless you know
the password. Since the protection was activated by a faulty program, we do not know wat this password is.
I would like to know:
-is there a general password that can be used to erase the device, and make it usable again?
-is there any option in FLOAD ore MEMTOOL, to deactivate the protection and erase the device, without password?
If this is not the case, the only option is to replace the device.
For the infineon reader: you have equipped the device with a watchdog to reboot when somthing (power glitch?)
disturbed normal program flow. This could also activate ROM code, and thus making the device unaccessible for
the user..... Show Less
In the process of learning, students (and professors alike) write faulty programs.
One of my students, on testing such a program, activated FLASH protection.
I assume this is because he accidentally activated ROM code.
The problem is that once the FLASH is protected, there is now way to deactivate this, unless you know
the password. Since the protection was activated by a faulty program, we do not know wat this password is.
I would like to know:
-is there a general password that can be used to erase the device, and make it usable again?
-is there any option in FLOAD ore MEMTOOL, to deactivate the protection and erase the device, without password?
If this is not the case, the only option is to replace the device.
For the infineon reader: you have equipped the device with a watchdog to reboot when somthing (power glitch?)
disturbed normal program flow. This could also activate ROM code, and thus making the device unaccessible for
the user..... Show Less
- « Previous
- Next »