Hi to all! I want to change the SMCLK clock frequency in TelosB. I know this freq is 1MHz, because it selects the DCOCLK frequency (4MHz) and divides by 4 (DIVSx bits). I've seen this file: http://openwsn.berkeley.edu/browser/tinyos-2.x/tos/chips/msp430/timer/Msp430ClockP.nc In line 83 it selects DIVSx bits to value 2 (divides by 4). My idea is to change the SMCLK freq to use the "Msp430Adc12ClientAutoRVGC" component at 4MHz (i.e. I'd have 1sec=4000000jiffies), by putting DIVSx=0 (divider=/1). But there is a problem: there are other components that use this clock, like Flash, UART, I2C... and with this new frequency they don't work correctly !! My question: Is there any form to change SMCLK to use the ADC12 converter at 4MHz, but without modify behaviour of rest of components?
Thanks!! ╔══════════════════════════════════════╗ ║ José A. Tarifa Galisteo ║ ║ Estudiante Ingeniería de Telecomunicación ║ Escuela Superior de Ingenieros - U. Sevilla ║ http://alumno.us.es/j/jostargal/ ╚══════════════════════════════════════╝
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
