An implantable medical device includes a pressure input, an excitation source, a detector module, and a processor. The pressure input is configured to be joined to a pressure sensor located proximate to a cardiac chamber of the heart. The pressure input receives pressure measurements representative of a pressure in the cardiac chamber. The excitation source is configured to deliver stimulation pulses to the heart. The detector module communicates with the pressure sensor to receive and compare the pressure measurements to a pressure threshold. The processor instructs the excitation source to deliver the stimulation pulses at a pressure-based rate based on the comparison of the pressure measurements to the pressure threshold.