Legacy microcontrollers Forum Discussions
Hello,
with the manuals/documentation and PDL examples I try to write a controler for BLDC. The goal is to have 3 current channels and up to 6 further channels for e.g. temperature measurement hardware triggered.
The idea is to configure the MFT as up/down counter to generate the 3 PWM signals, or even 6 for High/Low side. At a given pointer after writing to the PWM cycle register, the ADC channel scan must be started using the MFT (FRT, OCU, WFG). This means, both must be configured properly. In ideal the DMA stores the channels and I'm able to use the samples to calculate physicals for further processing.
The reference manuals (Timer, Analog, etc.) shows what all is possible, but not how to. The PDL 2.1.0 has some examples which doesn't cover those, a lot of software triggered stuff - for my knowledge not really usefull. Further, the documentation mentions some examples which doesn't exist, e.g. from FM4 Peripheral Driver Library
chapter 7.2.3ADC Examples adc_bt, adc_dma, adc_irq, adc_mft, ...
So, are there any up-to-date examples using the PDL useable here? How to test proper configuration with combining MFT, ADC via e.g. testing ISR etc? How to get samples in a fast manner without iterate over all scanned channels? (As I understood, the Adc_ReadScanFifo() reads out the fifo and I have to dispatch the u32 data, even emptying/iterating the fifo to get a specific scanned channel).
Attached my (non working) work-in-progress for these as IAR and eclipse (for editing) project, so other IDE like KEIL shouldn't have a problem.
Show LessHi
I need to program the micro MB9BF418TPMC with batch files, but I can't find anything that can help me, I didn't find any shell ..
Can you help me?
Thank you
Greetings
RT,SFDC里面CY9BF218SPMC-GK7E1是量产的状态,不过最新的停产通知好像已经发出来了,请帮忙确认下这颗料状态?如果停产,是否有可替换的料,不一定要P2P的,和218S功能资源一样的也行?
During serial programming of MB9BF568R the FLASH MCU programmer erase the working flash sector starting from 0x200C0000.
I've searched out for some FLASH MCU programmer setting, but nothing.
Is there a way to perform serial programming without erasing data flash memory?
Thanks
Mauro
Show LessHi,
The following is described about C pin.
Please provide us for C pin voltage.
Because we must consider the rating of the capacitor(Cs) we choose.
We confirmed the data sheet and TRM, but they were not discribed.
Regard,
Show LessPlease provide CY9BF104NAPMC-G-UNE1 datasheet.
Makoto Ida
Hi,
I have cytma568 touch controller. I need to use Adaptive frequency hopping feature properly. I just enable AFH_ENABLE register, but i guess it is not working as I want.
What else register should be changed to make it work properly? And how do I get feedback it's working frequency? I just want to be sure that when the noise comes, it will hop to another frequency band.
Any help would be appreciated.
Thank you.