Need to know capability of STM32L073RZ board for generating sinusoidal 12.5 MHz burst signal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-25 9:44 PM
Hi All ,
I want to generate the following specification of the burst signal from the STM32L073RZ board , need to know is that possible? Or else need your valuable suggestion whether it is possible from other STM32 boards?
Parameters | Values /Settings |
Waveform | Sine |
Offset | 0V |
Phase | 0 deg |
Amplitude | 2mV |
Frequency | 12.5MHz |
Burst Cycle # | 150 |
Trigger | External |
Load Impedance | 50 ohm |
- Labels:
-
STM32L0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-25 10:03 PM
Generaly not. But you can generate 12.5MHz squarewave and the filter out higher harmonics by low pass filter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-25 10:06 PM
Are you meaning ,do I need to integrate the LPF to convert the generated Square wave to Sinusoidal? Please confirm. Also , can the amplitude of 2mV be achieved and load impedance of 50 ohms?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-26 12:10 AM
It means only that you cannot generate 12.5MHz sine using embedded (and probably also external) DAC from L073. You can use multiple ways, like find some external DDS chip/module etc. And if your frequency is fixed, then probably some kind of active/passive first/second/third order LPF can be used. Depends on quality of sine you need. Amplitude of two mV into 50Ohm (only about 40uA) is probably OK with passive filters. But i am not an expert in "filter desing" - use simulator, or filter design calculator from AD, TI etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-26 12:40 AM
Can you please confirm the below DDS chip can able to satisfy the below specification of generating sinusoidal burst signal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-26 1:19 AM
I am not sure how that "burst" should look like ... few periods, few milions of periods ? How fast it has to stop, how fast it has to start ? It is triggered by some kind of external signal, or not etc. Probably consider also use of some kind of RF switch at DDS output as gate to better control of burst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-26 1:31 AM
Burst cycle they mentioned was "150". The below figure illustrates the connection.
Instead of function generator , I need to use the signal generator board like STM32 / DDS modules . Please guide me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-26 2:02 AM
Try to some prototyping. Generate 12.5MHz from your STM by timer or MCO. Design some passive filter which attenuates your signal to about 2mV, connect it to your oscilloscope (with 50R termination) and verify. If need, try to change parameters of your filter. If you are not satisfied with results try way with DDS (and possibly RF siwtch, if your selected DDS isnt able to "keying").
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-26 2:09 AM
It would require some clarification.
1. Is it necessary for the sine signal to start with a phase shift of 0 degrees?
2. Is the critical value 150 pulses?
3. What is the maximum acceptable value of the delay between the trigger pulse and the start of signal generation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-26 6:54 PM
Hi , Please find my in-line response.
1. Is it necessary for the sine signal to start with a phase shift of 0 degrees?
Yes , it is necessary for the sine signal to start with a phase of 0 deg.
2. Is the critical value 150 pulses?
Not critical.
3. What is the maximum acceptable value of the delay between the trigger pulse and the start of signal generation
Not sure about the delay between trigger pulse , will check and come back.
Also , I tried to generate a 8 MHz sine wave using DAC , DMA and timer of STM32 L073RZ board , the clock configuration for all the timer has been set to 32 MHz and prescalar and period have been set as "1" and samples kept as "100" , according to the formula for the signal frequency : 32 M / 1+1 = 8 MHz , but when I probe the PA4 pin in oscilloscope , I am getting only 40 KHz of sine wave . Could somebody point me , where I am wrong , below is the code generated.
