if u are looking for super low Iq voltage regulator - I can recommend TLV701-series in SOT23-5 or even smaller the TPS715 devices in SC70 package Input voltage can be up to 24V. I use these in my battery powered designs for suppling the mcu in standbymode. The measured Iq is usually in the range of 1-2µA.
What is meant on the shipping note by ‘Upgraded device will be shipped as substitutions for out of stock items…. Etc’? Are these board to be replaced? Are the prototypes and my issues are known issues? Original text on packing-list: NOTE: Upgraded device will be shipped as substitutions for out of stock items. This just means that they will probably 'upgrade' the µPC on the newly delivered board to a higher specced version (like more ram/flash) if the original PIC is out of stock. If u got it already...
Hi, I want to report back now - the updated chipdata-file is working fine (I removed the config option from code using only the updated chipdata-file). I just measured PWM-output and this also is working fine now. thanks again for your super-fast solution for this
Hi, I'm currently at home and can't check PWM with oscilloscope - but the LED is now flashing as expected. Will report back on monday after verifying the PWM-output. Thank you very much for figuring this out so quickly. Happy weekend :)
Hi, I compiled your code and problem remains - led flashing once per second and PWM is now 10kHz. ps: i verified the chip is working correct by using free version of mikroc pro with following code: project-settings: 18F47K42 and 16MHz) I'm just using the flashing led part and I get 4 blinks per second as expected. void main (){ OSCCON1 = 0x60; OSCCON3 = 0x00; OSCEN = 0x00; OSCFRQ = 0x05; OSCTUNE = 0x00; TRISA = 0x00; do { LATA = 0x30; VDelay_ms(125); LATA = 0x16; VDelay_ms(125); } while (1); }
Hi, I copy/pasted ur code and adjusted only chip to 18F47K42 and wait to 125 ms. got exact the same problem -> 25kHz(measured 24,51khz) and led flashing exactly once per second. Perhaps a problem within the chipdata-file? I'm programming the chip with PICkit3 and MPlabIPE4.15 btw: this is the PPStool-output I used and stripped to the needed parts: 'Generated by PIC PPS Tool for Great Cow Basic 'PPS Tool version: 0.0.5.11 'PinManager data: v1.55 ' 'Template comment at the start of the config file...
Hi, I copy/pasted ur code and adjusted only chip to 18F47K42 and wait to 125 ms. got exact the same problem -> 25kHz(measured 24,51khz) and led flashing exactly once per second. Perhaps a problem within the chipdata-file? btw: this is the PPStool-output I used and stripped to the needed parts: 'Generated by PIC PPS Tool for Great Cow Basic 'PPS Tool version: 0.0.5.11 'PinManager data: v1.55 ' 'Template comment at the start of the config file ' #startup InitPPS, 85 Sub InitPPS 'Module: CCP1 RC1PPS...
Hi and wow - what a quick reply :) as requested here is the ASM-file
Hi, I started to work on a new project including the 18F47K42. It seems like GCB is setting the wrong osc-settings on this mcu. Stripped down code below. The PWM-output is about 25kHz instead of 100kHz and the led-flashing is also about 4 times longer of what it needs to be. using latest available GCB 0.98.01 and chipfile from gcbasic/trunk/chipdata any help is highly appreciated #chip 18F47K42,16 #startup InitPPS, 85 Sub InitPPS UNLOCKPPS RC1PPS = 0x0009 LOCKPPS End Sub #define LED_GREEN PORTA.5...