Thanks... No... The problem is not the joints. I try with another output capacitor (X7R 10uF), and now the oscillation is 3.4kHz. I try to put an input capacitor (10uF X7R) directly on the regulators pins : no effect...
Well, no problem, I remove the Grrr/!ยง% Torex regulator and I put a good TPS79933 TI regulator (same pinout) and now, all is OK with this good (fast and low noise) regulator !
Hello, I just discovered "Bus Pirate" and I think it's a good project. But ... reading the code I discover horrible "float" in two functions: void bpPWM (void) void bpWvolts (unsigned int a). The utisation to "float" is contrary to my religion (unless I have a gun to his head), so I can provide you with a few lines of code using integers to replace those horrible ineffective "float"...
Best regards, Jean-Louis Vern
1) In bpPWM #define FCY 16000000UL unsigned int PWM_pd; unsigned long PWM_freq_Hz; ... // no prescaler T2CONbits.TCKPS0=0; T2CONbits.TCKPS1=0; // PWM freq in Hz PWM_freq_Hz = __builtin_muluu( PWM_freq, 1000 ); // PWM period in cycles (rounded) PWM_period = (FCY + (PWM_freq_Hz/2)) / PWM_freq_Hz; // rounded duty cycle PWM_dutycycle = __builtin_divud( __builtin_muluu( PWM_period, PWM_pd)+50, 100);